:root {
  --bg: #0A0812; --card: #181326; --border: rgba(255,255,255,.12);
  --text: #fff; --muted: #6D6785; --primary: #9B7CFF; --primary-h: #7C4DFF; --warn: #FF4D8A;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background:
    radial-gradient(80vw 60vh at 70% -10%, rgba(124,77,255,0.18), transparent 60%),
    var(--bg);
  color: var(--text); font-family: 'Poppins', system-ui, sans-serif;
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.auth { width: 100%; max-width: 380px; }
.auth-brand { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 22px; }
.auth-logo { height: 30px; filter: invert(1); }
.auth-name { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; }
.auth-name .dot { color: var(--primary); }
.auth-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 26px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.5);
}
.auth-card h1 { font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 6px; }
.auth-hint { color: var(--muted); font-size: 13px; margin-bottom: 18px; line-height: 1.5; }
.auth-card input,
.auth-card select {
  width: 100%; background: var(--bg); border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; padding: 12px 13px; font-size: 16px; font-family: inherit; margin-bottom: 12px;
}
.auth-card input:focus,
.auth-card select:focus { outline: none; border-color: var(--primary); }
.auth-btn {
  width: 100%; background: var(--primary); border: none; color: #0A0812;
  border-radius: 999px; padding: 13px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.auth-btn:hover { background: var(--primary-h); color: #fff; }
.auth-err { color: var(--warn); font-size: 13px; margin-top: 12px; min-height: 18px; text-align: center; }
.auth-switch {
  display: block; width: 100%; margin-top: 16px; background: transparent; border: none;
  color: var(--muted); font-size: 13px; cursor: pointer; font-family: inherit; text-decoration: underline;
}
.auth-switch:hover { color: var(--text); }
