/**
 * DijiPay v2.0 — Unified Stylesheet
 * Variables → Reset → Typography → Layout → Components → Animations
 */

/* ═══════════════════════════════════════════════════════
   1. CSS VARIABLES
   ═══════════════════════════════════════════════════════ */
:root {
    /* ── Brand palette ── */
    --primary:        #4338ca;
    --primary-dark:   #3730a3;
    --primary-light:  #818cf8;
    --primary-bg:     #eef2ff;
    --primary-glow:   rgba(67,56,202,.22);
    --gradient:       linear-gradient(135deg, #0f0a2e 0%, #1e1b4b 35%, #4338ca 65%, #818cf8 100%);
    --gradient-card:  linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));

    /* ── Semantic ── */
    --success:    #059669;  --success-bg: #d1fae5;
    --error:      #dc2626;  --error-bg:   #fee2e2;
    --warning:    #d97706;  --warning-bg: #fef3c7;
    --info:       #0284c7;  --info-bg:    #e0f2fe;

    /* ── Neutrals ── */
    --text:       #0f0a2e;
    --text-2:     #4b4580;
    --text-3:     #9490b8;
    --text-inv:   #ffffff;
    --surface:    #ffffff;
    --surface-2:  #f8f7ff;
    --surface-3:  #f1f0f9;
    --border:     #e0e0f0;
    --border-2:   #d0d0e8;

    /* ── Sizing ── */
    --topbar-h:   56px;
    --bottomnav-h: 62px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --radius:     14px;
    --radius-lg:  20px;
    --radius-xl:  28px;

    /* ── Shadows ── */
    --shadow-sm:  0 2px 8px rgba(15,10,46,.06);
    --shadow-md:  0 8px 24px rgba(15,10,46,.10);
    --shadow-lg:  0 16px 48px rgba(15,10,46,.16);
    --shadow-glow:0 0 32px var(--primary-glow);

    /* ── Transitions ── */
    --ease:       cubic-bezier(.4, 0, .2, 1);
    --ease-bounce:cubic-bezier(.34, 1.56, .64, 1);
    --dur:        .25s;
    --dur-slow:   .4s;
}

/* ═══════════════════════════════════════════════════════
   2. RESET & BASE
   ═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    height: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}
body {
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--surface-2);
    direction: rtl;
    min-height: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    background: var(--surface);
    color: var(--text);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    width: 100%;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
img { max-width: 100%; display: block; }
::selection { background: var(--primary-light); color: #fff; }

/* ═══════════════════════════════════════════════════════
   3. TYPOGRAPHY
   ═══════════════════════════════════════════════════════ */
h1 { font-size: 26px; font-weight: 900; line-height: 1.3; }
h2 { font-size: 22px; font-weight: 800; line-height: 1.3; }
h3 { font-size: 18px; font-weight: 700; line-height: 1.4; }
h4 { font-size: 16px; font-weight: 700; }
.text-muted  { color: var(--text-3); }
.text-sm     { font-size: 13px; }
.text-xs     { font-size: 11px; }
.text-center { text-align: center; }
.text-success{ color: var(--success); }
.text-error  { color: var(--error); }
.mono        { font-family: 'IBM Plex Mono', monospace; letter-spacing: .03em; }

/* ═══════════════════════════════════════════════════════
   4. LAYOUT — SPA Shell
   ═══════════════════════════════════════════════════════ */
body.logged-in {
    padding-top: var(--topbar-h);
    padding-bottom: calc(var(--bottomnav-h) + var(--safe-bottom) + 8px);
}
body.guest {
    background: var(--gradient);
    background-attachment: fixed;
}

.content {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px 16px 24px;
    min-height: calc(100vh - var(--topbar-h) - var(--bottomnav-h) - 24px);
}
.content--guest {
    max-width: 460px;
    padding-top: 48px;
}

/* ═══════════════════════════════════════════════════════
   5. TOP BAR
   ═══════════════════════════════════════════════════════ */
.topbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--topbar-h);
    background: linear-gradient(135deg, #0f0a2e, #1e1b4b);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px;
    z-index: 900;
    box-shadow: 0 2px 16px rgba(0,0,0,.2);
}
.topbar__logo { height: 30px; }
.topbar__brand {
    font-size: 18px; font-weight: 900; color: #fff;
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.topbar__left { display: flex; align-items: center; gap: 14px; }
.topbar__balance {
    font-size: 15px; font-weight: 800; color: #fff;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 99px;
    padding: 5px 14px;
    font-family: 'IBM Plex Mono', monospace;
}
.topbar__notif {
    position: relative;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px;
    transition: background var(--dur) var(--ease);
}
.topbar__notif:active { background: rgba(255,255,255,.2); }
.topbar__badge {
    position: absolute; top: -2px; right: -2px;
    min-width: 18px; height: 18px;
    background: var(--error);
    border-radius: 99px;
    font-size: 10px; font-weight: 800;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
    border: 2px solid #1e1b4b;
}
.topbar__badge.hidden { display: none; }

/* ═══════════════════════════════════════════════════════
   6. BOTTOM NAVIGATION BAR
   ═══════════════════════════════════════════════════════ */
.bottomnav {
    position: fixed; bottom: 0; left: 0; right: 0;
    height: calc(var(--bottomnav-h) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    background: var(--surface);
    border-top: 1px solid var(--border);
    display: flex; align-items: stretch;
    z-index: 900;
    box-shadow: 0 -4px 20px rgba(15,10,46,.08);
}
.bottomnav__item {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 3px;
    color: var(--text-3);
    font-size: 10px; font-weight: 700;
    transition: color var(--dur) var(--ease);
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.bottomnav__item i {
    font-size: 22px;
    transition: transform var(--dur) var(--ease-bounce);
}
.bottomnav__item.active {
    color: var(--primary);
}
.bottomnav__item.active i {
    transform: scale(1.15);
}
.bottomnav__item.active::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 32px; height: 3px;
    background: var(--primary);
    border-radius: 0 0 6px 6px;
}
.bottomnav__avatar {
    width: 24px; height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}
.bottomnav__item.active .bottomnav__avatar {
    border-color: var(--primary);
}

/* ═══════════════════════════════════════════════════════
   7. PRELOADER
   ═══════════════════════════════════════════════════════ */
.preloader {
    position: fixed; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(248,247,255,.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease);
}
.preloader.active {
    opacity: 1; pointer-events: auto;
}
.preloader__spinner svg {
    width: 44px; height: 44px;
    animation: spin 1s linear infinite;
}
.preloader__spinner circle {
    stroke-dasharray: 80 200;
    stroke-dashoffset: 0;
    animation: dash 1.4s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash {
    0%   { stroke-dasharray: 1 200; stroke-dashoffset: 0; }
    50%  { stroke-dasharray: 80 200; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 80 200; stroke-dashoffset: -125; }
}

/* ═══════════════════════════════════════════════════════
   8. TOAST NOTIFICATION (728×90 max, centered top)
   ═══════════════════════════════════════════════════════ */
.toast-container {
    position: fixed;
    top: calc(var(--topbar-h) + 12px);
    left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 728px;
    padding: 0 12px;
    z-index: 10000;
    display: flex; flex-direction: column; gap: 8px;
    pointer-events: none;
}
.toast {
    display: flex; align-items: center; gap: 12px;
    max-height: 90px;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    border-right: 4px solid var(--primary);
    pointer-events: auto;
    animation: toastIn .4s var(--ease-bounce);
    overflow: hidden;
}
.toast--success { border-right-color: var(--success); }
.toast--error   { border-right-color: var(--error); }
.toast--warning { border-right-color: var(--warning); }
.toast--info    { border-right-color: var(--info); }

.toast__icon {
    width: 36px; height: 36px; min-width: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.toast--success .toast__icon { background: var(--success-bg); color: var(--success); }
.toast--error   .toast__icon { background: var(--error-bg);   color: var(--error); }
.toast--warning .toast__icon { background: var(--warning-bg); color: var(--warning); }
.toast--info    .toast__icon { background: var(--info-bg);    color: var(--info); }

.toast__text { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.4; }
.toast__close {
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-3); font-size: 16px;
    transition: background var(--dur) var(--ease);
}
.toast__close:hover { background: var(--surface-3); }

.toast.removing {
    animation: toastOut .3s var(--ease) forwards;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateY(-20px) scale(.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastOut {
    to { opacity: 0; transform: translateY(-20px) scale(.95); max-height: 0; padding: 0; margin: 0; }
}

/* ═══════════════════════════════════════════════════════
   9. PIN MODAL (Unified)
   ═══════════════════════════════════════════════════════ */
.pin-overlay {
    position: fixed; inset: 0;
    background: rgba(15,10,46,.6);
    backdrop-filter: blur(12px);
    z-index: 5000;
    display: flex; align-items: flex-end; justify-content: center;
    animation: fadeIn .2s var(--ease);
}
.pin-overlay[hidden] { display: none; }
.pin-modal {
    width: 100%; max-width: 400px;
    background: var(--surface);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 24px 24px calc(24px + var(--safe-bottom));
    animation: slideUp .35s var(--ease-bounce);
}
.pin-modal__header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px;
}
.pin-modal__header h3 { font-size: 18px; }
.pin-modal__close {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--surface-3);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-2); font-size: 16px;
}
.pin-modal__dots {
    display: flex; gap: 16px; justify-content: center;
    margin-bottom: 12px;
}
.pin-dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    border: 2px solid var(--border-2);
    transition: all .15s var(--ease);
}
.pin-dot.filled {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.15);
}
.pin-dot.error {
    background: var(--error);
    border-color: var(--error);
    animation: shake .4s var(--ease);
}
.pin-modal__error {
    text-align: center;
    color: var(--error);
    font-size: 13px; font-weight: 600;
    min-height: 20px;
    margin-bottom: 8px;
}
.pin-modal__keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 280px;
    margin: 0 auto;
}
.pin-key {
    height: 58px;
    border-radius: var(--radius);
    background: var(--surface-2);
    font-size: 22px; font-weight: 700;
    color: var(--text);
    display: flex; align-items: center; justify-content: center;
    transition: background .1s, transform .1s;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.pin-key:active {
    background: var(--primary-bg);
    transform: scale(.94);
}
.pin-key--del { font-size: 20px; color: var(--text-2); }
.pin-key--empty { visibility: hidden; }

/* ═══════════════════════════════════════════════════════
   10. CUSTOM DIALOG
   ═══════════════════════════════════════════════════════ */
.dialog-overlay {
    position: fixed; inset: 0;
    background: rgba(15,10,46,.55);
    backdrop-filter: blur(10px);
    z-index: 6000;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    animation: fadeIn .2s var(--ease);
}
.dialog-overlay[hidden] { display: none; }
.dialog-box {
    width: 100%; max-width: 380px;
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 32px 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: dialogIn .35s var(--ease-bounce);
}
.dialog-box__icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
}
.dialog-box__icon.success { background: var(--success-bg); color: var(--success); }
.dialog-box__icon.error   { background: var(--error-bg);   color: var(--error); }
.dialog-box__icon.warning { background: var(--warning-bg); color: var(--warning); }
.dialog-box__icon.info    { background: var(--info-bg);    color: var(--info); }

.dialog-box__title {
    font-size: 18px; font-weight: 800;
    margin-bottom: 8px;
}
.dialog-box__body {
    font-size: 14px; color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 24px;
}
.dialog-box__actions {
    display: flex; gap: 10px;
}
.dialog-box__actions .btn { flex: 1; }

@keyframes dialogIn {
    from { opacity: 0; transform: scale(.88) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ═══════════════════════════════════════════════════════
   11. BUTTONS
   ═══════════════════════════════════════════════════════ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 14px; font-weight: 700;
    transition: all var(--dur) var(--ease);
    white-space: nowrap;
    cursor: pointer;
    border: none;
}
.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px var(--primary-glow);
}
.btn--primary:hover { background: var(--primary-dark); }
.btn--primary:active { transform: scale(.97); }

.btn--outline {
    background: transparent;
    border: 1.5px solid var(--border-2);
    color: var(--text-2);
}
.btn--outline:hover { border-color: var(--primary-light); color: var(--primary); }

.btn--danger {
    background: var(--error);
    color: #fff;
}

.btn--ghost {
    background: var(--surface-3);
    color: var(--text-2);
}

.btn--block { width: 100%; }
.btn--lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius-lg); }
.btn--sm { padding: 8px 16px; font-size: 12px; }

.btn:disabled, .btn.loading {
    opacity: .55;
    cursor: not-allowed;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   12. CARDS & SECTIONS
   ═══════════════════════════════════════════════════════ */
.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}
.card--glass {
    background: var(--gradient-card);
    backdrop-filter: blur(16px);
    border-color: rgba(255,255,255,.12);
    color: #fff;
}
.card__header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
}
.card__title { font-size: 16px; font-weight: 700; }
.section-title {
    font-size: 16px; font-weight: 800;
    margin-bottom: 14px;
    display: flex; align-items: center; gap: 8px;
}

/* ═══════════════════════════════════════════════════════
   13. FORM GROUPS
   ═══════════════════════════════════════════════════════ */
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 13px; font-weight: 700; color: var(--text-2);
    margin-bottom: 6px;
}
.form-hint {
    font-size: 12px; color: var(--text-3);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════
   14. BALANCE HERO CARD
   ═══════════════════════════════════════════════════════ */
.balance-hero {
    background: var(--gradient);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}
.balance-hero::before {
    content: '';
    position: absolute; top: -60%; right: -30%;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
}
.balance-hero__label {
    font-size: 13px; color: rgba(255,255,255,.65);
    font-weight: 600; margin-bottom: 6px;
}
.balance-hero__amount {
    font-size: 32px; font-weight: 900;
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: -.02em;
}
.balance-hero__actions {
    display: flex; gap: 10px;
    margin-top: 18px;
}
.balance-hero__btn {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; gap: 6px;
    padding: 12px 8px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    font-size: 12px; font-weight: 700;
    transition: background var(--dur) var(--ease);
}
.balance-hero__btn:active { background: rgba(255,255,255,.2); }
.balance-hero__btn i { font-size: 20px; }

/* ═══════════════════════════════════════════════════════
   15. TABS
   ═══════════════════════════════════════════════════════ */
.tabs {
    display: flex; gap: 0;
    background: var(--surface-3);
    border-radius: var(--radius);
    padding: 4px;
    margin-bottom: 16px;
}
.tab {
    flex: 1;
    padding: 10px 0;
    text-align: center;
    font-size: 13px; font-weight: 700;
    color: var(--text-3);
    border-radius: calc(var(--radius) - 2px);
    transition: all var(--dur) var(--ease);
    cursor: pointer;
}
.tab.active {
    background: var(--surface);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* ═══════════════════════════════════════════════════════
   16. LISTS
   ═══════════════════════════════════════════════════════ */
.list-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--surface-3);
}
.list-item:last-child { border-bottom: none; }
.list-item__icon {
    width: 42px; height: 42px; min-width: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.list-item__body { flex: 1; min-width: 0; }
.list-item__title {
    font-size: 14px; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.list-item__sub {
    font-size: 12px; color: var(--text-3);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.list-item__end {
    text-align: left;
    font-size: 14px; font-weight: 700;
    white-space: nowrap;
}
.list-item__end.credit { color: var(--success); }
.list-item__end.debit  { color: var(--error); }

/* ═══════════════════════════════════════════════════════
   17. BADGE
   ═══════════════════════════════════════════════════════ */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 11px; font-weight: 700;
}
.badge--success { background: var(--success-bg); color: var(--success); }
.badge--error   { background: var(--error-bg);   color: var(--error); }
.badge--warning { background: var(--warning-bg); color: var(--warning); }
.badge--info    { background: var(--info-bg);     color: var(--info); }
.badge--neutral { background: var(--surface-3);   color: var(--text-3); }

/* ═══════════════════════════════════════════════════════
   18. EMPTY STATE
   ═══════════════════════════════════════════════════════ */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-3);
}
.empty-state i {
    font-size: 48px;
    opacity: .3;
    margin-bottom: 16px;
}
.empty-state p {
    font-size: 14px; font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   19. UTILITIES
   ═══════════════════════════════════════════════════════ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.p-0   { padding: 0; }
.hidden { display: none !important; }
.w-full { width: 100%; }

/* ═══════════════════════════════════════════════════════
   20. ANIMATIONS
   ═══════════════════════════════════════════════════════ */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: .5; }
}
.animate-fade { animation: fadeIn .4s var(--ease); }
.animate-slide { animation: slideUp .35s var(--ease-bounce); }

/* Page transition */
.content.loading > * {
    opacity: .4;
    transition: opacity .15s;
}

/* ═══════════════════════════════════════════════════════
   21. RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    .content { padding: 24px; }
    .bottomnav { display: none; }
    body.logged-in { padding-bottom: 0; }
}

/* ═══════════════════════════════════════════════════════
   22. SCROLLBAR
   ═══════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ═══════════════════════════════════════════════════════
   23. AUTH PAGES (login/register/forgot)
   ═══════════════════════════════════════════════════════ */
.auth-card {
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    box-shadow: 0 32px 80px rgba(0,0,0,.35);
    color: #fff;
}
.auth-card input {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.2);
    color: #fff;
}
.auth-card input::placeholder { color: rgba(255,255,255,.4); }
.auth-card input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(129,140,248,.25);
}
.auth-card label { color: rgba(255,255,255,.7); }
.auth-card .btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.auth-card a { color: var(--primary-light); font-weight: 600; }
.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}
.auth-logo img { height: 40px; margin: 0 auto 10px; }
.auth-logo h2 { font-size: 22px; font-weight: 900; }
