/* ================================================================
   PRIME SMS — UNAUTHENTICATED SHELL
   Sign-in and error screens. Shares every token with the app, so
   the two can never drift apart.
================================================================ */

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-6);
    /* A single soft brand wash keeps the page from reading as a blank
       grey slab without introducing a second accent colour. */
    background:
        radial-gradient(60rem 40rem at 50% -10%, var(--brand-50), transparent 70%),
        var(--bg);
}

.auth-wrap { width: 100%; max-width: 400px; }

.auth-brand { text-align: center; margin-bottom: var(--sp-8); }
.auth-mark {
    width: 48px; height: 48px;
    background: var(--primary);
    border-radius: var(--r-xl);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 21px; color: #fff;
    margin-bottom: var(--sp-4);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.30);
}
.auth-brand h1 { font-size: var(--fs-h2); margin-bottom: var(--sp-1); }
.auth-brand p  { font-size: var(--fs-body); color: var(--tx-3); }

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: var(--sp-8) var(--sp-6);
    box-shadow: var(--sh-md);
}

.auth-footer {
    text-align: center;
    margin-top: var(--sp-6);
    font-size: var(--fs-sm);
    color: var(--tx-3);
}

/* ── ERROR SCREENS ──────────────────────────────────────────── */
.error-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-6);
    background: var(--bg);
}
.error-wrap { text-align: center; max-width: 420px; }
.error-code {
    font-size: 4.5rem;
    font-weight: var(--fw-bold);
    line-height: 1;
    letter-spacing: var(--ls-h1);
    color: var(--border-strong);
    margin-bottom: var(--sp-4);
}
.error-wrap h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-2); }
.error-wrap p  {
    font-size: var(--fs-body);
    color: var(--tx-3);
    line-height: var(--lh-body);
    margin-bottom: var(--sp-6);
}
