:root { font-family: Inter, ui-sans-serif, system-ui, sans-serif; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: #0f172a; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { position: relative; overflow: hidden; display: grid; place-items: center; padding: 48px; color: #172554; background: linear-gradient(135deg,#eff6ff 0%,#dbeafe 40%,#bfdbfe 100%); }
.auth-art::before { content: ""; position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(#60a5fa33 1px,transparent 1px),linear-gradient(90deg,#60a5fa33 1px,transparent 1px); background-size: 24px 24px; }
.auth-brand { position: absolute; z-index: 1; top: 30px; left: 36px; display: flex; align-items: center; gap: 10px; color: #172554; text-decoration: none; font-size: 24px; font-weight: 800; }
.auth-brand img { display: block; object-fit: contain; }
.auth-logo { position: relative; z-index: 1; display: block; width: min(280px, 100%); height: auto; object-fit: contain; }
.auth-message { position: absolute; z-index: 1; left: 48px; right: 48px; bottom: 42px; display: grid; gap: 8px; }
.auth-message strong { font-size: 22px; }.auth-message span { color: #334155; }
.auth-panel { display: grid; place-items: center; padding: 36px; background: #0f172a; }
.auth-card { width: min(440px,100%); color: #94a3b8; }
.auth-card h1 { margin: 0 0 10px; color: #f1f5f9; font-size: 32px; }.auth-card > p { margin: 0 0 28px; }
.auth-form { display: grid; gap: 16px; }.auth-form label { color: #cbd5e1; font-size: 14px; font-weight: 600; }
.auth-input,.auth-select { width: 100%; min-height: 46px; margin-top: 7px; padding: 11px 13px; border: 1px solid #334155; border-radius: 8px; color: #f1f5f9; background: #1e293b; font: inherit; }
.auth-input:focus,.auth-select:focus { outline: 2px solid #3b82f655; border-color: #3b82f6; }
.auth-button { min-height: 46px; border: 0; border-radius: 8px; color: #fff; background: #3b82f6; font-weight: 700; cursor: pointer; }.auth-button:hover { background: #2563eb; }
.auth-button.secondary { color: #cbd5e1; background: #1e293b; }.auth-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; }.auth-links a { color: #60a5fa; text-decoration: none; }
.auth-error { padding: 11px; border: 1px solid #7f1d1d; border-radius: 8px; color: #fecaca; background: #450a0a; }.auth-success { padding: 11px; border: 1px solid #166534; border-radius: 8px; color: #bbf7d0; background: #052e16; }
.field-validation-error { color: #fca5a5; font-size: 12px; }.field-tip { display: block; margin-top: -10px; color: #94a3b8; font-size: 12px; line-height: 1.4; }.validation-summary-valid,.field-validation-valid { display: none; }.input-validation-error { border-color: #ef4444; }.info-box { padding: 14px; border: 1px solid #1d4ed8; border-radius: 8px; color: #bfdbfe; background: #172554; }
.qr-box { padding: 14px; border-radius: 10px; background: #fff; }.qr-box svg { display: block; width: 100%; height: auto; }.manual-key { padding: 10px; overflow-wrap: anywhere; border-radius: 6px; background: #020617; color: #e2e8f0; font-family: ui-monospace,monospace; text-align: center; }
.recovery-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }.recovery-code { padding: 9px; border-radius: 6px; background: #1e293b; color: #fff; font-family: ui-monospace,monospace; text-align: center; }
@media (max-width: 899px) { .auth-shell { grid-template-columns: 1fr; }.auth-art { display: none; }.auth-panel { min-height: 100vh; padding: 24px; } }
