/* Customer area (/account) */
.acc-wrap { display: flex; justify-content: center; padding: 48px 16px 72px; }
.acc-card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); padding: 32px 28px; }
.acc-card.is-wide { max-width: 760px; }
.acc-title { margin: 0 0 6px; font-size: 1.45rem; font-weight: 800; color: var(--ink); }
.acc-lead { margin: 0 0 22px; color: var(--muted); font-size: .95rem; line-height: 1.8; }
.acc-note { margin: -10px 0 20px; padding: 10px 14px; border-radius: 12px; background: var(--primary-soft); color: var(--text); font-size: .88rem; line-height: 1.9; }
.acc-field { margin-bottom: 16px; }
.acc-label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .92rem; color: var(--ink); }
.acc-input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--text); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.acc-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.acc-input.is-ltr { direction: ltr; text-align: left; }
.acc-input::placeholder { color: #a3afc0; }
.acc-code { direction: ltr; text-align: center; font-size: 1.6rem; letter-spacing: .5em; font-weight: 800; }
.acc-password { position: relative; }
.acc-password .acc-input { padding-right: 48px; }
.acc-eye { position: absolute; top: 0; bottom: 0; right: 6px; margin: auto; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.acc-eye:hover, .acc-eye.is-on { color: var(--primary); background: var(--primary-soft); }
.acc-hint { margin: -6px 0 16px; color: var(--muted); font-size: .84rem; }
.acc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -4px 0 16px; font-size: .9rem; flex-wrap: wrap; }
.acc-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.acc-check input { width: 18px; height: 18px; accent-color: var(--primary); }
.acc-foot { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: .92rem; }
.acc-alert { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; font-size: .92rem; line-height: 1.8; }
.acc-alert.is-danger { background: #fdecec; color: #a61b1b; border: 1px solid #f5c2c2; }
.acc-alert.is-success { background: #e9f8ef; color: #186b3a; border: 1px solid #bfe8cf; }
.acc-alert.is-info { background: var(--primary-soft); color: var(--primary-dark); border: 1px solid #c9dafc; }
.acc-resend { margin-top: 18px; text-align: center; color: var(--muted); font-size: .92rem; }
.acc-countdown { color: var(--ink); font-variant-numeric: tabular-nums; }
.acc-link-button { border: 0; background: none; padding: 4px 8px; color: var(--primary); font: inherit; font-weight: 700; cursor: pointer; }
.acc-link-button:hover { text-decoration: underline; }
.acc-link-button:disabled { opacity: .5; cursor: progress; }
.acc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.acc-empty { margin-top: 12px; padding: 22px; border: 1px dashed var(--border); border-radius: 14px; background: var(--bg); color: var(--muted); line-height: 2; }
.acc-empty p { margin: 0; }
.acc-card .btn-block { justify-content: center; }
.acc-card .btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
@media (max-width: 480px) { .acc-wrap { padding: 24px 12px 48px; } .acc-card { padding: 24px 18px; border-radius: 16px; } }

/* Human check (same markup as the admin login; assets/admin/captcha.js) */
.up-robot { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); direction: rtl; }
.up-robot-box { position: relative; flex: none; width: 30px; height: 30px; padding: 0; border: 2px solid #9aa0ac; border-radius: 7px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.up-robot-box:hover { border-color: var(--primary); }
.up-robot-box:focus-visible { outline: 3px solid var(--primary-soft); outline-offset: 2px; }
.up-robot-text { flex: 1; display: flex; flex-direction: column; line-height: 1.5; }
.up-robot-label { font-weight: 700; }
.up-robot-status { font-size: .82rem; color: var(--muted); }
.up-robot-status:empty { display: none; }
.up-robot-mark { flex: none; width: 28px; height: 28px; color: var(--muted); opacity: .7; }
.up-robot-spinner, .up-robot-check { position: absolute; inset: 0; margin: auto; display: none; }
.up-robot-spinner { width: 20px; height: 20px; border: 3px solid var(--primary-soft); border-top-color: var(--primary); border-radius: 50%; animation: up-robot-spin .7s linear infinite; }
.up-robot-check { width: 22px; height: 22px; color: #fff; }
.up-robot.is-working .up-robot-box { border-color: transparent; background: transparent; cursor: progress; }
.up-robot.is-working .up-robot-spinner { display: block; }
.up-robot.is-ok .up-robot-box { border-color: #1f9254; background: #1f9254; cursor: default; }
.up-robot.is-ok .up-robot-check { display: block; }
.up-robot.is-ok .up-robot-status { color: #1f9254; }
.up-robot.is-error .up-robot-box { border-color: #c62828; }
.up-robot.is-error .up-robot-status { color: #c62828; }
@keyframes up-robot-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .up-robot-spinner { animation-duration: 2s; } }
.up-captcha { direction: ltr; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.up-captcha-stage { position: relative; aspect-ratio: 2 / 1; border-radius: 12px; overflow: hidden; background: var(--bg); }
.up-captcha-bg { display: block; width: 100%; height: 100%; }
.up-captcha-piece { position: absolute; left: 0; width: 18.125%; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); pointer-events: none; }
.up-captcha-bg:not([src]), .up-captcha-piece:not([src]) { visibility: hidden; }
.up-captcha-refresh { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; padding: 6px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; cursor: pointer; }
.up-captcha-refresh svg { width: 100%; height: 100%; display: block; }
.up-captcha-msg { position: absolute; inset: auto 0 0; padding: 6px 10px; font-size: .875rem; text-align: center; color: #fff; direction: rtl; opacity: 0; transition: opacity .2s; }
.up-captcha.is-ok .up-captcha-msg { opacity: 1; background: rgba(22, 163, 74, .88); }
.up-captcha.is-error .up-captcha-msg, .up-captcha.is-failed .up-captcha-msg { opacity: 1; background: rgba(214, 57, 57, .88); }
.up-captcha-track { position: relative; height: 48px; margin-top: 8px; border-radius: 24px; background: var(--bg); border: 1px solid var(--border); overflow: hidden; touch-action: none; }
.up-captcha-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--primary-soft); }
.up-captcha-hint { position: absolute; inset: 0 12px 0 56px; display: flex; align-items: center; justify-content: center; font-size: .8125rem; color: var(--muted); direction: rtl; pointer-events: none; transition: opacity .15s; }
.up-captcha.is-moving .up-captcha-hint, .up-captcha.is-ok .up-captcha-hint { opacity: 0; }
.up-captcha-handle { position: absolute; top: 3px; left: 3px; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--primary); color: #fff; cursor: grab; touch-action: none; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.up-captcha-handle:focus-visible { outline: 3px solid var(--primary-soft); outline-offset: 2px; }
.up-captcha-handle svg { width: 100%; height: 100%; display: block; }
.up-captcha.is-moving .up-captcha-handle { cursor: grabbing; }
.up-captcha.is-ok .up-captcha-handle { background: #1f9254; }
.up-captcha.is-ok .up-captcha-fill { background: #e9f8ef; }
.up-captcha.is-failed .up-captcha-handle { background: #c62828; }
.up-captcha.is-failed .up-captcha-track { animation: up-captcha-shake .4s; }
.up-captcha.is-busy .up-captcha-handle { opacity: .6; pointer-events: none; }
.up-captcha.is-settling .up-captcha-piece, .up-captcha.is-settling .up-captcha-handle, .up-captcha.is-settling .up-captcha-fill { transition: left .3s, width .3s; }
@keyframes up-captcha-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .up-captcha.is-failed .up-captcha-track { animation: none; } }
/* /support: a wider card for questions before buying; the trap field stays out of sight. */
.acc-card-wide { max-width: 760px; }
.acc-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
