/* ── Base ── */
body {
  background-color: #f0f2f5;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ── Authenticated sidebar layout ── */
#wrapper {
  min-height: 100vh;
}

#sidebar {
  width: 240px;
  min-height: 100vh;
  background: linear-gradient(180deg, #1a3c5e 0%, #0d2137 100%);
  flex-shrink: 0;
}

#sidebar .nav-link.active,
#sidebar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
}

#page-content {
  overflow-x: hidden;
}

/* ── Public topnav ── */
#public-nav {
  background: linear-gradient(90deg, #1a3c5e 0%, #0d2137 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* ── Hero ── */
.hero-section {
  background: linear-gradient(135deg, #1a3c5e 0%, #1565c0 60%, #0288d1 100%);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* ── Stat cards ── */
.card {
  border: none;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.stat-card .card-body {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
}

.stat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6c757d;
  font-weight: 600;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a2a3a;
  line-height: 1.1;
}

/* ── Mission cards ── */
.mission-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ── CTA section ── */
.cta-section {
  background: linear-gradient(135deg, #1565c0 0%, #0d2137 100%);
}

/* ── Tables ── */
.table th {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6c757d;
  border-bottom-width: 1px;
}
