:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body.auth-page {
    align-items: center;
    background: radial-gradient(circle at 15% 10%, #dbeafe 0, transparent 32rem), linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: #172033;
    display: flex;
    justify-content: center;
    margin: 0;
    min-height: 100vh;
    padding: 24px;
}

.auth-card {
    background: rgb(255 255 255 / 94%);
    border: 1px solid rgb(203 213 225 / 80%);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgb(15 23 42 / 15%);
    max-width: 430px;
    padding: 38px;
    width: 100%;
}

.auth-brand { align-items: center; display: flex; gap: 12px; margin-bottom: 26px; }
.auth-mark { align-items: center; background: #2563eb; border-radius: 10px; color: #fff; display: flex; font-size: 20px; font-weight: 800; height: 40px; justify-content: center; width: 40px; }
.auth-brand strong { display: block; font-size: 18px; letter-spacing: -.02em; }
.auth-brand span { color: #64748b; display: block; font-size: 13px; margin-top: 2px; }
.auth-card h1 { font-size: 26px; letter-spacing: -.04em; margin: 0 0 8px; }
.auth-description { color: #64748b; line-height: 1.55; margin: 0 0 24px; }
.auth-field { margin-top: 18px; }
.auth-field label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 7px; }
.auth-field input { background: #fff; border: 1px solid #cbd5e1; border-radius: 9px; color: #172033; font: inherit; min-height: 46px; outline: none; padding: 11px 12px; transition: border-color .15s, box-shadow .15s; width: 100%; }
.auth-field input:focus { border-color: #2563eb; box-shadow: 0 0 0 4px rgb(37 99 235 / 14%); }
.auth-button { background: #2563eb; border: 0; border-radius: 9px; color: #fff; cursor: pointer; font: inherit; font-weight: 650; margin-top: 26px; min-height: 46px; transition: background .15s, transform .15s; width: 100%; }
.auth-button:hover { background: #1d4ed8; }
.auth-button:active { transform: translateY(1px); }
.auth-alert { border-radius: 9px; font-size: 14px; line-height: 1.45; margin: 18px 0; padding: 12px 13px; }
.auth-alert--error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.auth-alert--success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.auth-footer { color: #64748b; font-size: 14px; margin: 24px 0 0; text-align: center; }
.auth-footer a { color: #1d4ed8; font-weight: 650; text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }

@media (max-width: 480px) {
    body.auth-page { padding: 14px; }
    .auth-card { border-radius: 16px; padding: 28px 22px; }
}
