/* ── Auth page shell ─────────────────────────── */
.auth-page {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: radial-gradient(ellipse at 60% 0%, #15242c 0%, #070d11 55%);
}

/* ── Card ────────────────────────────────────── */
.auth-box {
    width: 100%;
    max-width: 440px;
    background: #0d1820;
    border: 1px solid #1f3140;
    border-radius: 16px;
    padding: 44px 40px 36px;
    box-shadow: 0 32px 80px #000c;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* logo mark */
.auth-logo {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}
.auth-logo span { color: var(--gold); }

.auth-tagline {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 32px;
}

.auth-box h1 {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 4px;
    line-height: 1.2;
}
.auth-box .subtitle {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 28px;
}

/* ── Form fields ─────────────────────────────── */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.field label {
    font-size: 11px;
    font-weight: 700;
    color: #8fa0aa;
    text-transform: uppercase;
    letter-spacing: .6px;
}
.field input {
    background: #0b161e;
    border: 1px solid #243240;
    color: #fff;
    border-radius: 9px;
    padding: 13px 14px;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    width: 100%;
}
.field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px #f5bd3218;
}
.field input::placeholder { color: #445a68; }

.field-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.field-row a {
    font-size: 12px;
    color: var(--gold);
    text-decoration: none;
    transition: opacity .2s;
}
.field-row a:hover { opacity: .75; }

/* ── Submit button ───────────────────────────── */
.btn-submit {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffd65d, #e9aa20);
    color: #0a0d0f;
    font-size: 15px;
    font-weight: 900;
    border: none;
    cursor: pointer;
    letter-spacing: .4px;
    transition: filter .2s, transform .1s;
    margin-top: 4px;
}
.btn-submit:hover { filter: brightness(1.08); }
.btn-submit:active { transform: scale(.98); }

/* ── Divider ─────────────────────────────────── */
.or-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    font-size: 11px;
    color: #3d5262;
}
.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #1d2f3c;
}

/* ── Footer text ─────────────────────────────── */
.auth-footer-text {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin-top: 20px;
}
.auth-footer-text a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
}
.auth-footer-text a:hover { text-decoration: underline; }

/* ── Error / success notice ──────────────────── */
.notice {
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
}
.notice.error   { background: #2a0e0e; border: 1px solid #6b1a1a; color: #f87171; display: block; }
.notice.success { background: #0a2018; border: 1px solid #1a6b3a; color: #4ade80; display: block; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 500px) {
    .auth-box { padding: 32px 22px 28px; }
}