:root {
    --auth-bg: #0b1020;
    --auth-card: rgba(10, 18, 38, 0.72);
    --auth-border: rgba(255, 255, 255, 0.14);
    --auth-text: #eef2ff;
    --auth-muted: #cbd5e1;
    --auth-primary: #d4af37;
    --auth-primary-2: #f59e0b;
    --auth-accent: #60a5fa;
}

body.auth-premium-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Tajawal", sans-serif;
    color: var(--auth-text);
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 22%),
        radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.18), transparent 24%),
        linear-gradient(135deg, #050816 0%, #0f172a 45%, #111827 100%);
    overflow-x: hidden;
}

.auth-premium-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.auth-premium-card {
    width: min(100%, 520px);
    border: 1px solid var(--auth-border);
    border-radius: 28px;
    background: var(--auth-card);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.42);
    padding: 28px 22px;
    position: relative;
    z-index: 2;
    animation: authFadeUp .7s ease;
}

.auth-brand-wrap { margin-bottom: 18px; }
.auth-brand {
    color: #fff;
    text-decoration: none;
    font-size: 1.55rem;
    font-weight: 800;
}
.auth-subtitle {
    color: var(--auth-muted);
    margin: 10px 0 0;
    line-height: 1.8;
}
.auth-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 6px;
}
.auth-lead {
    color: var(--auth-muted);
    margin-bottom: 22px;
}
.auth-label {
    color: #f8fafc;
    font-weight: 700;
    margin-bottom: 8px;
}
.auth-input-group {
    position: relative;
}
.auth-input-group .bi {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}
.auth-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    min-height: 54px;
    color: #fff;
    padding-right: 46px;
}
.auth-input::placeholder { color: #94a3b8; }
.auth-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 0 .25rem rgba(212, 175, 55, 0.12);
    color: #fff;
}
.auth-submit {
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    font-weight: 800;
    color: #111827;
    background: linear-gradient(135deg, var(--auth-primary), var(--auth-primary-2));
    box-shadow: 0 16px 34px rgba(245, 158, 11, 0.25);
}
.auth-submit:hover { filter: brightness(1.05); }
.auth-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    color: var(--auth-muted);
}
.auth-link,
.auth-switch a,
.auth-note a {
    color: #fcd34d;
    text-decoration: none;
    font-weight: 700;
}
.auth-switch,
.auth-note {
    color: var(--auth-muted);
    text-align: center;
}
.auth-orb {
    position: fixed;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    filter: blur(18px);
    opacity: .45;
}
.auth-orb-one {
    top: -90px;
    right: -70px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.85), transparent 65%);
}
.auth-orb-two {
    bottom: -120px;
    left: -60px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.8), transparent 65%);
}
.auth-helper-card {
    border-radius: 22px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    padding: 18px;
}
.otp-grid {
    display: grid;
    gap: 10px;
    direction: ltr;
}
.otp-input {
    padding: 0;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 800;
}

@keyframes authFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 420px) {
    .auth-premium-card { padding: 22px 16px; border-radius: 22px; }
    .otp-grid { gap: 8px; }
}
