:root {
 --sb-bg: #0c1220;
 --sb-surface: #111c2e;
 --sb-border: #1e2d45;
 --sb-text: #8ea3bc;
 --sb-heading: #e2eaf4;
 --sb-label: #5a7490;
 --sb-input-bg: #0f1a2a;
 --accent: #5b8dee;
 --accent-hover: #4a7bdc;
 --accent-glow: rgba(91,141,238,.18);
 --accent-soft: rgba(91,141,238,.08);
 --green: #1ab97a;
 --red: #e85454;
 --main-bg: #f0f4fa;
 --surface: #ffffff;
 --border: #dde3ed;
 --text-primary: #111c2e;
 --text-secondary: #5a7490;
 --text-muted: #8ea3bc;
}
*, *::before, *::after { box-sizing: border-box; }
body.auth-body { margin: 0; font-family: 'Outfit', sans-serif; color: var(--text-primary); background: var(--main-bg); }
.auth-shell { display: flex; min-height: 100vh; }
.auth-brand-panel {
 flex: 0 0 42%;
 background: var(--sb-bg);
 color: var(--sb-heading);
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 padding: 40px;
 position: relative;
 overflow: hidden;
}
.auth-brand-panel::after {
 content: '';
 position: absolute;
 right: -120px;
 bottom: -120px;
 width: 320px;
 height: 320px;
 border-radius: 50%;
 background: radial-gradient(circle, var(--accent-glow), transparent 70%);
}
.auth-brand-top { display: flex; align-items: flex-start; justify-content: start; gap: 10px; z-index: 1; width: 100%; }
.auth-brand-logo { flex: 0 0 50%; width: 50%; max-width: 50%; height: auto; display: block; }
.auth-brand-name { font-size: .98rem; font-weight: 700; letter-spacing: .01em; }
.auth-brand-mid { z-index: 1; max-width: 360px; }
.auth-brand-title { font-size: 1.9rem; font-weight: 600; line-height: 1.28; margin: 0 0 14px; color: var(--sb-heading); }
.auth-brand-sub { font-size: .88rem; color: var(--sb-text); line-height: 1.6; margin: 0; }
.auth-brand-points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; z-index: 1; }
.auth-brand-points li { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--sb-text); }
.auth-brand-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.auth-brand-foot { font-size: .72rem; color: var(--sb-label); z-index: 1; }
.auth-form-panel { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-card-header { margin-bottom: 26px; }
.auth-card-title { font-size: 1.4rem; font-weight: 700; color: var(--text-primary); margin: 0 0 6px; }
.auth-card-sub { font-size: .85rem; color: var(--text-secondary); margin: 0; }
.auth-field { margin-bottom: 16px; }
.auth-label { display: block; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--sb-label); margin-bottom: 6px; }
.auth-input {
 width: 100%;
 background: var(--surface);
 border: 1px solid var(--border);
 color: var(--text-primary);
 border-radius: 8px;
 font-size: .88rem;
 font-family: 'Outfit', sans-serif;
 padding: 10px 13px;
 transition: border-color .15s, box-shadow .15s;
 box-sizing: border-box;
}
.auth-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.auth-help { font-size: .72rem; color: var(--text-muted); margin-top: 5px; }
.auth-error { font-size: .76rem; color: var(--red); margin-top: 5px; }
.auth-error-box { background: rgba(232,84,84,.08); border: 1px solid rgba(232,84,84,.28); color: var(--red); border-radius: 8px; padding: 10px 13px; font-size: .8rem; margin-bottom: 16px; }
.auth-submit {
 width: 100%;
 background: var(--accent);
 color: #fff;
 border: none;
 border-radius: 8px;
 padding: 11px 0;
 font-size: .88rem;
 font-weight: 600;
 font-family: 'Outfit', sans-serif;
 cursor: pointer;
 transition: background .15s;
 margin-top: 6px;
}
.auth-submit:hover { background: var(--accent-hover); }
.auth-foot-link { text-align: center; font-size: .82rem; color: var(--text-secondary); margin-top: 20px; }
.auth-foot-link a { color: var(--accent); text-decoration: none; font-weight: 600; }
.auth-foot-link a:hover { text-decoration: underline; }
.auth-row-between { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-size: .8rem; }
.auth-row-between a { color: var(--accent); text-decoration: none; }
.auth-row-between a:hover { text-decoration: underline; }
@media (max-width: 860px) {
 .auth-brand-panel { display: none; }
 .auth-form-panel { flex: 1; }
}