:root {
  --bg: #0b1020;
  --panel: #111a33;
  --text: #e5ecff;
  --muted: #9fb0d8;
  --accent: #4f9cff;
  --danger: #ff5f7a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1a2b5e, var(--bg) 40%);
  color: var(--text);
  display: grid;
  place-items: center;
}
.auth-shell {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
}
.card {
  width: min(92vw, 430px);
  background: var(--panel);
  border: 1px solid #22325f;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
h1 { margin: 0 0 14px; font-size: 20px; }
p { color: var(--muted); margin: 0 0 14px; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
input {
  width: 100%;
  border: 1px solid #2a3b6b;
  background: #0f1730;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}
button {
  width: 100%;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
a { color: #a8c5ff; font-size: 13px; }
.msg { min-height: 20px; font-size: 13px; }
.err { color: var(--danger); font-size: 13px; min-height: 18px; }
.ok { color: #60d394; font-size: 13px; min-height: 18px; }
.table-wrap { overflow: auto; max-height: 70vh; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { border-bottom: 1px solid #263968; padding: 6px; text-align: left; }
code { font-size: 12px; color: #ffd992; }
.small { font-size: 12px; color: var(--muted); }
