:root {
  --bg: #0f1419;
  --card: #161d27;
  --border: #26303d;
  --text: #e7edf3;
  --muted: #93a4b8;
  --accent: #f2b705;
  --accent-text: #14181f;
  --error: #ef5350;
  --success: #4caf82;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 24px;
}
.auth-card {
  width: 100%;
  max-width: 380px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.auth-card h1 {
  font-size: 20px;
  margin: 0 0 4px;
}
.auth-card p.subtitle {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 14px;
}
label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0 6px;
}
input[type="email"], input[type="password"], input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0c1117;
  color: var(--text);
  font-size: 14px;
}
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
button[type="submit"] {
  width: 100%;
  margin-top: 24px;
  padding: 11px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
button[type="submit"]:disabled { opacity: .6; cursor: default; }
.auth-status {
  margin-top: 14px;
  font-size: 13px;
  min-height: 18px;
}
.auth-status.error { color: var(--error); }
.auth-status.success { color: var(--success); }
.auth-links {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.auth-links a { color: var(--accent); text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
