:root {
  --bg: #0b0f17;
  --card: #121826;
  --border: #243047;
  --text: #e6edf7;
  --muted: #93a3bc;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --danger: #ef4444;
  --success: #22c55e;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: radial-gradient(circle at top, #141c2f 0%, var(--bg) 60%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  line-height: 1.5;
}

.card {
  width: 100%;
  max-width: 440px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.card.wide { max-width: 720px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

h1 { margin: 0 0 8px; font-size: 1.35rem; }
h2 { margin: 22px 0 10px; font-size: 1.05rem; border-top: 1px solid var(--border); padding-top: 16px; }
p.muted { color: var(--muted); font-size: 0.92rem; margin: 0 0 16px; }

label { display: block; font-size: 0.86rem; color: var(--muted); margin: 12px 0 4px; }

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0d1320;
  color: var(--text);
  font-size: 0.95rem;
}

input:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  margin-top: 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: var(--accent-hover); }
.btn-secondary { background: #1c2538; border-color: var(--border); color: var(--text); }
.btn-secondary:hover { background: #26334d; }
.btn-danger { background: rgba(239, 68, 68, 0.16); border-color: var(--danger); color: #fecaca; }
.btn-danger:hover { background: rgba(239, 68, 68, 0.28); }
.btn-inline { width: auto; padding: 6px 12px; margin-top: 0; font-size: 0.85rem; }

.alert {
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}
.alert-error { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.5); color: #fecaca; }
.alert-info { background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.5); color: #bfdbfe; }

.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 8px;
  color: var(--muted);
  font-size: 0.82rem;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(36, 48, 71, 0.6);
}
.row:last-child { border-bottom: none; }

.links { margin-top: 16px; display: flex; justify-content: space-between; font-size: 0.86rem; }
a { color: #93c5fd; text-decoration: none; }
a:hover { text-decoration: underline; }
code { background: #0d1320; padding: 2px 6px; border-radius: 5px; font-size: 0.85rem; }
