/* ==========================================================================
   האזור האישי - בסגנון "ספר פתוח" (משתמש באותם משתנים של style.css / site.css)
   ========================================================================== */
[hidden] { display: none !important; }
.who-chip { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink-blue); background: var(--sky-tint, #EAF2FA); border-radius: 999px; padding: 6px 14px; font-size: .92rem; }

/* כניסה: איור עמדת התאים לצד הטופס */
.ac-login { max-width: 1000px; margin: 36px auto 60px; padding: 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.ac-login-art { position: relative; text-align: center; }
.ac-login-art #lg-art { max-width: 400px; margin: 0 auto; }
.ac-art-cap { font-family: var(--font-head); color: var(--ink-blue); font-size: 1.15rem; margin-top: 4px; min-height: 1.6em; transition: opacity .3s; }
.ac-login-card .kick { font-weight: 800; color: var(--amber-text); font-size: .85rem; }
.ac-login-card h2 { font-size: 2rem; margin-top: 2px; }
.ac-login-card #lg-phone { font-size: 1.25rem; letter-spacing: 1px; text-align: center; padding: 14px; }
.ac-login-card .otp-boxes input { transition: transform .15s, border-color .15s, background .15s; }
.ac-login-card .otp-boxes input:not(:placeholder-shown), .ac-login-card .otp-boxes input.filled { border-color: var(--signal); background: #FFF8EC; transform: translateY(-2px); }
.ac-sec-note { text-align: center; margin-top: 14px; }
@media (max-width: 860px) {
  .ac-login { grid-template-columns: 1fr; gap: 6px; margin-top: 16px; }
  .ac-login-art #lg-art { max-width: 250px; }
  .ac-art-cap { font-size: 1rem; }
}

/* מבנה */
.ac-wrap { max-width: 1180px; margin: 0 auto; padding: 28px 20px 50px; }
.ac-hello { position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px;
  padding: 26px 28px 96px; border-radius: 26px; border: 1px solid var(--border); background: linear-gradient(180deg, #EAF2FA 0%, #F6F1E7 100%); }
.ac-hello.night { background: linear-gradient(180deg, #23405F 0%, #3B5876 60%, #E9E1D2 100%); }
.ac-hello.night h1, .ac-hello.night .sub { color: #FFFDF8; }
.ac-hello.night .kick { color: #FCE3B8; }
.ac-hello-text, .ac-hello > .btn { position: relative; z-index: 1; }
.ac-hello-art { position: absolute; inset: 0; }
.ac-hello-sky { position: absolute; top: 18px; inset-inline-start: 46%; width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle, #F4AA41 0 45%, #FCE3B8 46% 70%, transparent 71%); animation: dd-sun 8s ease-in-out infinite; }
.ac-hello.night .ac-hello-sky { background: radial-gradient(circle at 62% 40%, transparent 0 34%, #FFF6DE 35% 52%, transparent 53%); box-shadow: none; }
.ac-hello.night .ac-hello-sky::before, .ac-hello.night .ac-hello-sky::after { content: '✦'; position: absolute; color: #FCE3B8; font-size: 12px; animation: dd-blink 2.2s ease-in-out infinite; }
.ac-hello.night .ac-hello-sky::before { top: -4px; inset-inline-start: -60px; }
.ac-hello.night .ac-hello-sky::after { top: 30px; inset-inline-start: 90px; animation-delay: .9s; }
@media (max-width: 560px) { .ac-hello { padding: 20px 18px 86px; } .ac-hello-sky { inset-inline-start: 14px; top: 14px; width: 40px; height: 40px; } }
.ac-hello .kick { font-weight: 800; color: var(--amber-text); font-size: .88rem; }
.ac-hello h1 { font-family: var(--font-head); color: var(--ink-blue); font-size: 2.3rem; line-height: 1.15; }
.ac-hello .sub { color: var(--muted); }
.ac-hello .btn.cta { padding: 13px 26px; font-size: 1.05rem; }
.ac-grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }

/* תפריט */
.ac-menu { position: sticky; top: 90px; display: grid; gap: 6px; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 10px; }
.ac-menu button { display: flex; align-items: center; gap: 10px; text-align: right; font: 700 1rem var(--font-body); color: var(--text); background: none; border: 0; border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.ac-menu button span { display: inline-flex; gap: 10px; align-items: center; }
.ac-menu button:hover { background: var(--surface-2); color: var(--ink-blue); }
.ac-menu button.on { background: linear-gradient(160deg, #2A5E8C, #1D3B5C); color: #fff; }

.ac-panel { display: none; }
.ac-panel.on { display: block; animation: rise .35s ease; }
.ac-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.ac-head h2 { margin: 0; }

/* פריט ברשימה */
.ac-list { display: grid; gap: 12px; margin-top: 8px; }
.ac-item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--border); border-radius: 18px; background: #fff; }
.ac-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--sky-tint, #EAF2FA); color: var(--logo-blue); display: grid; place-items: center; }
.ac-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ac-title b { font-family: var(--font-head); color: var(--ink-blue); font-size: 1.12rem; }
.ac-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--text); margin-top: 4px; font-size: .94rem; }
.ac-meta span { display: inline-flex; align-items: center; gap: 5px; }
.ac-meta.small { color: var(--muted); font-size: .84rem; }
.ac-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ac-sum { font-family: var(--font-head); font-size: 1.45rem; color: var(--ink-blue); }
.ac-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.btn.sm { padding: 7px 14px; font-size: .9rem; }
.danger-txt { color: var(--danger) !important; }
.ac-empty { text-align: center; color: var(--muted); padding: 30px 16px; border: 2px dashed var(--border); border-radius: 18px; }

/* כרטיסי אשראי */
.ac-safe { margin: 4px 0 14px; }
.ac-cc { grid-template-columns: 120px 1fr auto; }
.ac-chip-card { height: 74px; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: linear-gradient(150deg, #5E7A96, #3D5873); font-size: .8rem; }
.ac-chip-card.def { background: linear-gradient(150deg, #2A5E8C, #1D3B5C); box-shadow: inset 0 -4px 0 var(--signal); }
.ac-chip-card b { font-size: 1.05rem; letter-spacing: 1px; text-align: left; }
.ac-card-add { margin-top: 16px; padding: 18px; border: 1px solid #C9D9EA; border-radius: 18px; background: #F3F7FB; }
.ac-card-add h3 { font-family: var(--font-head); color: var(--ink-blue); margin-bottom: 10px; }
.ac-card-add iframe { width: 100%; height: 300px; border: 1px solid var(--border); border-radius: 14px; background: #fff; display: block; }
.ac-check { display: flex; gap: 8px; align-items: center; margin: 12px 0 6px; font-weight: 600; }
.ac-check input { width: auto; }

/* תקנון חתום */
.ac-terms { border: 1px solid var(--border); border-radius: 18px; background: #fff; padding: 22px 24px; position: relative; user-select: text; }
.ac-terms + .ac-terms { margin-top: 16px; }
.ac-terms-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; border-bottom: 2px solid var(--amber-rule); padding-bottom: 10px; }
.ac-terms-head .kick { font-weight: 800; color: var(--amber-text); font-size: .82rem; }
.ac-terms-head h3 { font-family: var(--font-head); color: var(--ink-blue); font-size: 1.35rem; }
.ac-seal { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .85rem; color: var(--success); background: var(--success-tint); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.ac-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
.ac-facts div { background: var(--surface-2); border-radius: 12px; padding: 8px 12px; }
.ac-facts dt { font-size: .78rem; color: var(--muted); }
.ac-facts dd { font-weight: 700; color: var(--text); }
.ac-clauses { padding-inline-start: 22px; display: grid; gap: 10px; }
.ac-clauses b { color: var(--ink-blue); }
.ac-clauses p { color: var(--text); font-size: .94rem; }
.ac-sig { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--border); }
.ac-sig .lbl { display: block; font-weight: 800; color: var(--ink-blue); margin-bottom: 8px; }
.ac-sig img { max-width: 320px; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 6px; pointer-events: none; }
.ac-voice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; background: var(--amber-tint); color: var(--amber-text); border-radius: 14px; padding: 12px 14px; font-weight: 600; }
.ac-voice audio { width: 100%; max-width: 420px; }
.ac-hash { margin-top: 12px; font-size: .8rem; color: var(--muted); }
.ac-older { margin-top: 16px; }
.ac-older summary { cursor: pointer; font-weight: 700; color: var(--ink-blue); padding: 8px 0; }
/* הפרטים שלי */
.ac-ro { padding: 10px 12px; border: 1px dashed var(--border); border-radius: 10px; background: var(--surface-2); color: var(--muted); min-height: 44px; display: flex; align-items: center; }
.ac-phone-row { justify-content: space-between; gap: 10px; color: var(--text); font-weight: 700; }
.ac-phone-change { margin-top: 14px; padding: 16px; border: 1px solid #C9D9EA; border-radius: 16px; background: #F3F7FB; }
.ac-inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ac-inline input { flex: 1; min-width: 160px; }
.ac-delivery { border: 0; margin-top: 22px; padding: 0; }
.ac-delivery legend { font-family: var(--font-head); color: var(--ink-blue); font-size: 1.2rem; margin-bottom: 10px; }
.ac-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: #fff; margin-bottom: 8px; cursor: pointer; font-weight: 400; }
.ac-opt input { width: auto; margin-top: 4px; accent-color: var(--ink-blue); }
.ac-opt b { display: block; color: var(--ink-blue); }
.ac-opt small { color: var(--muted); }
.ac-opt:has(input:checked) { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(244,170,65,.25); }
.ac-opt.off { opacity: .55; cursor: not-allowed; }
.ac-address { margin-top: 6px; }
.ac-deliv-note { margin: 0 0 10px; }

.ac-receipt-view { background: #E9E2D4; padding: 16px; }
.ac-receipt-view img { display: block; width: 100%; max-width: 620px; margin: 0 auto; border-radius: 6px; box-shadow: 0 6px 20px rgba(29,59,92,.18); }

@media (max-width: 860px) {
  .ac-grid { grid-template-columns: 1fr; }
  .ac-menu { position: static; display: flex; overflow-x: auto; border-radius: 16px; }
  .ac-menu button { white-space: nowrap; padding: 10px 12px; }
  .ac-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ac-item, .ac-cc { grid-template-columns: 1fr; }
  .ac-ico { display: none; }
  .ac-side { flex-direction: row; justify-content: space-between; align-items: center; }
  .ac-hello h1 { font-size: 1.8rem; }
  .ac-terms { padding: 16px; }
  .site-nav .acts .who-chip { display: none; }
}

/* ---------- איורים ותנועה באזור האישי ---------- */
.ac-empty .dd { width: 190px; margin: 0 auto 6px; }
.ac-menu button span .ic { transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.ac-menu button:hover span .ic, .ac-menu button.on span .ic { transform: rotate(-10deg) scale(1.15); }
.ac-item { transition: transform .2s, box-shadow .2s, border-color .2s; }
.ac-item:hover { transform: translateY(-2px); border-color: #D9CBB2; box-shadow: 0 10px 24px rgba(29,59,92,.08); }
.ac-list .ac-item { animation: rise .45s cubic-bezier(.2,.8,.2,1) both; }
.ac-list .ac-item:nth-child(2) { animation-delay: .06s; } .ac-list .ac-item:nth-child(3) { animation-delay: .12s; }
.ac-list .ac-item:nth-child(4) { animation-delay: .18s; } .ac-list .ac-item:nth-child(n+5) { animation-delay: .24s; }
/* כרטיס אשראי: ברק עדין שעובר עליו */
.ac-chip-card { position: relative; overflow: hidden; }
.ac-chip-card::after { content: ''; position: absolute; inset: -40% auto -40% -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-18deg); animation: ac-shine 5s ease-in-out infinite; }
@keyframes ac-shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
/* חותמת "נעול" ננחתת על התקנון */
.ac-panel.on .ac-seal { animation: ac-stamp .7s cubic-bezier(.3,1.5,.5,1) .25s both; }
@keyframes ac-stamp { 0% { transform: scale(2.2) rotate(-14deg); opacity: 0; } 70% { transform: scale(.94) rotate(3deg); opacity: 1; } 100% { transform: scale(1) rotate(-3deg); } }
.ac-sig img { animation: rise .6s ease .3s both; }
@media (prefers-reduced-motion: reduce) {
  .ac-hello-sky, .ac-chip-card::after, .ac-panel.on .ac-seal, .ac-list .ac-item, .ac-sig img { animation: none !important; }
}
