/* ============================================================
   SOAF — components.css
   Navbar, Footer, Search, Cards, Steps, Announcement
   ============================================================ */

/* ── Navbar ── */
.soaf-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.soaf-nav.transparent {
  background: transparent;
  box-shadow: none;
  border-bottom: none;
}
.soaf-nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(23,184,212,0.12);
  box-shadow: 0 2px 20px rgba(13,31,60,0.08);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(23,184,212,0.08);
  padding: 3px;
  border: 1.5px solid rgba(23,184,212,0.25);
}
.nav-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.soaf-nav.transparent .nav-brand-name { color: var(--white); }
.soaf-nav.scrolled   .nav-brand-name  { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 7px 18px;
  border-radius: var(--r-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  text-decoration: none;
  border: 1.5px solid transparent;
  letter-spacing: 0.01em;
}
/* transparent navbar state */
.soaf-nav.transparent .nav-link {
  color: rgba(255,255,255,0.82);
  border-color: transparent;
  background: transparent;
}
.soaf-nav.transparent .nav-link:hover {
  color: var(--white);
  background: rgba(23,184,212,0.18);
  border-color: rgba(23,184,212,0.5);
  box-shadow: 0 0 12px rgba(23,184,212,0.2);
}
.soaf-nav.transparent .nav-link.active {
  color: var(--cyan);
  background: rgba(23,184,212,0.15);
  border-color: rgba(23,184,212,0.45);
  box-shadow: 0 0 14px rgba(23,184,212,0.22);
}
/* scrolled navbar state */
.soaf-nav.scrolled .nav-link {
  color: var(--grey-600);
  border-color: var(--grey-200);
  background: transparent;
}
.soaf-nav.scrolled .nav-link:hover {
  color: var(--navy);
  background: var(--cyan-light);
  border-color: rgba(23,184,212,0.4);
}
.soaf-nav.scrolled .nav-link.active {
  color: var(--cyan-2);
  background: var(--cyan-light);
  border-color: rgba(23,184,212,0.45);
}

/* ── Dark nav: same style as home — used on all public sub-pages ── */
.soaf-nav.dark {
  background: rgba(13,31,60,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(23,184,212,0.15);
  box-shadow: 0 2px 20px rgba(13,31,60,0.18);
}
.soaf-nav.dark .nav-brand-name { color: var(--white); }
.soaf-nav.dark .nav-link {
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.12);
  background: transparent;
}
.soaf-nav.dark .nav-link:hover {
  color: var(--white);
  background: rgba(23,184,212,0.18);
  border-color: rgba(23,184,212,0.5);
  box-shadow: 0 0 12px rgba(23,184,212,0.2);
}
.soaf-nav.dark .nav-link.active {
  color: var(--cyan);
  background: rgba(23,184,212,0.15);
  border-color: rgba(23,184,212,0.5);
  box-shadow: 0 0 14px rgba(23,184,212,0.22);
}
.soaf-nav.dark .nav-hamburger span { background: var(--white); }
.soaf-nav.dark .nav-actions .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.soaf-nav.dark .nav-actions .btn-outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--white);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  transition: var(--transition);
}
.soaf-nav.transparent .nav-hamburger span { background: var(--white); }
.soaf-nav.scrolled   .nav-hamburger span  { background: var(--navy); }
body.home-page .soaf-nav.scrolled .nav-hamburger span { background: var(--white); }

/* Mobile nav drawer */
.nav-mobile-drawer {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--grey-200);
  padding: 16px 24px 24px;
  z-index: 999;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-navy);
  visibility: hidden;
}
.nav-mobile-drawer.open {
  transform: translateY(0);
  visibility: visible;
}
body.home-page .nav-mobile-drawer {
  background: rgba(13,31,60,0.96);
  border-bottom-color: rgba(23,184,212,0.15);
}
body.home-page .nav-mobile-link {
  color: rgba(255,255,255,0.75);
}
body.home-page .nav-mobile-link:hover {
  background: rgba(23,184,212,0.15);
  color: var(--white);
}
.nav-mobile-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.nav-mobile-link {
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--grey-600);
  transition: var(--transition);
}
.nav-mobile-link:hover { background: var(--cyan-light); color: var(--navy); }
.nav-mobile-actions { display: flex; gap: 10px; }

/* ── Hero Section (sub-pages only — home uses .home-hero-wrap) ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 440px;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0 60px 0;
  max-width: 600px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(23,184,212,0.12);
  border: 1px solid rgba(23,184,212,0.25);
  border-radius: var(--r-full);
  padding: 5px 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero-title span {
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-search-wrap {
  position: relative;
  margin-bottom: 20px;
  max-width: 520px;
}
.hero-search-input {
  width: 100%;
  padding: 15px 56px 15px 20px;
  border-radius: var(--r-full);
  border: 1.5px solid rgba(23,184,212,0.3);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}
.hero-search-input::placeholder { color: rgba(255,255,255,0.45); }
.hero-search-input:focus {
  border-color: var(--cyan);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 0 0 4px rgba(23,184,212,0.15);
}
.hero-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.hero-search-btn:hover { transform: translateY(-50%) scale(1.08); }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.hero-tag {
  padding: 5px 14px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}
.hero-tag:hover {
  background: rgba(23,184,212,0.18);
  border-color: rgba(23,184,212,0.4);
  color: var(--cyan);
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Floating Logo Orb ── */
.hero-orb-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.hero-orb {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(23,184,212,0.28);
  box-shadow:
    0 0 60px rgba(23,184,212,0.22),
    0 0 120px rgba(16,185,129,0.12),
    inset 0 0 40px rgba(23,184,212,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orbFloat 6s ease-in-out infinite;
  position: relative;
}
.hero-orb::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1.5px dashed rgba(23,184,212,0.30);
  animation: orbRingSpinReverse 10s linear infinite;
}
.hero-orb::after {
  content: '';
  position: absolute;
  inset: -32px;
  border-radius: 50%;
  border: 1px dashed rgba(16,185,129,0.22);
  animation: orbRingSpin 16s linear infinite;
}
.hero-orb img {
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(23,184,212,0.45);
  box-shadow: 0 0 32px rgba(23,184,212,0.35), 0 0 64px rgba(16,185,129,0.15);
  /* no rotation — only the orb container floats */
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}
@keyframes orbRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes orbRingSpinReverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
@keyframes orbRing {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.04); opacity: 1; }
}

/* ── Stat Value alias (admin pages use stat-value, public uses stat-number) ── */
.stat-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 4px;
}

/* ── Admin stat card — light glass variant for dashboard pages ── */
.stat-card.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
}
.stat-card.glass-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan);
  border-color: rgba(23,184,212,0.28);
}
.stat-card.glass-card .stat-value,
.stat-card.glass-card .stat-number { color: var(--cyan-2); }
.stat-card.glass-card .stat-label  { color: var(--grey-600); }


.stats-strip {
  background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy-3) 100%);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(23,184,212,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.stat-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(23,184,212,0.15);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(23,184,212,0.30);
  transform: translateY(-3px);
}
.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Light context override — when stat-card is on white/glass bg */
.dashboard-content .stat-label,
.section-card .stat-label {
  color: var(--text-muted);
}

/* ── Categories Section (sub-pages) ── */
.categories-section { background: transparent; }
.categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--r-full);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.category-pill:hover {
  background: var(--cyan-light);
  border-color: rgba(23,184,212,0.35);
  color: var(--cyan-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan);
}
.category-pill-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-light), var(--emerald-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--cyan-2);
}

/* ── How It Works (sub-pages) ── */
.how-section { background: transparent; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.how-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
}
.how-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
}
.how-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-cyan);
  border-color: rgba(23,184,212,0.28);
}
.how-step-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  color: rgba(23,184,212,0.15);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.how-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.how-card p { font-size: 0.92rem; color: var(--grey-600); line-height: 1.65; }

/* ── Featured Facilities (sub-pages) ── */
.featured-section { background: transparent; }
.facility-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
}
.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-cyan);
  border-color: rgba(23,184,212,0.28);
}
.facility-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
}
.facility-card-img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.facility-card-body { padding: 20px; }
.facility-card-type {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--cyan-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.facility-card-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.facility-card-inst {
  font-size: 0.85rem;
  color: var(--grey-400);
  margin-bottom: 12px;
}
.facility-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.facility-tag {
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: var(--cyan-light);
  color: var(--cyan-2);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
}
.facility-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--grey-100);
}
.facility-card-location {
  font-size: 0.82rem;
  color: var(--grey-400);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Announcement Banner ── */
.announcement-banner {
  background: linear-gradient(90deg, var(--cyan-2), var(--emerald-2));
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1001;
}
.announcement-banner.hidden {
  display: none !important;
}
.announcement-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  flex: 1;
  text-align: center;
}
.announcement-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.announcement-close:hover { background: rgba(255,255,255,0.35); }

/* ── Footer ── */
.soaf-footer {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 56px 0 28px;
  position: relative;
  overflow: hidden;
}
.soaf-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(23,184,212,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.footer-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  border: 1.5px solid rgba(23,184,212,0.3);
  padding: 4px;
  margin-bottom: 12px;
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
.footer-contact-link {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: var(--transition);
}
.footer-contact-link:hover {
  color: var(--cyan);
}
.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-link {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
  transition: var(--transition);
  text-decoration: none;
}
.footer-link:hover { color: var(--cyan); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.footer-rathna {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: rgba(23,184,212,0.6);
}

/* ── Notification Bell ── */
.notif-bell {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--grey-600);
  background: var(--grey-100);
}
.notif-bell:hover { background: var(--cyan-light); color: var(--cyan); }
.notif-count {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

/* ── Step Progress Bar ── */
.step-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--grey-200);
  z-index: 0;
}
.step-item.done:not(:last-child)::after,
.step-item.active:not(:last-child)::after {
  background: linear-gradient(90deg, var(--cyan), var(--grey-200));
}
.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grey-100);
  border: 2px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--grey-400);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.step-item.active .step-circle {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(23,184,212,0.18);
}
.step-item.done .step-circle {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
}
.step-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--grey-400);
  margin-top: 6px;
  text-align: center;
}
.step-item.active .step-label { color: var(--cyan); }
.step-item.done  .step-label  { color: var(--emerald); }

/* ── Section Card (detail pages, admin pages) ── */
.section-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-glass);
  overflow: hidden;
}
.section-card-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--grey-100);
  background: rgba(13,31,60,0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.section-card-body { padding: 24px; }

/* ── Detail Grid (admin user/institution/facility detail pages) ── */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}
.detail-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.detail-value {
  display: block;
  font-size: 0.92rem;
  color: var(--grey-800);
  font-weight: 500;
  word-break: break-word;
}

/* ── Audit Action Badge ── */
.audit-action-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--r-full);
  background: var(--cyan-light);
  color: var(--cyan-3);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

/* ── Content Key Row (admin website content page) ── */
.content-key-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-100);
}
.content-key-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--navy);
  word-break: break-all;
}

/* ── Category Tree (admin categories page) ── */
.category-parent {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.category-parent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(13,31,60,0.03);
  border-bottom: 1px solid var(--grey-100);
}
.category-parent-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}
.category-children { padding: 8px 0; }
.category-child-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 36px;
}
.category-child-name {
  font-size: 0.88rem;
  color: var(--grey-600);
  flex: 1;
}
.category-row-actions { display: flex; gap: 6px; }
.cat-action-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.cat-action-btn.danger { background: #fee2e2; color: #dc2626; }
.cat-action-btn.danger:hover { background: #fecaca; }
