:root {
  --bg: #0c0d12; --panel: #15171f; --line: #272b38;
  --text: #e7e9ef; --muted: #8a90a2; --accent: #6c7bff;
  --good: #2ecc71; --bad: #ff5b6e; --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0; font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, #1a1f3a 0%, var(--bg) 55%);
  color: var(--text); min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.card {
  width: 100%; max-width: 400px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.brand { font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.brand span { color: var(--accent); }
.sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
input {
  width: 100%; background: #1c1f2a; border: 1px solid var(--line); color: var(--text);
  border-radius: 8px; padding: 11px 12px; font-size: 15px; margin-bottom: 14px;
}
button {
  width: 100%; cursor: pointer; border: none; border-radius: 8px; padding: 12px;
  font-weight: 600; font-size: 15px; background: var(--accent); color: #fff;
}
button:hover { opacity: 0.9; }
.msg { font-size: 13px; margin-top: 12px; min-height: 18px; }
.msg.err { color: var(--bad); }
.msg.ok { color: var(--good); }
.links { margin-top: 18px; text-align: center; font-size: 13px; }
.links a { color: var(--accent); text-decoration: none; }
.links a:hover { text-decoration: underline; }
