/* YPAY – מחשבון הפקדה לפנסיה. כל המחלקות עם קידומת ypc- כדי לא להתנגש ב-Bootstrap/base.css של האתר */
.ypc{--purple:#6B39BE;--purple-d:#4E2596;--purple-soft:#F1EAFB;--green:#1FA866;--green-soft:#E3F6EC;
  --bg:#F7F4FC;--card:#FFFFFF;--fg:#1E1530;--muted:#6A6180;--line:#E6DEF4;--warn:#B26A00;--warn-soft:#FFF3DF;
  font-family:'Heebo',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;font-size:16px;line-height:1.55;color:var(--fg);background:var(--bg);
  border-radius:22px;overflow:hidden;max-width:1080px;margin:0 auto;box-sizing:border-box;direction:rtl;text-align:right}
.ypc *,.ypc *::before,.ypc *::after{box-sizing:border-box}
.ypc-section{padding:40px 16px 60px}
.ypc .ypc-hero{background:linear-gradient(120deg,var(--purple-d) 0%,var(--purple) 55%,#8A4FE0 80%,var(--green) 140%);color:#fff;padding:28px 24px 34px;position:relative;overflow:hidden}
.ypc .ypc-hero::after{content:"";position:absolute;inset:auto -60px -80px auto;width:220px;height:220px;border-radius:50%;background:rgba(31,168,102,.35)}
.ypc .ypc-logo{height:34px;width:auto;display:block;margin-bottom:14px}
.ypc .ypc-hero h1{font-family:inherit;font-size:30px;font-weight:800;line-height:1.25;margin:0 0 6px;color:#fff;text-wrap:balance;position:relative;z-index:1}
.ypc .ypc-lead{margin:0;color:rgba(255,255,255,.88);max-width:62ch;position:relative;z-index:1}
.ypc .ypc-body{padding:0 16px 24px;margin-top:-18px;position:relative;z-index:2}
.ypc .ypc-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:18px;align-items:start}
@media (max-width:820px){.ypc .ypc-grid{grid-template-columns:1fr}}
.ypc .ypc-card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 6px 24px rgba(78,37,150,.08)}
.ypc .ypc-card h2{font-family:inherit;font-size:19px;font-weight:700;line-height:1.3;margin:0 0 14px;color:var(--purple-d)}
.ypc .ypc-field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.ypc .ypc-field label{font-weight:600;font-size:15px;margin:0;color:var(--fg)}
.ypc .ypc-hint{font-size:13px;color:var(--muted);font-weight:400}
.ypc input[type=text],.ypc select{font:inherit;font-size:17px;height:auto;padding:11px 13px;border:1.5px solid var(--line);border-radius:12px;background:#FBF9FE;color:var(--fg);width:100%;font-variant-numeric:tabular-nums;transition:border-color .15s;direction:rtl;text-align:right}
.ypc input[type=text]:focus,.ypc select:focus{border-color:var(--purple);outline:3px solid rgba(107,57,190,.18);outline-offset:0}
.ypc .ypc-check{display:flex;gap:10px;align-items:flex-start;margin-bottom:16px}
.ypc .ypc-check input{width:20px;height:20px;margin-top:3px;flex:none;accent-color:var(--purple)}
.ypc .ypc-check label{margin:0}
.ypc details{border-top:1px solid var(--line);padding-top:14px;margin-top:4px}
.ypc summary{cursor:pointer;font-weight:700;color:var(--purple);margin-bottom:12px;display:list-item}
.ypc .ypc-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:8px}
.ypc .ypc-tile{border-radius:16px;padding:18px 16px;border:1.5px solid var(--line);background:#fff}
.ypc .ypc-tile.ypc-tmin{border-color:#F3C98B;background:#FFF8EC}
.ypc .ypc-tile.ypc-tmax{border:0;background:linear-gradient(135deg,var(--purple) 0%,var(--purple-d) 100%);color:#fff}
.ypc .ypc-tmax .ypc-ts{color:rgba(255,255,255,.88)}
.ypc .ypc-basis{font-size:13px;color:var(--muted);margin:0 2px 14px}
.ypc .ypc-tl{font-size:14px;font-weight:700;color:var(--muted)}
.ypc .ypc-tmin .ypc-tl{color:#9A5B00} .ypc .ypc-tmax .ypc-tl{color:#fff}
.ypc .ypc-tn{white-space:nowrap;font-size:clamp(24px,6.5vw,34px);font-weight:800;font-variant-numeric:tabular-nums;line-height:1.2;margin:2px 0}
.ypc .ypc-ts{font-size:13px;color:var(--muted)}
.ypc .ypc-tk{display:inline-block;font-size:14px;font-weight:800;border-radius:999px;padding:3px 12px;margin-top:8px}
.ypc .ypc-tmin .ypc-tk{background:#F3C98B;color:#6B3F00}
.ypc .ypc-tmax .ypc-tk{background:var(--green);color:#fff}
.ypc .ypc-tile .ypc-tk.ypc-done{background:var(--green-soft);color:#13824C}
.ypc .ypc-tk:not([hidden])+.ypc-tn{font-size:clamp(30px,8vw,42px)}
.ypc .ypc-row.ypc-left{background:var(--purple-soft);border-radius:10px;padding:10px 12px;border-bottom:0;margin:4px 0}
.ypc .ypc-row.ypc-left .ypc-k,.ypc .ypc-row.ypc-left .ypc-v{color:var(--purple-d);font-weight:800}
@media (max-width:380px){.ypc .ypc-tiles{grid-template-columns:1fr}}
.ypc .ypc-pill{display:inline-block;font-size:13px;font-weight:700;border-radius:999px;padding:3px 10px;margin-inline-start:6px}
.ypc .ypc-pill.ypc-good{background:var(--green-soft);color:#13824C}
.ypc .ypc-pill.ypc-warn{background:var(--warn-soft);color:var(--warn)}
.ypc .ypc-rows{display:grid}
.ypc .ypc-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line)}
.ypc .ypc-row:last-child{border-bottom:0}
.ypc .ypc-row .ypc-k{color:var(--muted)}
.ypc .ypc-row .ypc-v{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.ypc .ypc-row.ypc-total{background:var(--green-soft);border-radius:10px;padding:10px 12px;border-bottom:0;margin:4px 0}
.ypc .ypc-row.ypc-total .ypc-k,.ypc .ypc-row.ypc-total .ypc-v{color:#13824C;font-weight:800}
.ypc .ypc-note{background:var(--warn-soft);border-radius:12px;padding:12px 14px;font-size:14px;margin-top:14px}
.ypc .ypc-explain{margin-top:14px;font-size:15px}
.ypc .ypc-explain p{margin:0 0 8px}
.ypc .ypc-info{margin-top:18px;border-top:5px solid var(--green)}
.ypc .ypc-info p{margin:0 0 10px;max-width:75ch}
.ypc .ypc-info p:last-child{margin-bottom:0}
.ypc .ypc-info strong{color:var(--purple-d)}
.ypc .ypc-disclaimer{margin-top:18px;font-size:13px;color:var(--muted);max-width:80ch;padding:0 4px}
.ypc .ypc-how{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}
.ypc .ypc-how ol{margin:10px 0 0;padding-inline-start:22px;padding-right:22px;display:flex;flex-direction:column;gap:8px;font-size:14px;list-style:decimal}
.ypc .ypc-how li{display:list-item}
.ypc .ypc-how li::marker{color:var(--purple);font-weight:700}
.ypc .ypc-how .ypc-f{display:block;direction:ltr;text-align:right;font-variant-numeric:tabular-nums;color:var(--muted);margin-top:2px;overflow-wrap:anywhere}
.ypc .ypc-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.ypc .ypc-go{font:inherit;font-weight:700;font-size:16px;padding:10px 26px;border-radius:12px;border:0;background:var(--green);color:#fff;cursor:pointer;box-shadow:0 4px 12px rgba(31,168,102,.3)}
.ypc .ypc-go:hover{filter:brightness(1.06)}
.ypc .ypc-reset{font:inherit;font-weight:500;font-size:15px;padding:10px 16px;border-radius:12px;border:1.5px solid var(--purple);background:transparent;color:var(--purple);cursor:pointer}
.ypc .ypc-reset:hover{background:var(--purple-soft)}
.ypc button:focus-visible{outline:3px solid rgba(107,57,190,.35);outline-offset:2px}
.ypc [hidden]{display:none !important}
