.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #0e0617 0%, #1a0a2e 40%, #2d1057 70%, #0e0617 100%);
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}
.auth-page::before {
    content: '';
    position: fixed;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(109,40,217,.35) 0%, transparent 65%);
    border-radius: 50%; pointer-events: none;
}
.auth-page::after {
    content: '';
    position: fixed;
    bottom: -100px; left: -60px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(251,191,36,.12) 0%, transparent 65%);
    border-radius: 50%; pointer-events: none;
}

.auth-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    width: 100%; max-width: 440px;
    margin: 0 auto;
    position: relative; z-index: 1;
    box-shadow: 0 24px 64px rgba(0,0,0,.45);
}

/* Logo text in auth */
.auth-logo-text {
    display: block;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--p);
    letter-spacing: -.5px;
    margin-bottom: 24px;
    text-decoration: none;
}
.auth-logo-text span { color: var(--gold); }

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--p-light);
    color: var(--p);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.auth-title { font-size: 1.5rem; font-weight: 800; color: var(--text); margin: 0 0 5px; }
.auth-subtitle { font-size: .85rem; color: var(--muted); margin: 0 0 24px; }

/* Inputs with icons */
.input-icon-wrap { position: relative; margin-bottom: 14px; }
.input-icon-wrap .input-icon {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    color: var(--muted); font-size: 15px; pointer-events: none;
}
.input-icon-wrap .form-control { padding-left: 38px; }
.input-icon-wrap .pw-toggle {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--muted); cursor: pointer;
    padding: 0; font-size: 15px; line-height: 1;
}
.input-icon-wrap .pw-toggle:hover { color: var(--p); }

/* Submit button */
.btn-auth {
    width: 100%; background: var(--p); color: #fff; border: none;
    border-radius: var(--r-sm); padding: 13px; font-size: 15px; font-weight: 700;
    cursor: pointer; margin-top: 6px;
    transition: background var(--t), transform var(--t);
    font-family: inherit;
}
.btn-auth:hover { background: var(--p-dark); transform: translateY(-1px); }

/* Password strength */
.strength-row { display: flex; gap: 4px; margin: 6px 0 3px; }
.strength-bar { flex: 1; height: 3px; border-radius: 2px; background: var(--border); transition: background .3s; }
.strength-hint { font-size: .73rem; color: var(--muted); margin-bottom: 10px; }

/* OTP */
.otp-inputs { display: flex; gap: 8px; justify-content: center; margin: 16px 0 20px; }
.otp-input {
    width: 52px; height: 58px; text-align: center;
    font-size: 1.5rem; font-weight: 700;
    border: 2px solid var(--border); border-radius: 10px;
    color: var(--p); background: var(--bg); outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
    font-family: inherit;
}
.otp-input:focus { border-color: var(--p); box-shadow: 0 0 0 3px rgba(109,40,217,.1); }
.otp-input.filled { border-color: var(--p); background: var(--p-light); }

/* Footer link */
.auth-footer-text { text-align: center; font-size: .83rem; color: var(--muted); margin-top: 18px; }
.auth-footer-text a { color: var(--p); font-weight: 700; }
.auth-footer-text a:hover { text-decoration: underline; }

/* Trust row */
.auth-trust {
    display: flex; align-items: center; justify-content: center;
    gap: 18px; margin-top: 20px; padding-top: 16px;
    border-top: 1px solid var(--border);
}
.auth-trust-item { display: flex; align-items: center; gap: 5px; font-size: .72rem; color: var(--muted); }
.auth-trust-item i { color: var(--success); font-size: 13px; }

/* Resend */
.resend-text { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 10px; }
.resend-text a { color: var(--p); font-weight: 600; }

@media (max-width: 480px) {
    .auth-card { padding: 32px 20px; }
    .otp-input { width: 44px; height: 50px; font-size: 1.25rem; }
}
