:root {
  --bg: #0b1120;
  --card: #111827;
  --accent: #3b82f6;
  --accent-hover: #1d4ed8;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --danger: #ef4444;
  --radius: 14px;
  --maxw: 420px;
  --shadow: 0 8px 32px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.page-wrapper {
  width: 100%;
  max-width: var(--maxw);
}

.auth-card {
  background: var(--card);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.05);
}

.title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 600;
}

.subtitle {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  font-size: 14px;
  color: var(--muted);
}

.form input {
  padding: 12px;
  border-radius: 10px;
  background: #1f2937;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 16px;
}

.btn-primary {
  padding: 12px;
  border-radius: 10px;
  background: var(--accent);
  border: none;
  color: white;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.alert {
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 12px;
}

.alert.error {
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.25);
  color: var(--danger);
}
