/* Sponsar — پەڕەکانی چوونەژوورەوە (تاریک) · 2026-11-03
 * login.php · register.php · forgot.php · verify_email.php
 * سەربەخۆیە لە sp.css؛ تەنها ئەم پەڕانە بەکاری دەهێنن. */
@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@400;600;700;800&display=swap');

:root {
    --bg: #000000;
    --panel: #0f0f0f;
    --field: #131313;
    --line: #262318;
    --text: #f5f5f5;
    --muted: #a3a3a3;
    --gold: #f2c14e;
    --gold2: #d6982a;
    --blue: #f2c14e;
    --ok: #34d399;
    --err: #f87171;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; }
body.auth {
    font-family: 'Noto Kufi Arabic', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex; align-items: flex-start; justify-content: center;
    padding: max(28px, env(safe-area-inset-top)) 18px 40px;
    position: relative; overflow-x: hidden;
}
/* نەرمە ڕووناکییەکی زێڕین و شین لە پشتەوە */
body.auth::before, body.auth::after {
    content: ''; position: fixed; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(70px);
}
body.auth::before { width: 340px; height: 340px; top: -120px; right: -110px; background: rgba(242,193,78,.16); }
body.auth::after  { width: 360px; height: 360px; bottom: -150px; left: -140px; background: rgba(242,193,78,.14); }

.auth-wrap { position: relative; z-index: 1; width: 100%; max-width: 410px; }
.auth-top { display: flex; justify-content: center; margin-bottom: 22px; }
.auth-lang { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.auth-lang a { padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--muted); text-decoration: none; }
.auth-lang a.on { background: #1d1d1d; color: var(--text); }

.auth-logo { display: block; width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 26px;
    box-shadow: 0 0 0 1px rgba(242,193,78,.25), 0 14px 40px rgba(242,193,78,.18); animation: authPop .6s cubic-bezier(.2,.9,.3,1.2) both; }
.auth-h { text-align: center; font-size: 23px; font-weight: 800; margin: 0 0 6px; animation: authUp .5s .05s both; }
.auth-sub { text-align: center; font-size: 13px; color: var(--muted); margin: 0 0 26px; line-height: 1.8; animation: authUp .5s .1s both; }

.auth-card { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 20px 18px; animation: authUp .5s .15s both; }
.auth-field { margin-bottom: 14px; }
.auth-label { display: block; font-size: 12.5px; font-weight: 700; color: #d4d4d4; margin: 0 4px 7px; }
.auth-input { position: relative; }
.auth-input i { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: 15px; color: #6b6b6b; font-size: 14px; pointer-events: none; }
.auth-input input {
    width: 100%; height: 52px; border-radius: 16px; border: 1px solid var(--line); background: var(--field);
    color: var(--text); font: inherit; font-size: 14px; padding: 0 16px; padding-inline-start: 42px; outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.auth-input input[dir="ltr"] { padding-left: 16px; padding-right: 42px; }
.auth-input input::placeholder { color: #6b6b6b; }
/* بانەری «ئەپی سپۆنسەر دابەزێنە» ی pwa.js لە سەرەوە — ناوەڕۆک دەچێتە خوارەوە */
body.has-sp-banner .auth-wrap { margin-top: 66px; transition: margin .25s; }
.auth-input input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,193,78,.15); }
.auth-input .eye { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-end: 8px; background: none; border: 0; color: #8a8a8a; font-size: 14px; padding: 10px; cursor: pointer; }
.auth-hint { font-size: 11px; color: #8a8a8a; margin: 6px 4px 0; line-height: 1.7; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 2px 18px; }
.auth-check { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #d4d4d4; cursor: pointer; user-select: none; }
.auth-check input { width: 18px; height: 18px; accent-color: var(--gold); }
.auth-link { color: var(--gold); font-weight: 700; font-size: 12.5px; text-decoration: none; }
.auth-link:hover { text-decoration: underline; }

.auth-btn {
    width: 100%; height: 54px; border: 0; border-radius: 17px; cursor: pointer; font: inherit; font-size: 15px; font-weight: 800;
    color: #1a1204; background: linear-gradient(180deg, var(--gold) 0%, var(--gold2) 100%);
    box-shadow: 0 10px 26px rgba(214,152,42,.28), inset 0 1px 0 rgba(255,255,255,.35);
    display: flex; align-items: center; justify-content: center; gap: 10px; transition: transform .12s, filter .12s;
}
.auth-btn:active { transform: scale(.98); }
.auth-btn[disabled] { filter: grayscale(.6) brightness(.7); cursor: default; }
.auth-btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; height: 50px; font-size: 14px; }

.auth-foot { text-align: center; margin-top: 22px; font-size: 13px; color: var(--muted); }
.auth-foot a { color: var(--gold); font-weight: 800; text-decoration: none; margin-inline-start: 4px; }

.auth-flash { border-radius: 14px; padding: 11px 14px; font-size: 13px; line-height: 1.7; margin-bottom: 14px; border: 1px solid; }
.auth-flash.error   { background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.35); color: #fecaca; }
.auth-flash.success { background: rgba(52,211,153,.08); border-color: rgba(52,211,153,.35); color: #bbf7d0; }
.auth-flash.info    { background: rgba(242,193,78,.10); border-color: rgba(242,193,78,.35); color: #fde68a; }

/* کۆدی ٦ ژمارەیی */
.auth-code { display: flex; gap: 8px; justify-content: center; direction: ltr; margin: 4px 0 16px; }
.auth-code input {
    width: 46px; height: 56px; text-align: center; font-size: 22px; font-weight: 800; color: var(--text);
    border-radius: 14px; border: 1px solid var(--line); background: var(--field); outline: none; font-family: inherit;
}
.auth-code input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,193,78,.15); }
.auth-email { display: block; direction: ltr; unicode-bidi: isolate; text-align: center; font-weight: 800; color: var(--text); margin: 2px 0 18px; word-break: break-all; }
.auth-badge { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: var(--gold); background: rgba(242,193,78,.1); border: 1px solid rgba(242,193,78,.25); animation: authPop .6s both; }
.auth-sep { height: 1px; background: var(--line); margin: 18px 0; }
details.auth-more summary { cursor: pointer; color: var(--gold); font-size: 13px; font-weight: 700; list-style: none; text-align: center; }
details.auth-more summary::-webkit-details-marker { display: none; }

@keyframes authUp  { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes authPop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
