:root {
    color-scheme: dark;
    --bg: #0b0b10;
    --panel: #14131b;
    --panel-2: #1a1822;
    --line: #2a2736;
    --text: #f7f5fb;
    --muted: #9d99aa;
    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --green: #48d597;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--text); background: radial-gradient(circle at 20% 15%, #251940 0, transparent 32%), var(--bg); }
button, input { font: inherit; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 1fr) minmax(390px, 0.8fr); }
.auth-brand { padding: clamp(40px, 7vw, 96px); display: flex; flex-direction: column; justify-content: center; gap: 32px; position: relative; overflow: hidden; }
.auth-brand::after { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(139,92,246,.18); border-radius: 50%; right: -190px; bottom: -160px; box-shadow: 0 0 0 70px rgba(139,92,246,.04), 0 0 0 140px rgba(139,92,246,.025); }
.brand-mark { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(167,139,250,.65); border-radius: 20px; color: var(--purple-light); font-size: 21px; font-weight: 900; letter-spacing: -.06em; background: rgba(139,92,246,.1); box-shadow: 0 16px 50px rgba(78,45,155,.25); }
.eyebrow { color: var(--purple-light); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-size: clamp(44px, 6vw, 76px); letter-spacing: -.055em; line-height: .98; margin: 0 0 22px; }
.auth-brand p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: 18px; line-height: 1.65; margin: 0; }
.signal-card { width: min(420px, 100%); display: flex; align-items: center; gap: 15px; padding: 18px; border: 1px solid var(--line); background: rgba(20,19,27,.76); border-radius: 16px; backdrop-filter: blur(12px); }
.signal-card strong, .signal-card small { display: block; }
.signal-card small { color: var(--muted); margin-top: 4px; }
.signal-dot { width: 11px; height: 11px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 6px rgba(72,213,151,.1), 0 0 20px rgba(72,213,151,.45); }
.auth-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 7vw, 96px); background: rgba(14,13,19,.84); border-left: 1px solid var(--line); }
.mobile-brand { display: none; font-weight: 700; margin-bottom: 42px; }.mobile-brand span { color: var(--purple-light); margin-right: 8px; }
.auth-card h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.035em; margin: 0 0 10px; }
.muted { color: var(--muted); line-height: 1.5; margin: 0 0 34px; }
form { display: grid; gap: 18px; }
label { display: grid; gap: 9px; color: #dcd8e5; font-size: 14px; font-weight: 650; }
input { width: 100%; border: 1px solid var(--line); color: var(--text); background: #0e0d13; border-radius: 11px; padding: 14px 15px; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(139,92,246,.13); }
.primary-button { margin-top: 4px; border: 0; border-radius: 11px; padding: 14px 18px; color: white; font-weight: 750; cursor: pointer; background: linear-gradient(135deg, #7048de, #8b5cf6); box-shadow: 0 10px 28px rgba(112,72,222,.24); }
.primary-button:hover { filter: brightness(1.08); }.primary-button:disabled { opacity: .65; cursor: wait; }
.form-message { color: #ffb1bd; background: rgba(229,73,95,.1); border: 1px solid rgba(229,73,95,.22); padding: 11px 13px; border-radius: 9px; font-size: 13px; line-height: 1.45; }
.support-note, .password-rule { color: #777282; font-size: 12px; line-height: 1.5; margin: 22px 0 0; }.password-rule { margin: -6px 0 0; }
.password-shell { grid-template-columns: minmax(320px, 1fr) minmax(430px, .8fr); }
@media (max-width: 800px) {
    .auth-shell, .password-shell { display: block; min-height: 100vh; }
    .auth-brand { display: none; }
    .auth-card { min-height: 100vh; border: 0; padding: 34px max(22px, 7vw); }
    .mobile-brand { display: block; }
}
