:root {
  --bg: #0b1020;
  --bg-soft: #111833;
  --card: rgba(255,255,255,0.92);
  --border: rgba(255,255,255,0.15);
  --text: #0f172a;
  --muted: #64748b;
  --accent: #5b7cff;
  --accent-2: #7c3aed;
}
body {
  min-height: 100vh;
  background: radial-gradient(circle at top left, #172554 0%, #0b1020 45%, #070b16 100%);
  color: var(--text);
}
.sidebar {
  background: rgba(9,13,28,0.88);
  border-right: 1px solid var(--border);
  min-height: 100vh;
  backdrop-filter: blur(10px);
}
.sidebar .brand {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .4px;
}
.sidebar .nav-link {
  color: rgba(255,255,255,0.75);
  border-radius: 14px;
  padding: .8rem 1rem;
  margin-bottom: .35rem;
}
.sidebar .nav-link.active, .sidebar .nav-link:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(91,124,255,.28), rgba(124,58,237,.28));
}
.content-wrap { padding: 1.5rem; }
.glass-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
  border-radius: 22px;
}
.stat-card {
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(245,247,255,.92));
  border: 1px solid rgba(226,232,240,.85);
  border-radius: 22px;
  box-shadow: 0 18px 35px rgba(15,23,42,.08);
}
.badge-soft {
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}
.table thead th { white-space: nowrap; }
.table td, .table th { vertical-align: middle; }
.code-pill {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 10px;
  padding: .35rem .55rem;
  display: inline-block;
  font-size: .84rem;
}
.form-control, .form-select {
  border-radius: 14px;
  padding: .8rem .95rem;
}
.btn {
  border-radius: 14px;
  padding: .72rem 1rem;
  font-weight: 600;
}
.page-title { color: #fff; }
.page-subtitle { color: rgba(255,255,255,.72); }
.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.login-card {
  max-width: 980px;
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.login-hero {
  background: linear-gradient(155deg, #172554, #4338ca, #7c3aed);
  color: #fff;
}
.small-muted { color: var(--muted); }
