:root {
  --bs-primary: #1e3a5f;
  --bs-primary-rgb: 30, 58, 95;
  --accent: #3b82f6;
  --surface: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--surface);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 45%, #1d4ed8 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.35), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(16, 185, 129, 0.2), transparent 40%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.12);
  color: #1e3a5f;
}

.section-title {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer-dark {
  background: #0f172a;
  color: #cbd5e1;
}

.btn-primary {
  --bs-btn-bg: #1e3a5f;
  --bs-btn-border-color: #1e3a5f;
  --bs-btn-hover-bg: #152a45;
  --bs-btn-hover-border-color: #152a45;
}

.card-elevated {
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
  border-radius: 0.75rem;
}

/* Admin layout */
.admin-shell {
  min-height: 100vh;
  display: flex;
  background: #f1f5f9;
}

.admin-sidebar {
  width: 260px;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar .brand {
  padding: 1.25rem 1.25rem 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.admin-sidebar .nav-link {
  color: #cbd5e1;
  padding: 0.55rem 1.25rem;
  border-radius: 0.5rem;
  margin: 0.1rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  background: rgba(59, 130, 246, 0.2);
  color: #fff;
}

.admin-sidebar .nav-section {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  padding: 1rem 1.25rem 0.35rem;
}

.admin-content {
  flex: 1;
  padding: 1.75rem 2rem;
  min-width: 0;
}

.stat-tile {
  border-radius: 0.75rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.stat-tile h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
}

.stat-tile .label {
  color: var(--muted);
  font-size: 0.875rem;
}

.table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom-width: 1px;
}

.preview-img {
  max-height: 320px;
  object-fit: contain;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: #fff;
}
