:root {
    --sx-amber: #F59E0B;
    --sx-amber-dark: #D97706;
    --sx-bg: #07090E;
    --sx-surface: #0D1117;
    --sx-border: #1A1F2E;
    --sx-ink: #E5E7EB;
    --sx-muted: #6B7280;
    --sx-error: #EF4444;
    --sx-ok: #10B981;
}

* { box-sizing: border-box; }

.auth-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', system-ui, -apple-system, sans-serif;
    background: radial-gradient(1200px 600px at 50% -10%, #11161f 0%, var(--sx-bg) 60%);
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--sx-surface);
    border: 1px solid var(--sx-border);
    border-radius: 10px;
    padding: 36px 34px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.auth-brand { text-align: center; margin-bottom: 26px; }
.auth-logo { display: inline-block; font-size: 38px; color: var(--sx-amber); line-height: 1; }
.auth-brand h1 {
    margin: 8px 0 2px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--sx-amber);
    font-size: 1.6rem;
}
.auth-sub { margin: 0; color: var(--sx-muted); letter-spacing: 0.1em; font-size: 0.85rem; text-transform: uppercase; }

.auth-form { display: flex; flex-direction: column; }
.auth-form label { margin: 12px 0 4px; color: var(--sx-muted); font-size: 0.8rem; letter-spacing: 0.06em; }
.auth-form input {
    background: #0A0D14;
    border: 1px solid var(--sx-border);
    border-radius: 6px;
    color: var(--sx-ink);
    padding: 10px 12px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
}
.auth-form input:focus { border-color: var(--sx-amber); }

.auth-row { display: flex; gap: 12px; }
.auth-row > div { flex: 1; display: flex; flex-direction: column; }

.auth-btn {
    margin-top: 22px;
    background: var(--sx-amber);
    color: #1a1206;
    border: none;
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}
.auth-btn:hover { background: var(--sx-amber-dark); }

.auth-foot { text-align: center; margin-top: 20px; color: var(--sx-muted); font-size: 0.85rem; }
.auth-foot a { color: var(--sx-amber); text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; }

.auth-alert { border-radius: 6px; padding: 10px 12px; font-size: 0.85rem; margin-bottom: 8px; }
.auth-alert-error { background: rgba(239, 68, 68, 0.12); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.35); }
.auth-alert-ok { background: rgba(16, 185, 129, 0.12); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.35); }

/* honeypot: visually hidden but present in the DOM for bots */
.auth-hp { position: absolute; left: -5000px; top: -5000px; height: 0; overflow: hidden; }
