/* ═══════════════════════════════════════════════════════════
   CHAKRADHAR COLLEGE PORTAL — White + Navy Blue Corporate Premium Theme
   Modern Premium · Creative · Elite · Innovative
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
  --navy: #0F172A;
  --navy-light: #1E293B;
  --navy-dark: #020617;
  --royal: #1B2A4A;
  --royal-light: #253B66;
  --accent: #1D4ED8;
  --accent-light: #3B82F6;
  --gold: #D4AF37;
  --gold-light: #E8C36A;
  --gold-dark: #B8922E;
  --silver: #CBD5E1;
  --silver-light: #E2E8F0;
  --silver-dark: #94A3B8;
  --surface: #F8FAFC;
  --cream: #FFFFFF;
  --muted: #64748B;
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-light: #94A3B8;
  --border-light: #E2E8F0;
  --border: #CBD5E1;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #2563EB;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow-card: 0 4px 24px rgba(15,23,42,0.06);
  --shadow-card-hover: 0 12px 40px rgba(15,23,42,0.12);
  --shadow-premium: 0 4px 30px -4px rgba(15,23,42,0.4);
  --shadow-gold: 0 4px 20px rgba(212,168,67,0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Unified Premium Button Animation Layer ─── */
.btn,
.admin-btn,
.rn-auth-btn,
.hero-v2-btn-primary,
.hero-v2-btn-outline,
.btn-royal,
.btn-royal-accent,
.btn-royal-outline,
.hf-submit,
.hero-cta {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s cubic-bezier(.4,0,.2,1), filter .25s cubic-bezier(.4,0,.2,1);
}

.btn::before,
.admin-btn::before,
.rn-auth-btn::before,
.hero-v2-btn-primary::before,
.hero-v2-btn-outline::before,
.btn-royal::before,
.btn-royal-accent::before,
.btn-royal-outline::before,
.hf-submit::before,
.hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-22deg);
  transition: left .65s ease;
  pointer-events: none;
}

.btn:hover,
.admin-btn:hover,
.rn-auth-btn:hover,
.hero-v2-btn-primary:hover,
.hero-v2-btn-outline:hover,
.btn-royal:hover,
.btn-royal-accent:hover,
.btn-royal-outline:hover,
.hf-submit:hover,
.hero-cta:hover {
  transform: translateY(-2px);
}

.btn:hover::before,
.admin-btn:hover::before,
.rn-auth-btn:hover::before,
.hero-v2-btn-primary:hover::before,
.hero-v2-btn-outline:hover::before,
.btn-royal:hover::before,
.btn-royal-accent:hover::before,
.btn-royal-outline:hover::before,
.hf-submit:hover::before,
.hero-cta:hover::before {
  left: 150%;
}

.admin-btn-primary,
.btn-royal,
.btn-royal-accent,
.hero-v2-btn-primary,
.hero-cta {
  background-image: linear-gradient(135deg, var(--navy), #1E3A8A, var(--gold-dark));
  background-size: 180% 180%;
  animation: premiumBtnShift 6s ease-in-out infinite;
}

.admin-btn-primary:hover,
.btn-royal:hover,
.btn-royal-accent:hover,
.hero-v2-btn-primary:hover,
.hero-cta:hover {
  box-shadow: 0 12px 28px rgba(15,23,42,.24), 0 6px 18px rgba(180,146,46,.32);
}

@keyframes premiumBtnShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--surface);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
::selection { background: rgba(139, 92, 246, 0.25); color: #000; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: rgba(37,99,235,.35); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
a { color: var(--gold-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); color: var(--text-dark); font-weight: 700; }

/* Luxury background pattern for body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(37,99,235,.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(37,99,235,.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}
img { max-width: 100%; height: auto; }

.pt-navbar { padding-top: 0px; }

/* ─── TopBar ─── */
.topbar {
  background: linear-gradient(90deg, #020617 0%, #0F172A 50%, #020617 100%);
  color: rgba(255,255,255,0.8);
  font-size: 0.72rem;
  position: relative;
  z-index: 1060;
  overflow: hidden;
}
.topbar-gold-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  gap: 16px;
}
.topbar a { color: rgba(255,255,255,0.8); }
.topbar a:hover { color: var(--gold); }
.topbar-contact { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.topbar-contact span { display: flex; align-items: center; gap: 6px; cursor: default; }
.topbar-contact i { color: var(--gold); opacity: .7; font-size: .7rem; }
.topbar-ticker { flex: 1; overflow: hidden; margin: 0 16px; position: relative; }
.topbar-ticker-label {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--gold); font-weight: 700; font-size: .65rem;
  text-transform: uppercase; letter-spacing: .15em; flex-shrink: 0; margin-right: 8px;
}
.topbar-ticker-wrap { overflow: hidden; flex: 1; }
.topbar-ticker-inner {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  color: rgba(37,99,235,.8);
  font-weight: 500;
}
@keyframes marquee { 0%{transform:translateX(0%)} 100%{transform:translateX(-50%)} }
.topbar-social { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.topbar-social a {
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
  font-size: .8rem;
}
.topbar-social a:hover { color: var(--gold); }

/* ─── Navbar v2 (Alpine.js powered) ─── */
[x-cloak] { display: none !important; }

.rn {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: linear-gradient(90deg, #020617 0%, #100e20 40%, #120f22 60%, #020617 100%);
  border-bottom: 1px solid rgba(37,99,235,.18);
  transition: background .4s cubic-bezier(.4,0,.2,1), box-shadow .4s cubic-bezier(.4,0,.2,1), padding .3s;
  padding: 0;
}
.rn--scrolled {
  background: rgba(5,5,5,.97);
  box-shadow: 0 4px 30px rgba(0,0,0,.5), 0 1px 0 rgba(37,99,235,.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.rn-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  min-height: 68px;
}

/* ── Brand ── */
.rn-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.rn-logo {
  position: relative;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--gold) 0%, #1D4ED8 50%, #0F172A 100%);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(37,99,235,.35), inset 0 1px 0 rgba(255,255,255,.15);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
  flex-shrink: 0;
}
.rn-brand:hover .rn-logo {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 6px 20px rgba(37,99,235,.5);
}
.rn-logo i {
  color: white;
  font-size: 1.35rem;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
}
.rn-logo-badge {
  position: absolute;
  top: -5px; right: -5px;
  width: 16px; height: 16px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  animation: rnBadgePulse 3s ease-in-out infinite;
}
@keyframes rnBadgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.rn-brand-text { display: flex; flex-direction: column; }
.rn-brand-name {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.rn-brand-sub {
  color: var(--gold);
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: .85;
}

/* ── Menu Links ── */
.rn-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}
.rn-item {
  position: relative;
}
.rn-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 22px 14px;
  color: rgba(255,255,255,.72);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  transition: color .25s;
  white-space: nowrap;
  font-family: inherit;
}
.rn-link:hover,
.rn-link--active,
.rn-link--open {
  color: var(--gold) !important;
}
/* Animated underline */
.rn-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2.5px;
  background: linear-gradient(90deg, var(--gold), rgba(37,99,235,.5));
  border-radius: 2px;
  transition: width .35s cubic-bezier(.34,1.56,.64,1), left .35s cubic-bezier(.34,1.56,.64,1);
}
.rn-link:hover::after,
.rn-link--active::after,
.rn-link--open::after {
  width: 70%;
  left: 15%;
}

/* Chevron animation */
.rn-chev {
  font-size: .55rem;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  opacity: .6;
}
.rn-chev--up {
  transform: rotate(180deg);
}
.rn-chev--sm {
  font-size: .5rem;
}

/* ── Dropdown Transitions (used by Alpine.js x-transition) ── */
.rn-dd-enter {
  transition: opacity .25s cubic-bezier(.4,0,.2,1), transform .25s cubic-bezier(.34,1.56,.64,1);
}
.rn-dd-enter-from {
  opacity: 0;
  transform: translateY(8px) scale(.96);
}
.rn-dd-enter-to {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.rn-dd-leave {
  transition: opacity .15s ease-in, transform .15s ease-in;
}
.rn-dd-leave-from {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.rn-dd-leave-to {
  opacity: 0;
  transform: translateY(4px) scale(.98);
}

/* ── Mega Dropdown ── */
.rn-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.04);
  overflow: hidden;
  z-index: 1060;
  min-width: 520px;
}
.rn-mega-gold {
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #0F172A, var(--gold-dark), var(--gold));
  background-size: 200% 100%;
  animation: rnGoldShimmer 4s ease infinite;
}
@keyframes rnGoldShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.rn-mega-body {
  display: flex;
  padding: 22px 26px;
  gap: 28px;
}
.rn-mega-col {
  min-width: 150px;
}
.rn-mega-heading {
  font-size: .6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: rgba(37,99,235,.4);
  margin-bottom: 12px;
  padding: 0 10px;
}
.rn-mega-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.rn-mega-link:hover {
  background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(37,99,235,.03));
  color: #0F172A;
  padding-left: 16px;
}
.rn-mega-icon {
  font-size: 1.05rem;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.rn-mega-link:hover .rn-mega-icon {
  transform: scale(1.25) rotate(-5deg);
}

/* ── Regular Drop ── */
.rn-drop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.04);
  overflow: hidden;
  z-index: 1060;
  min-width: 230px;
}
.rn-drop-gold {
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #0F172A, var(--gold-dark), var(--gold));
  background-size: 200% 100%;
  animation: rnGoldShimmer 4s ease infinite;
}
.rn-drop-body {
  padding: 8px;
}
.rn-drop-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  transition: all .2s cubic-bezier(.4,0,.2,1);
}
.rn-drop-link i {
  font-size: .95rem;
  width: 20px;
  text-align: center;
  color: var(--muted);
  transition: color .2s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.rn-drop-link:hover {
  background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(37,99,235,.03));
  color: #0F172A;
  padding-left: 18px;
}
.rn-drop-link:hover i {
  color: var(--gold);
  transform: scale(1.15);
}

/* ── Right Actions ── */
.rn-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Notification Bell */
.rn-bell { position: relative; }
.rn-bell-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  transition: background .25s, transform .2s;
  color: rgba(255,255,255,.7);
  font-size: 1.15rem;
}
.rn-bell-btn:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  transform: scale(1.05);
}
.rn-bell--active .rn-bell-btn {
  color: var(--gold);
}
.rn-bell-btn:hover i {
  animation: rnBellShake .55s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes rnBellShake {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(14deg); }
  40% { transform: rotate(-12deg); }
  60% { transform: rotate(8deg); }
  80% { transform: rotate(-4deg); }
}
.rn-bell-badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  background: #ef4444;
  color: white;
  font-size: .6rem;
  font-weight: 700;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid #0F172A;
  animation: rnBadgePop .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes rnBadgePop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}
.rn-notif-drop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
  overflow: hidden;
  min-width: 280px;
  z-index: 1060;
}
.rn-notif-header {
  padding: 14px 18px;
  font-weight: 700;
  font-size: .9rem;
  color: #0F172A;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: linear-gradient(135deg, rgba(37,99,235,.06), transparent);
}
.rn-notif-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: .85rem;
  color: var(--text-body);
  text-decoration: none;
  transition: all .2s;
}
.rn-notif-link:hover {
  background: rgba(37,99,235,.06);
  color: var(--gold-dark);
}

/* Profile Button & Dropdown */
.rn-profile { position: relative; }
.rn-profile-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px;
  cursor: pointer;
  transition: all .25s;
  color: #fff;
}
.rn-profile-btn:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(37,99,235,.3);
}
.rn-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.rn-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(37,99,235,.5);
  transition: border-color .3s;
}
.rn-profile-btn:hover .rn-avatar {
  border-color: var(--gold);
}
.rn-avatar-fallback {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1B2A4A, var(--gold-dark));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700;
  border: 2px solid rgba(37,99,235,.5);
}
.rn-avatar-dot {
  position: absolute;
  bottom: 0; right: 0;
  width: 10px; height: 10px;
  background: #10b981;
  border-radius: 50%;
  border: 2px solid #0F172A;
  animation: rnDotPulse 3s ease-in-out infinite;
}
@keyframes rnDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.4); }
  50% { box-shadow: 0 0 0 4px rgba(16,185,129,0); }
}
.rn-profile-name {
  font-size: .84rem;
  font-weight: 600;
  white-space: nowrap;
}
.rn-profile-drop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,.18);
  overflow: hidden;
  min-width: 260px;
  z-index: 1060;
}
.rn-profile-card {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(0,0,0,.02));
}
.rn-profile-card-img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(37,99,235,.3);
}
.rn-profile-card-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1B2A4A, var(--gold-dark));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700;
  border: 2px solid rgba(37,99,235,.3);
}
.rn-profile-card-name {
  font-size: .92rem;
  font-weight: 700;
  color: #0F172A;
}
.rn-profile-card-role {
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: capitalize;
}
.rn-profile-divider {
  height: 1px;
  background: rgba(0,0,0,.06);
}
.rn-profile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all .2s;
  font-family: inherit;
}
.rn-profile-link i {
  font-size: .95rem;
  width: 20px;
  text-align: center;
  color: var(--muted);
  transition: color .2s, transform .2s;
}
.rn-profile-link:hover {
  background: linear-gradient(90deg, rgba(37,99,235,.06), transparent);
  color: #0F172A;
  padding-left: 22px;
}
.rn-profile-link:hover i {
  color: var(--gold);
  transform: scale(1.1);
}
.rn-profile-link--danger { color: #ef4444 !important; }
.rn-profile-link--danger i { color: #ef4444 !important; }
.rn-profile-link--danger:hover {
  background: rgba(239,68,68,.04) !important;
}

/* ── Auth Buttons ── */
.rn-auth-btn {
  padding: 8px 22px;
  font-size: .82rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  white-space: nowrap;
}
.rn-auth-btn--outline {
  color: var(--gold);
  border: 1.5px solid rgba(37,99,235,.35);
  background: transparent;
}
.rn-auth-btn--outline:hover {
  border-color: var(--gold);
  background: rgba(37,99,235,.1);
  color: var(--gold);
  transform: translateY(-1px);
}
.rn-auth-btn--solid {
  color: #0F172A;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  box-shadow: 0 4px 15px rgba(37,99,235,.3);
}
.rn-auth-btn--solid:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(37,99,235,.4);
  color: #0F172A;
}

/* ── Hamburger (mobile) ── */
.rn-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  padding: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s;
}
.rn-hamburger:hover {
  background: rgba(255,255,255,.12);
}
.rn-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: all .35s cubic-bezier(.68,-.55,.27,1.55);
  transform-origin: center;
}
.rn-hamburger--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.rn-hamburger--open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.rn-hamburger--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Responsive ── */
@media (max-width: 1199px) {
  .rn-hamburger { display: flex; }
  .rn-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: linear-gradient(180deg, #100e20 0%, #080808 100%);
    border-top: 1px solid rgba(37,99,235,.18);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
    box-shadow: 0 20px 40px rgba(0,0,0,.6);
    max-height: 80vh;
    overflow-y: auto;
  }
  .rn-menu--open { display: flex; }
  .rn-link { padding: 14px 24px; justify-content: space-between; }
  .rn-link::after { display: none; }
  .rn-item { width: 100%; }
  .rn-mega, .rn-drop {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    border-radius: 0;
    box-shadow: none;
    min-width: auto;
    background: rgba(0,0,0,.15);
  }
  .rn-mega-body { flex-direction: column; padding: 12px 20px; gap: 16px; }
  .rn-mega-link, .rn-drop-link { color: rgba(255,255,255,.75); }
  .rn-mega-link:hover, .rn-drop-link:hover { color: var(--gold); background: rgba(255,255,255,.05); }
  .rn-mega-heading { color: rgba(37,99,235,.6); }
  .rn-drop-body { padding: 4px 12px; }
  .rn-drop-link i { color: rgba(255,255,255,.4); }
  .rn-drop-link:hover i { color: var(--gold); }
  .rn-profile-name { display: none; }
  .rn-brand-text { display: none; }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .rn-link { padding: 22px 10px; font-size: .8rem; }
  .rn-inner { padding: 0 16px; }
}

/* Legacy compat (for pages still using old classes) */
.navbar-logo-box {
  position: relative;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark), #0F172A);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  flex-shrink: 0;
}
.navbar-logo-box:hover { transform: scale(1.05); }
.navbar-logo-box i { color: white; font-size: 1.3rem; }
.navbar-logo-box .crown-badge {
  position: absolute; top: -4px; right: -4px;
  width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; line-height: 1;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.navbar-college-name {
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}
.navbar-college-subtitle {
  color: rgba(37,99,235,.8);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}
.notification-badge { font-size: .6rem; padding: .15em .45em; }
.avatar-sm {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1B2A4A, var(--gold-dark));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  border: 2px solid rgba(37,99,235,.5);
}
.avatar-navbar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(37,99,235,.5);
}
.avatar-online-wrap { position: relative; display: inline-block; }
.avatar-online-dot {
  position: absolute; bottom: -1px; right: -1px;
  width: 12px; height: 12px;
  background: #10b981;
  border-radius: 50%;
  border: 2px solid #0F172A;
}


/* ─── Hero Section ─── */
.hero-section { position: relative; min-height: 520px; overflow: hidden; }
.hero-slide {
  min-height: 520px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background-size: cover; background-position: center;
  color: #fff;
}
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.92), rgba(10,10,10,0.88), rgba(26,26,26,0.8));
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: 3rem 2rem;
}
.hero-content .tagline {
  display: inline-block;
  color: var(--accent-light);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-content .subtitle {
  color: var(--gold-light);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 700; padding: .85rem 2.2rem;
  border-radius: 50px; font-size: 1rem;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,99,235,.5); color: var(--navy); }

/* Stats bar */
.stats-bar {
  background: linear-gradient(135deg, #020617, #0F172A 50%, #0F172A);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(37,99,235,.03) 60px, rgba(37,99,235,.03) 61px),
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(37,99,235,.03) 60px, rgba(37,99,235,.03) 61px);
  pointer-events: none;
}
.stats-bar::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.stat-item { text-align: center; padding: 1rem; position: relative; z-index: 1; }
.stat-number { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.55); margin-top: .35rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 500; }

/* ─── Section Styles ─── */
.section { padding: 5rem 0; position: relative; }
.section-sm { padding: 3rem 0; }
.section-alt {
  background: #F8FAFC;
  position: relative;
}
.section-alt::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(37,99,235,.04) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(37,99,235,.03) 0%, transparent 50%);
  pointer-events: none;
}
.section-dark {
  background: linear-gradient(135deg, #0F172A, #0F172A 40%, #1B2A4A 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(37,99,235,.025) 40px, rgba(37,99,235,.025) 41px),
    repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(37,99,235,.025) 40px, rgba(37,99,235,.025) 41px);
  pointer-events: none;
}
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5 { color: #fff; }
.section-cream {
  background: linear-gradient(180deg, #f9f6f0, #F1F5F9);
  position: relative;
}
.section-cream::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(37,99,235,.06) 0%, transparent 40%),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(37,99,235,.015) 80px, rgba(37,99,235,.015) 81px);
  pointer-events: none;
}
/* Luxury gold divider between sections */
.section + .section-dark::after,
.section-dark + .section::after {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ═══ HOMEPAGE SECTION BACKGROUNDS — Unique per section ═══ */

/* ── COURSES — Floating blue dot grid + gradient glow ── */
.section-courses {
  background: linear-gradient(180deg, #ffffff 0%, #EFF6FF 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.section-courses::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(37,99,235,.07) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  pointer-events: none;
}
.section-courses::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.08), transparent 70%);
  pointer-events: none;
  animation: floatBlob 12s ease-in-out infinite;
}

/* ── EVENTS — Wave SVG bottom + warm accent tint ── */
.section-events {
  background: linear-gradient(180deg, #FFFBEB 0%, #FEF3C7 30%, #FFF8E1 100%);
  position: relative;
  overflow: hidden;
}
.section-events::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(245,158,11,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(37,99,235,.05) 0%, transparent 50%);
  pointer-events: none;
}
.section-events::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23ffffff' fill-opacity='0.6' d='M0,48L60,42.7C120,37,240,27,360,32C480,37,600,59,720,64C840,69,960,59,1080,48C1200,37,1320,27,1380,21.3L1440,16L1440,80L0,80Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom center;
  background-size: 100% 80px;
  pointer-events: none;
}

/* ── EXAMINATIONS — Geometric blueprint grid ── */
.section-exams {
  background: linear-gradient(180deg, #F0F9FF 0%, #E0F2FE 40%, #F0F9FF 100%);
  position: relative;
  overflow: hidden;
}
.section-exams::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(37,99,235,.04) 59px, rgba(37,99,235,.04) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(37,99,235,.04) 59px, rgba(37,99,235,.04) 60px);
  pointer-events: none;
}
.section-exams::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,78,216,.06), transparent 70%);
  pointer-events: none;
  animation: floatBlob 15s ease-in-out infinite reverse;
}

/* ── AWARDS — Diagonal gold stripes + shimmer ── */
.section-awards {
  background: linear-gradient(180deg, #ffffff 0%, #FFFDF7 40%, #FFF9EB 100%);
  position: relative;
  overflow: hidden;
}
.section-awards::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(212,168,67,.035) 40px,
      rgba(212,168,67,.035) 41px
    );
  pointer-events: none;
}
.section-awards::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,168,67,.04), transparent);
  animation: shineSwipe 8s ease-in-out infinite;
  pointer-events: none;
}

/* ── INFRASTRUCTURE — Blueprint crosshatch + circles ── */
.section-infra {
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 50%, #F8FAFC 100%);
  position: relative;
  overflow: hidden;
}
.section-infra::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 85%, rgba(37,99,235,.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(37,99,235,.04) 0%, transparent 40%),
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(37,99,235,.018) 30px, rgba(37,99,235,.018) 31px),
    repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(37,99,235,.018) 30px, rgba(37,99,235,.018) 31px);
  pointer-events: none;
}
.section-infra::after {
  content: '';
  position: absolute;
  top: 50%; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 2px dashed rgba(37,99,235,.06);
  pointer-events: none;
  animation: spinSlow 40s linear infinite;
}

/* ── PLACEMENTS — Circuit-board inspired pattern ── */
.section-placements {
  background: linear-gradient(180deg, #ffffff 0%, #F0FDF4 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.section-placements::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(16,185,129,.06) 1px, transparent 1px),
    linear-gradient(90deg, transparent 49.5%, rgba(16,185,129,.03) 49.5%, rgba(16,185,129,.03) 50.5%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(16,185,129,.03) 49.5%, rgba(16,185,129,.03) 50.5%, transparent 50.5%);
  background-size: 24px 24px, 48px 48px, 48px 48px;
  pointer-events: none;
}
.section-placements::after {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.06), transparent 70%);
  pointer-events: none;
  animation: floatBlob 10s ease-in-out infinite;
}

/* ── ABOUT / LEGACY — Topographic organic lines ── */
.section-about {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 50%, #F8FAFC 100%);
  position: relative;
  overflow: hidden;
}
.section-about::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,100 C50,80 100,120 200,100' fill='none' stroke='rgba(37,99,235,0.04)' stroke-width='1'/%3E%3Cpath d='M0,60 C60,40 140,80 200,60' fill='none' stroke='rgba(37,99,235,0.03)' stroke-width='1'/%3E%3Cpath d='M0,140 C40,160 160,120 200,140' fill='none' stroke='rgba(37,99,235,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}
.section-about::after {
  content: '';
  position: absolute;
  top: 30%; left: -100px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.04), transparent 70%);
  pointer-events: none;
}

/* ── CONTACT — Clean hexagonal hint ── */
.section-contact {
  background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 50%, #EFF6FF 100%);
  position: relative;
  overflow: hidden;
}
.section-contact::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 10% 50%, rgba(37,99,235,.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 50%, rgba(37,99,235,.05) 0%, transparent 40%);
  pointer-events: none;
}
.section-contact::after {
  content: '';
  position: absolute;
  bottom: -50px; right: 10%;
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 2px solid rgba(37,99,235,.05);
  pointer-events: none;
}

/* ═══ Section Background Keyframes ═══ */
@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}
@keyframes shineSwipe {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ═══ Scroll Reveal Animation ═══ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.6s; }

/* ── Shimmer text effect for section tags ── */
.shimmer-text {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold), var(--gold-light));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 3s linear infinite;
}
@keyframes shimmerText {
  to { background-position: 200% center; }
}

/* ── Glow card hover effect ── */
.shine-card {
  position: relative;
  overflow: hidden;
}
.shine-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.shine-card:hover::after {
  transform: translateX(100%);
}

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .section-tag {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: .5rem;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
}
.section-dark .section-header .section-tag { color: var(--gold-light); }
.section-dark .section-header h2::after { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.section-header p { color: var(--muted); margin-top: 1rem; max-width: 600px; margin-inline: auto; }
.section-dark .section-header p { color: rgba(255,255,255,.7); }

/* ─── Cards ─── */
.royal-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  transition: all .4s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
  position: relative;
}
.royal-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transition: transform .4s ease;
}
.royal-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.08), 0 0 0 1px rgba(37,99,235,.12);
  transform: translateY(-6px);
}
.royal-card:hover::after { transform: scaleX(1); }
.royal-card .card-body { padding: 1.5rem; }
.royal-card .card-img-top { height: 200px; object-fit: cover; }
.royal-card .card-header {
  background: rgba(248,250,252,0.6);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 1.5rem;
}
.royal-card .card-footer {
  background: rgba(248,250,252,0.6);
  border-top: 1px solid var(--border-light);
}

.icon-card { text-align: center; padding: 2rem 1.5rem; }
.icon-card .icon-wrap {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1B2A4A, #0F172A);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem; color: var(--gold);
  transition: var(--transition);
  border: 1px solid rgba(37,99,235,.15);
}
.icon-card:hover .icon-wrap {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  transform: scale(1.1);
}

/* Stat cards */
.stat-card,.stats-card {
  border: none;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  background: white;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  border-radius: 4px 0 0 4px;
}
.stat-card.primary::before { background: var(--gold); }
.stat-card.accent::before { background: var(--gold); }
.stat-card.success::before { background: var(--success); }
.stat-card.danger::before { background: var(--danger); }
.stat-card.info::before { background: var(--info); }
.stat-card.warning::before { background: var(--warning); }
.stat-card:hover,.stats-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.stat-card .stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.stat-card .stat-value { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; line-height: 1; color: var(--text-dark); }
.stat-card .stat-label { font-size: .78rem; color: var(--muted); }

/* ─── Page Header ─── */
.page-header {
  background: linear-gradient(135deg, #0F172A 0%, #1B2A4A 40%, #1E3A5F 70%, #0F172A 100%);
  padding: 7rem 0 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(37,99,235,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(37,99,235,.05) 0%, transparent 50%),
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(37,99,235,.02) 30px, rgba(37,99,235,.02) 31px),
    repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(37,99,235,.02) 30px, rgba(37,99,235,.02) 31px);
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-header > .container { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: #fff; margin-bottom: .25rem; }
.page-header .breadcrumb { margin-bottom: 0; }
.page-header .breadcrumb-item,.page-header .breadcrumb-item a { color: rgba(255,255,255,.6); font-size: .85rem; }
.page-header .breadcrumb-item.active { color: var(--gold-light); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ─── Auth Pages ─── */
.auth-page {
  min-height: 100vh;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1rem;
}
.auth-container {
  width: 100%; max-width: 1020px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.15);
  border: 1px solid var(--border-light);
  min-height: 560px;
}
.auth-left {
  background: linear-gradient(135deg, #020617, #0F172A, #1E293B);
  padding: 48px 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  text-align: center;
}
.auth-left::before {
  content: '';
  position: absolute; inset: 0;
  opacity: .1;
  background-image: url('https://images.unsplash.com/photo-1562774053-701939374585?w=800');
  background-size: cover; background-position: center;
}
.auth-left > * { position: relative; z-index: 1; }
.auth-left-icon {
  width: 80px; height: 80px;
  background: rgba(37,99,235,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--gold);
  margin-bottom: 24px;
  border: 1px solid rgba(37,99,235,.2);
}
.auth-left h2 {
  font-family: var(--font-display); color: white;
  font-size: 2rem; font-weight: 700; margin-bottom: 16px; line-height: 1.2;
}
.auth-left p { color: rgba(37,99,235,.6); font-size: .95rem; margin-bottom: 32px; line-height: 1.6; max-width: 340px; }
.auth-left-stats { display: flex; gap: 32px; justify-content: center; }
.auth-left-stat { text-align: center; }
.auth-left-stat .value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: white; display: block; }
.auth-left-stat .label { font-size: .75rem; color: rgba(37,99,235,.5); }
.gold-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  margin-bottom: 24px;
}
.auth-right {
  background: white;
  padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.auth-right h4 {
  font-family: var(--font-display); font-weight: 700;
  color: var(--text-dark); margin-bottom: 4px; font-size: 1.5rem;
}
.auth-right .subtitle { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }

/* Role tabs */
.role-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: var(--radius-lg);
  padding: 4px;
  margin-bottom: 24px;
  gap: 2px;
}
.role-tab {
  flex: 1; text-align: center;
  padding: 10px 8px;
  border-radius: var(--radius-md);
  font-size: .82rem; font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none; background: none;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.role-tab:hover { color: var(--text-dark); }
.role-tab.active {
  background: white;
  color: var(--gold-dark);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Old auth-card compat */
.auth-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem;
  animation: fadeInUp .6s ease;
  position: relative; z-index: 1;
}

/* ─── Forms ─── */
.royal-form .form-control,
.royal-form .form-select {
  padding: .7rem 1rem;
  border-radius: var(--radius-md);
  background: #f8fafc;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: .9rem;
  transition: var(--transition);
}
.royal-form .form-control:focus,
.royal-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  background: white;
}
.royal-form .form-control::placeholder { color: var(--text-light); }
.royal-form .form-label, .royal-form label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .35rem;
}
.royal-form .input-group-text {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  border-color: var(--border-light);
  background: white;
  color: var(--muted);
}
.royal-form .form-text { font-size: .75rem; color: var(--muted); }

/* ─── Buttons ─── */
.btn-royal {
  background: linear-gradient(135deg, #0F172A, #1B2A4A);
  color: var(--gold); border: none;
  padding: .7rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600; font-size: .875rem;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.btn-royal:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  color: var(--gold-light);
  background: linear-gradient(135deg, #1B2A4A, #253B66);
}
.btn-royal-accent, .btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy); border: none;
  padding: .65rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700; font-size: .875rem;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}
.btn-royal-accent:hover, .btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(37,99,235,.25);
  color: var(--navy);
}
.btn-royal-outline {
  background: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold-dark);
  padding: .55rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600; font-size: .875rem;
  transition: var(--transition);
}
.btn-royal-outline:hover { background: var(--gold-dark); color: #fff; transform: translateY(-1px); }

/* ─── Tables ─── */
.royal-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.royal-table thead th {
  background: linear-gradient(135deg, #0F172A, #1B2A4A);
  color: var(--gold);
  font-weight: 600; font-size: .76rem;
  text-transform: uppercase; letter-spacing: .05em;
  padding: .85rem 1rem;
  border: none; white-space: nowrap;
}
.royal-table thead th:first-child { border-radius: var(--radius-md) 0 0 0; }
.royal-table thead th:last-child { border-radius: 0 var(--radius-md) 0 0; }
.royal-table tbody td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border-light);
  font-size: .85rem; vertical-align: middle;
}
.royal-table tbody tr:hover { background: rgba(37,99,235,.03); }
.royal-table tbody tr:last-child td { border-bottom: none; }

/* ─── Badges ─── */
.badge-royal { background: rgba(30,58,138,.1); color: var(--royal); font-weight: 600; }
.badge-accent, .badge-gold { background: rgba(37,99,235,.12); color: var(--gold-dark); font-weight: 600; }
.badge-pass, .badge-approved, .badge-success { background: rgba(16,185,129,.1); color: #059669; font-weight: 600; }
.badge-fail, .badge-rejected, .badge-danger { background: rgba(239,68,68,.1); color: #dc2626; font-weight: 600; }
.badge-pending, .badge-warning { background: rgba(245,158,11,.1); color: #92400e; font-weight: 600; }
.badge-info { background: rgba(14,165,233,.1); color: #0284c7; font-weight: 600; }

/* ─── Modern Admin Dashboard ─── */
.dashboard-wrapper { display: flex; min-height: 100vh; }

/* Sidebar — Dark Purple SPA-style */
.sidebar {
  width: 270px;
  background: linear-gradient(180deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1040;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  border-right: 1px solid rgba(37,99,235,.08);
  scrollbar-width: thin;
  scrollbar-color: rgba(37,99,235,.2) transparent;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(37,99,235,.2); border-radius: 4px; }

/* Sidebar Brand */
.sidebar-brand {
  padding: 1.5rem 1.25rem;
  display: flex; align-items: center; gap: .75rem;
  border-bottom: 1px solid rgba(37,99,235,.1);
  position: sticky; top: 0; z-index: 2;
  background: rgba(13,11,26,.95);
  backdrop-filter: blur(12px);
}
.sidebar-brand-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff;
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
  flex-shrink: 0;
}
.sidebar-brand-text { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #fff; line-height: 1.2; }
.sidebar-brand-text small { display: block; font-size: .65rem; font-weight: 400; color: rgba(255,255,255,.45); letter-spacing: .05em; }

/* Sidebar Search */
.sidebar-search { padding: .75rem 1rem; }
.sidebar-search-input {
  width: 100%; padding: .55rem .85rem .55rem 2.2rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(37,99,235,.12);
  border-radius: 10px;
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  outline: none;
  transition: all .2s;
}
.sidebar-search-input::placeholder { color: rgba(255,255,255,.3); }
.sidebar-search-input:focus {
  background: rgba(255,255,255,.1);
  border-color: rgba(37,99,235,.3);
  box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}
.sidebar-search-wrap { position: relative; }
.sidebar-search-wrap i {
  position: absolute; left: .75rem; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.3); font-size: .85rem;
}

/* Sidebar Navigation */
.sidebar-nav { padding: .5rem .75rem 1.5rem; }
.sidebar-nav .nav-label {
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.25);
  padding: 1rem .75rem .4rem;
  font-weight: 700;
}
.sidebar-nav .nav-item { margin-bottom: 1px; }
.sidebar-nav .nav-link {
  display: flex; align-items: center; gap: .65rem;
  color: rgba(255,255,255,.55);
  padding: .5rem .85rem;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 500;
  transition: all .2s;
  position: relative;
  text-decoration: none;
}
.sidebar-nav .nav-link:hover {
  background: rgba(37,99,235,.1);
  color: rgba(255,255,255,.9);
}
.sidebar-nav .nav-link.active {
  background: linear-gradient(135deg, rgba(37,99,235,.18), rgba(37,99,235,.08));
  color: #fff;
  font-weight: 600;
}
.sidebar-nav .nav-link.active::before {
  content: '';
  position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #2563EB;
}
.sidebar-nav .nav-link i {
  font-size: .95rem; width: 20px; text-align: center;
  color: rgba(255,255,255,.35);
  transition: color .2s;
}
.sidebar-nav .nav-link:hover i { color: rgba(255,255,255,.7); }
.sidebar-nav .nav-link.active i { color: #60A5FA; }
.sidebar-badge {
  margin-left: auto;
  background: #EF4444;
  color: #fff;
  font-size: .6rem;
  padding: .15em .5em;
  border-radius: 10px;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}

/* Sidebar User */
.sidebar-user {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(37,99,235,.1);
  margin-top: auto;
  display: flex; align-items: center; gap: .65rem;
}
.sidebar-user-avatar {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .85rem;
  flex-shrink: 0;
}
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name { color: rgba(255,255,255,.85); font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { color: rgba(255,255,255,.35); font-size: .65rem; text-transform: uppercase; letter-spacing: .05em; }

/* Collapsible nav groups */
.sidebar-nav .nav-group-toggle {
  cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem .75rem .35rem;
}
.sidebar-nav .nav-group-toggle .nav-label { padding: 0; margin: 0; }
.sidebar-nav .nav-group-toggle .nav-chevron {
  color: rgba(255,255,255,.2);
  font-size: .65rem;
  transition: transform .2s;
}
.sidebar-nav .nav-group-toggle.collapsed .nav-chevron { transform: rotate(-90deg); }
.sidebar-nav .nav-group-body { overflow: hidden; transition: max-height .3s ease; }
.sidebar-nav .nav-group-body.collapsed { max-height: 0 !important; }

/* Dashboard Content */
.dashboard-content {
  flex: 1;
  margin-left: 270px;
  padding: 0;
  min-width: 0;
  background: #f8f7fc;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Content Top Bar */
.admin-topbar {
  padding: .9rem 1.3rem;
  min-height: 76px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.04);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
}
.admin-topbar-title h4 {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.06rem;
  color: #0F172A; margin: 0;
}
.admin-topbar-title small { color: #94a3b8; font-size: .8rem; }
.admin-topbar-actions { display: flex; align-items: center; gap: .75rem; }

.admin-dash-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0F172A, #1E3A8A);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(15,23,42,.18);
}
.admin-dash-icon i { font-size: 1.05rem; }

.admin-notif-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0F172A;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: all .2s;
}
.admin-notif-btn:hover {
  border-color: rgba(37,99,235,.24);
  box-shadow: 0 6px 16px rgba(37,99,235,.12);
}
.admin-notif-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid #fff;
}

.admin-notif-head {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-notif-head h6 {
  margin: 0;
  color: #0F172A;
  font-weight: 700;
  font-size: .95rem;
}
.admin-notif-head a {
  color: #1D4ED8;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
}
.admin-notif-hint {
  color: #64748b;
  font-size: .74rem;
  font-weight: 600;
}
.admin-notif-list {
  max-height: 320px;
  overflow-y: auto;
}
.admin-notif-item {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.admin-notif-item-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background .2s ease;
}
.admin-notif-item-btn:hover {
  background: rgba(15, 23, 42, .04);
}
.admin-notif-title {
  font-size: .83rem;
  color: #0F172A;
  font-weight: 700;
  margin-bottom: 3px;
}
.admin-notif-msg {
  font-size: .79rem;
  color: #64748b;
  line-height: 1.35;
}
.admin-notif-time {
  margin-top: 4px;
  font-size: .69rem;
  color: #94a3b8;
}
.admin-notif-empty {
  padding: 1.5rem;
  text-align: center;
  color: #94a3b8;
  font-size: .82rem;
}

.admin-approvals-btn {
  border-radius: 16px;
  padding: .7rem 1.15rem;
  font-size: .9rem;
}

.admin-tab-scrollbar {
  height: 14px;
  background: #e2e8f0;
  border-radius: 0;
  overflow: hidden;
}
.admin-tab-scrollbar span {
  display: block;
  height: 100%;
  width: 36%;
  background: #b6c3d3;
}

/* Admin Page Body */
.admin-dashboard-page {
  width: min(1360px, calc(100vw - 32px));
  margin: 0 auto;
  min-width: 0;
}

.admin-body {
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}

/* Stat Cards — Modern React Style */
.admin-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 0; }
.admin-stats-second-row { margin-top: 0; }
.admin-stat-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.admin-stat-link:hover { text-decoration: none; color: inherit; }
.admin-stat {
  background:
    radial-gradient(circle at 86% 14%, color-mix(in srgb, var(--stat-color) 18%, white) 0 26px, transparent 27px),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-radius: 14px;
  padding: .78rem .92rem;
  position: relative;
  overflow: hidden;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 4px 14px rgba(15,23,42,.06), inset 0 1px 0 rgba(255,255,255,.9);
  min-height: 96px;
  min-width: 0;
}
.admin-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--stat-color) 26%, transparent), 0 3px 10px rgba(15,23,42,.08);
  border-color: color-mix(in srgb, var(--stat-color) 44%, #cbd5e1);
}
.admin-stat-link .admin-stat { cursor: pointer; }
.admin-stat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,.34), transparent 55%);
  pointer-events: none;
}
.admin-stat-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; color: #fff;
  margin-bottom: 8px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--stat-color) 85%, #ffffff), var(--stat-color));
  box-shadow: 0 5px 12px color-mix(in srgb, var(--stat-color) 33%, transparent);
}
.admin-stat-value {
  font-family: var(--font-display);
  font-size: 1.85rem; font-weight: 800;
  color: #0F172A; line-height: 1;
  margin-bottom: 4px;
}
.admin-stat-label {
  font-size: .8rem;
  color: #64748b;
  font-weight: 600;
  letter-spacing: .01em;
}
.admin-stat-change { font-size: .7rem; font-weight: 600; margin-top: 6px; }
.admin-stat-change.up { color: #10b981; }
.admin-stat-change.down { color: #ef4444; }

/* Admin Cards — Clean White */
.admin-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.03);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  overflow: hidden;
  transition: box-shadow .2s;
  max-width: 100%;
}
.admin-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.admin-card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,.04);
  display: flex; align-items: center; justify-content: space-between;
}
.admin-card-header h5 {
  font-family: var(--font-display);
  font-weight: 700; font-size: .95rem;
  color: #0F172A; margin: 0;
  display: flex; align-items: center; gap: 8px;
}
.admin-card-header h5 i { color: #2563EB; font-size: .9rem; }
.admin-card-body { padding: 1rem 1.25rem; }

/* Admin Table — Clean React Style */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  padding: 11px 14px;
  font-size: .7rem; font-weight: 700;
  color: #94a3b8; text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid rgba(0,0,0,.04);
  background: #fafafa;
  white-space: nowrap;
}
.admin-table td {
  padding: 13px 14px;
  font-size: .84rem;
  color: #334155;
  border-bottom: 1px solid rgba(0,0,0,.03);
  vertical-align: middle;
}
.admin-table tr:hover { background: rgba(37,99,235,.015); }
.admin-table tr:last-child td { border-bottom: none; }

/* Quick Actions — Pill Grid */
.admin-quick-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.admin-quick-action {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: .85rem .5rem;
  border-radius: 12px;
  text-decoration: none;
  color: #475569;
  font-size: .78rem; font-weight: 600;
  transition: all .2s;
  border: 1px solid transparent;
  text-align: center;
}
.admin-quick-action:hover {
  background: rgba(37,99,235,.05);
  color: #1D4ED8;
  border-color: rgba(37,99,235,.1);
  transform: translateY(-1px);
}
.admin-quick-action i {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  background: rgba(37,99,235,.06);
  color: #2563EB;
  transition: all .2s;
}
.admin-quick-action:hover i {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
}

/* Admin Badge Pills */
.admin-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: .2em .65em; border-radius: 6px;
  font-size: .72rem; font-weight: 600;
}
.admin-badge-purple { background: rgba(37,99,235,.08); color: #1D4ED8; }
.admin-badge-green { background: rgba(16,185,129,.08); color: #059669; }
.admin-badge-red { background: rgba(239,68,68,.08); color: #DC2626; }
.admin-badge-blue { background: rgba(59,130,246,.08); color: #2563EB; }
.admin-badge-amber { background: rgba(245,158,11,.08); color: #D97706; }

/* Admin Btn */
.admin-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: .45rem 1rem;
  border-radius: 10px;
  font-size: .82rem; font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  border: none; cursor: pointer;
}
.admin-btn-primary {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37,99,235,.25);
}
.admin-btn-primary:hover { box-shadow: 0 4px 16px rgba(37,99,235,.35); transform: translateY(-1px); color: #fff; }
.admin-btn-ghost {
  background: transparent;
  color: #64748b;
  border: 1px solid rgba(0,0,0,.08);
}
.admin-btn-ghost:hover { background: rgba(37,99,235,.05); color: #1D4ED8; border-color: rgba(37,99,235,.15); }

/* Empty State */
.admin-empty {
  text-align: center;
  padding: 3rem 1rem;
}
.admin-empty-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(37,99,235,.04));
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.admin-empty-icon i { font-size: 2rem; color: #2563EB; }
.admin-empty h4 { color: #64748b; font-size: 1.05rem; font-weight: 600; margin-bottom: .25rem; }
.admin-empty p { color: #94a3b8; font-size: .85rem; }

/* ─── Notification Dropdown ─── */
.admin-notif-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.04);
  z-index: 200;
  overflow: hidden;
  animation: adminDropIn .2s ease;
}
@keyframes adminDropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Admin Content Tabs ─── */
.admin-tabs-wrap {
  border-bottom: 3px solid rgba(37,99,235,.08);
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 #e2e8f0;
}
.admin-tabs-wrap::-webkit-scrollbar {
  height: 10px;
}
.admin-tabs-wrap::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 999px;
}
.admin-tabs-wrap::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 999px;
}
.admin-tabs {
  display: flex;
  gap: 0;
  width: max-content;
  padding: 0 8px;
}
.admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 15px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  font-size: .8rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  position: relative;
}
.admin-tab:hover { color: #2563EB; background: rgba(37,99,235,.03); }
.admin-tab.active {
  color: #2563EB;
  border-bottom-color: #2563EB;
}
.admin-tab i { font-size: .9rem; }
.admin-tab-content { min-height: 200px; }

.admin-tab-scrollbar {
  display: none;
}

.admin-tab-scrollbar span {
  display: block;
  height: 100%;
  width: 28%;
  background: #b6c3d3;
  transition: transform .2s ease, width .2s ease;
}

.admin-content-panel-body {
  padding: 1.35rem;
}

.admin-content-split {
  display: block;
}

.admin-content-split.with-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 14px;
  align-items: start;
}

.admin-create-panel {
  position: sticky;
  top: 116px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 8px 22px rgba(15,23,42,.08);
  overflow: hidden;
}

.admin-create-panel-head {
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(15,23,42,.08);
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
}

.admin-create-panel-head h6 {
  margin: 0;
  font-size: .9rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: .45rem;
}

.admin-create-panel-head i {
  color: #2563eb;
}

.admin-create-panel-form {
  padding: .9rem 1rem 1rem;
}

.admin-form-grid-side {
  grid-template-columns: 1fr;
  gap: .75rem;
}

.admin-form-grid-side .admin-form-field.span-2 {
  grid-column: auto;
}

.admin-add-new-btn {
  padding: .56rem 1.08rem;
  border-radius: 10px;
  font-size: .86rem;
  min-height: 40px;
}

.admin-content-panel-title {
  margin: 0;
  font-size: 1.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #0F172A;
}

.admin-dashboard-sticky {
  position: sticky;
  top: 72px;
  z-index: 5;
  background: #f8f7fc;
  padding-bottom: .35rem;
}

.admin-content-table-wrap {
  overflow: auto;
  max-width: 100%;
  max-height: calc(100vh - 330px);
}

.admin-form-shell {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.admin-form-card {
  border-radius: 18px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
}

.admin-form-field {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.admin-form-field.span-2,
.admin-form-actions.span-2 {
  grid-column: 1 / -1;
}

.admin-form-field label {
  font-size: .82rem;
  font-weight: 600;
  color: #334155;
}

.admin-form-field input,
.admin-form-field select,
.admin-form-field textarea {
  width: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  padding: .62rem .72rem;
  font-size: .88rem;
  color: #0F172A;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.admin-form-field input:focus,
.admin-form-field select:focus,
.admin-form-field textarea:focus {
  border-color: #2563EB;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.admin-checkbox-wrap {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding-top: .4rem;
}

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: .7rem;
  padding-top: .4rem;
}

.settings-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: .5rem .2rem 1.25rem;
}

.settings-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .95rem;
}

.settings-hero h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.settings-hero small {
  color: #64748b;
  font-size: .86rem;
}

.settings-hero-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37,99,235,.25);
}

.settings-card-wrap {
  position: relative;
}

.settings-card {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  border: 1px solid rgba(37,99,235,.14);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 40px rgba(15,23,42,.08);
}

.settings-card-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.settings-glow-1 {
  width: 180px;
  height: 180px;
  top: -32px;
  right: -26px;
  background: radial-gradient(circle, rgba(37,99,235,.2) 0%, rgba(37,99,235,0) 68%);
}

.settings-glow-2 {
  width: 150px;
  height: 150px;
  bottom: -30px;
  left: -20px;
  background: radial-gradient(circle, rgba(16,185,129,.16) 0%, rgba(16,185,129,0) 68%);
}

.settings-form {
  padding: 1.15rem;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .95rem 1rem;
}

.settings-field {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 12px;
  padding: .75rem .78rem;
}

.settings-field label {
  font-size: .79rem;
  letter-spacing: .02em;
  color: #334155;
}

.settings-empty-note {
  grid-column: 1 / -1;
  border: 1px dashed rgba(37,99,235,.3);
  background: rgba(37,99,235,.05);
  color: #1e3a8a;
  border-radius: 12px;
  padding: .7rem .8rem;
  font-size: .82rem;
  font-weight: 500;
}

.settings-form-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

.settings-save-btn {
  min-height: 42px;
  padding: .6rem 1.1rem;
  border-radius: 11px;
  font-size: .86rem;
}

.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(37,99,235,.24) 0%, rgba(37,99,235,0) 40%),
    radial-gradient(circle at 80% 85%, rgba(16,185,129,.18) 0%, rgba(16,185,129,0) 42%),
    rgba(2, 6, 23, .58);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
  backdrop-filter: blur(8px);
}

.admin-modal-card {
  width: min(920px, 96vw);
  max-height: 92vh;
  overflow: auto;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,.25);
  box-shadow: 0 28px 80px rgba(15,23,42,.34), inset 0 1px 0 rgba(255,255,255,.85);
  padding: 1rem;
}

.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .75rem;
}

.admin-modal-header h5 {
  margin: 0;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 700;
}

.admin-modal-header h5 i {
  color: #2563eb;
  margin-right: .35rem;
}

.admin-modal-close {
  border: 1px solid #d7e2f0;
  background: #fff;
  color: #0f172a;
  border-radius: 10px;
  height: 34px;
  width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-modal-close:hover {
  background: #eaf0fb;
}

.pending-review-modal {
  width: min(620px, 94vw);
}

.pending-review-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem .85rem;
  margin-bottom: .9rem;
}

.pending-review-meta > div {
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 10px;
  padding: .55rem .65rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.pending-review-meta span {
  font-size: .67rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #64748b;
  font-weight: 700;
}

.pending-review-meta strong {
  font-size: .82rem;
  color: #0f172a;
}

.pending-review-actions {
  display: grid;
  gap: .65rem;
}

.admin-modal-form .admin-form-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

/* ─── Approval Cards ─── */
.approval-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid rgba(0,0,0,.1);
  background: #fff;
  font-size: .85rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all .2s;
}
.approval-tab:hover { border-color: rgba(37,99,235,.2); color: #334155; }
.approval-tab.active {
  background: #0F172A;
  color: #fff;
  border-color: #0F172A;
}
.approval-tab.active-approved.active {
  background: #0F172A;
  color: #fff;
}
.approval-tab.active-rejected.active {
  background: #0F172A;
  color: #fff;
}
.approval-tab-count {
  background: rgba(0,0,0,.08);
  padding: 1px 8px;
  border-radius: 10px;
  font-size: .7rem;
  font-weight: 700;
}
.approval-tab.active .approval-tab-count { background: rgba(255,255,255,.2); }

.approval-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 1px 4px rgba(0,0,0,.03);
  padding: 20px 24px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all .2s;
}
.approval-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.pending-card { border-left: 3px solid #f59e0b; }
.approved-card { border-left: 3px solid #10b981; }
.rejected-card { border-left: 3px solid #ef4444; }

.approval-badges { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.approval-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.pending-badge { background: rgba(245,158,11,.1); color: #D97706; }
.approved-badge { background: rgba(16,185,129,.1); color: #059669; }
.rejected-badge { background: rgba(239,68,68,.1); color: #DC2626; }
.approval-type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 600;
  background: rgba(37,99,235,.08);
  color: #2563EB;
}
.approval-table-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 600;
  background: rgba(16,185,129,.08);
  color: #059669;
}
.approval-meta { font-size: .84rem; color: #475569; margin-bottom: 4px; }
.approval-meta strong { color: #0F172A; }
.approval-time { font-size: .75rem; color: #94a3b8; }

/* ─── Gallery ─── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden; position: relative; aspect-ratio: 4/3; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .overlay,.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,.6));
  display: flex; align-items: flex-end; padding: 1rem;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .overlay,.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* ─── Testimonials ─── */
.testimonial-card {
  background: rgba(255,255,255,.06); border-radius: var(--radius-2xl);
  padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,.2);
  position: relative; transition: all .4s cubic-bezier(.4,0,.2,1);
  border: 1px solid rgba(37,99,235,.12);
  backdrop-filter: blur(8px);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: .5rem; left: 1.25rem;
  font-size: 4rem; color: var(--gold);
  opacity: .4; font-family: var(--font-display); line-height: 1;
}
.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.3), 0 0 0 1px rgba(37,99,235,.2);
  transform: translateY(-6px);
  border-color: rgba(37,99,235,.3);
}

/* ─── Footer ─── */
.royal-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding-top: 0;
  margin-top: auto;
}
.footer-gold-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--navy-dark), var(--gold), var(--navy-dark));
}
.royal-footer h5, .royal-footer h6 { color: white !important; font-family: var(--font-display); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  transition: var(--transition);
}
.footer-links a:hover { color: white; }
.social-icon, .footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4);
  transition: var(--transition);
}
.social-icon:hover, .footer-social a:hover {
  background: rgba(37,99,235,.2);
  border-color: rgba(37,99,235,.3);
  color: white;
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-contact-item {
  display: flex; align-items: center; gap: 12px;
  font-size: .85rem; color: rgba(255,255,255,.5);
  margin-bottom: 8px;
}
.footer-contact-item i { color: rgba(37,99,235,.6); width: 16px; text-align: center; }

/* ─── Exam ─── */
.exam-container { max-width: 800px; margin: 0 auto; }
.question-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.question-card:hover { box-shadow: var(--shadow-card); }
.question-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #1B2A4A, #0F172A);
  color: var(--gold);
  border-radius: var(--radius-sm);
  font-size: .8rem; font-weight: 700; margin-right: .75rem;
}
.option-label {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: .35rem;
}
.option-label:hover { background: rgba(37,99,235,.05); border-color: var(--gold); }
.option-label:has(input:checked) { background: rgba(37,99,235,.08); border-color: var(--gold); }
.exam-timer {
  position: sticky; top: 108px;
  background: linear-gradient(135deg, #0F172A, #1B2A4A);
  color: var(--gold);
  padding: .75rem 1.25rem;
  border-radius: var(--radius-md);
  text-align: center; z-index: 50;
  font-size: 1.1rem; font-weight: 600;
  box-shadow: var(--shadow-premium);
}
.exam-timer.warning { background: linear-gradient(135deg, #d97706, var(--warning)); }
.exam-timer.danger { background: var(--danger); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .7; } }
.tab-warning {
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--danger); color: #fff;
  text-align: center; padding: .75rem;
  font-weight: 600; z-index: 9999;
  animation: slideDown .3s ease;
}

/* ─── Animations ─── */
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInDown { from{opacity:0;transform:translateY(-10px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes slideDown { from{transform:translateY(-100%)} to{transform:translateY(0)} }
@keyframes slideInLeft { from{opacity:0;transform:translateX(-30px)} to{opacity:1;transform:translateX(0)} }
@keyframes slideInRight { from{opacity:0;transform:translateX(30px)} to{opacity:1;transform:translateX(0)} }
@keyframes goldShimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes scaleIn { from{opacity:0;transform:scale(.9)} to{opacity:1;transform:scale(1)} }
@keyframes goldPulse { 0%,100%{box-shadow:0 0 0 0 rgba(37,99,235,.3)} 50%{box-shadow:0 0 0 12px rgba(37,99,235,0)} }

.animate-fade-in { animation: fadeIn .5s ease; }
.animate-fade-up { animation: fadeInUp .6s ease; }
.animate-slide-left { animation: slideInLeft .6s ease; }
.animate-slide-right { animation: slideInRight .6s ease; }
.animate-scale-in { animation: scaleIn .5s ease; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-gold-pulse { animation: goldPulse 2s ease infinite; }

/* Scroll-reveal: elements start hidden, animate on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(.85);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.stagger > * { animation: fadeInUp .5s ease backwards; }
.stagger > *:nth-child(1) { animation-delay: .05s; }
.stagger > *:nth-child(2) { animation-delay: .1s; }
.stagger > *:nth-child(3) { animation-delay: .15s; }
.stagger > *:nth-child(4) { animation-delay: .2s; }
.stagger > *:nth-child(5) { animation-delay: .25s; }
.stagger > *:nth-child(6) { animation-delay: .3s; }
.stagger > *:nth-child(7) { animation-delay: .35s; }
.stagger > *:nth-child(8) { animation-delay: .4s; }
.stagger > *:nth-child(9) { animation-delay: .45s; }

/* Luxury gold shimmer text */
.gold-shimmer {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 4s linear infinite;
}

/* Luxury divider */
.luxury-divider {
  width: 80px; height: 3px; margin: 1.5rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 3px;
}

/* Gold ornament corners for luxury cards */
.luxury-corners { position: relative; }
.luxury-corners::before,
.luxury-corners::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border: 2px solid var(--gold);
  opacity: .3;
}
.luxury-corners::before { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.luxury-corners::after { bottom: 8px; right: 8px; border-left: none; border-top: none; }

/* ─── Utilities ─── */
.text-accent { color: var(--gold) !important; }
.text-gold { color: var(--gold) !important; }
.text-royal { color: var(--royal) !important; }
.text-navy { color: var(--navy) !important; }
.bg-primary-dark { background: var(--navy) !important; }
.bg-navy { background: var(--navy) !important; }
.border-accent { border-color: var(--gold) !important; }
.rounded-royal { border-radius: var(--radius-2xl) !important; }
.shadow-royal { box-shadow: var(--shadow-card) !important; }
.font-display { font-family: var(--font-display) !important; }
.min-vh-50 { min-height: 50vh; }
.gold-divider { height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.progress-royal { height: 8px; border-radius: 10px; background: #f1f5f9; overflow: hidden; }
.progress-royal .progress-bar { background: linear-gradient(90deg, var(--gold), var(--gold-dark)); border-radius: 10px; }
.skeleton { animation: skeleton-loading 1s linear infinite alternate; border-radius: var(--radius-sm); }
@keyframes skeleton-loading { from{background:#e2e8f0} to{background:#f1f5f9} }

/* ─── Responsive ─── */
@media (max-width: 1199px) {
  .mega-dropdown { display: none !important; }
  .topbar-contact { display: none; }
}
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.show { transform: translateX(0); position: fixed; z-index: 1040; box-shadow: 20px 0 60px rgba(0,0,0,.3); }
  .dashboard-content { margin-left: 0 !important; }
  .admin-dashboard-page { width: 100%; max-width: 100%; }
  .admin-stats { grid-template-columns: repeat(3, 1fr); }
  .admin-body { padding: 1rem; gap: .85rem; }
  .admin-topbar { padding: .75rem 1rem; }
  .admin-content-panel-title { font-size: 1.5rem; }
  .admin-dashboard-sticky { top: 64px; }
  .admin-content-table-wrap { max-height: calc(100vh - 300px); }
}
@media (max-width: 768px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-stat { min-height: 92px; padding: .74rem .76rem; }
  .admin-stat-icon { width: 31px; height: 31px; margin-bottom: 6px; }
  .admin-stat-value { font-size: 1.58rem; }
  .admin-tab { padding: 10px 12px; font-size: .76rem; }
  .admin-topbar {
    flex-wrap: wrap;
    gap: .7rem;
  }
  .admin-topbar-actions {
    width: 100%;
    justify-content: space-between;
  }
  .admin-topbar-title h4 { font-size: 1.05rem; }
  .admin-topbar-title small { font-size: .72rem; }
  .admin-approvals-btn { padding: .55rem .85rem; font-size: .8rem; }
  .admin-notif-dropdown { width: min(92vw, 320px); right: 0; }
  .admin-content-panel-title { font-size: 1.2rem; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-modal-form .admin-form-grid { grid-template-columns: 1fr; }
  .admin-modal-card { width: min(96vw, 640px); padding: .85rem; }
  .admin-content-table-wrap { max-height: calc(100vh - 270px); }
  .admin-form-field.span-2,
  .admin-form-actions.span-2 { grid-column: auto; }
  .auth-container { grid-template-columns: 1fr; max-width: 460px; }
  .auth-left { display: none; }
  .section { padding: 3rem 0; }
  .hero-content h1 { font-size: 2rem; }
  .stat-number { font-size: 1.5rem; }
  .pt-navbar { padding-top: 72px; }
  .topbar { display: none; }
}
@media (max-width: 576px) {
  .admin-dashboard-sticky { top: 56px; }
  .admin-body { padding: .8rem; }
  .admin-stats { grid-template-columns: 1fr; gap: 12px; }
  .admin-content-panel-body { padding: 1rem; }
  .admin-form-actions { justify-content: stretch; }
  .admin-form-actions .admin-btn { flex: 1; justify-content: center; }
  .admin-content-table-wrap { max-height: calc(100vh - 250px); }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .hero-content { padding: 2rem 1rem; }
}

@media (min-width: 1400px) {
  .admin-dashboard-page { width: min(1360px, calc(100vw - 40px)); }
}

/* ═══════════════════════════════════════════════════════════
   HERO V2 — Split Carousel + Application Form
   ═══════════════════════════════════════════════════════════ */
.hero-v2 {
  position: relative;
  min-height: 88vh;
  overflow: visible;
  clip-path: inset(0);
}
.hero-v2-carousel {
  position: relative;
  min-height: 88vh;
}
.hero-v2-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.hero-v2-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-v2-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.92) 0%, rgba(10,10,10,.88) 50%, rgba(26,26,26,.8) 100%);
}
.hero-v2-container {
  position: relative;
  z-index: 2;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 30px;
}
.hero-v2-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  width: 100%;
  align-items: center;
}
.hero-v2-left {
  color: #fff;
}
.hero-v2-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-v2-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero-v2-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.hero-v2-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}
.hero-v2-badge-sep {
  color: rgba(255,255,255,.35);
  font-weight: 300;
  font-size: .85rem;
}
.hero-v2-tagline {
  color: var(--gold);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.hero-v2-stat-boxes {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.hero-v2-stat-box {
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 14px 20px;
  min-width: 200px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
}
.hero-v2-stat-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.2;
}
.hero-v2-stat-label-inline {
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin-left: 4px;
}
.hero-v2-stat-sublabel {
  font-size: .72rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 2px;
}
.hero-v2-bottom-stats {
  display: flex;
  gap: 0;
  background: rgba(0,0,0,.25);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.hero-v2-bottom-stat {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.hero-v2-bottom-stat:last-child {
  border-right: none;
}
.hero-v2-bstat-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}
.hero-v2-bstat-label {
  font-size: .65rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.hero-v2-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.hero-v2-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--gold), #c4982e);
  color: #0F172A;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all .3s;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.hero-v2-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,99,235,.4);
  color: #0F172A;
}
.hero-v2-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 12px 28px;
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all .3s;
}
.hero-v2-btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* Slide Indicators */
.hero-v2-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-70%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-v2-indicator {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: all .3s;
  padding: 0;
}
.hero-v2-indicator.active {
  background: var(--gold);
  width: 60px;
}
.hero-v2-counter {
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  font-weight: 600;
  margin-left: 12px;
  white-space: nowrap;
}

/* ── Application Form Card ── */
.hero-v2-form-card {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: calc((100vw - min(100vw - 3rem, 1320px)) / 2);
  width: 370px;
  z-index: 20;
  background: linear-gradient(160deg, #0F172A 0%, #0F172A 40%, #1B2A4A 70%, #0F172A 100%);
  border-radius: 18px;
  box-shadow: 0 25px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(37,99,235,.25), inset 0 1px 0 rgba(255,255,255,.05);
  border: 1px solid rgba(37,99,235,.22);
  max-height: calc(88vh - 40px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(37,99,235,.3) transparent;
}
/* Traditional decorative pattern overlay */
.hero-v2-form-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(37,99,235,.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(37,99,235,.08) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(37,99,235,.03) 20px,
      rgba(37,99,235,.03) 21px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(37,99,235,.03) 20px,
      rgba(37,99,235,.03) 21px
    );
  pointer-events: none;
  z-index: 0;
  border-radius: 18px;
}
/* Gold corner ornaments */
.hero-v2-form-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(37,99,235,.12) 0%, transparent 15%),
    linear-gradient(-135deg, rgba(37,99,235,.08) 0%, transparent 15%),
    linear-gradient(45deg, rgba(37,99,235,.08) 0%, transparent 15%),
    linear-gradient(-45deg, rgba(37,99,235,.12) 0%, transparent 15%);
  pointer-events: none;
  z-index: 0;
  border-radius: 18px;
}
.hero-v2-form-header {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(37,99,235,.12) 0%, rgba(0,0,0,.4) 50%, rgba(37,99,235,.08) 100%);
  padding: 16px 22px 12px;
  text-align: center;
  border-bottom: 1px solid rgba(37,99,235,.18);
}
.hero-v2-form-header h5 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
  letter-spacing: .3px;
}
.hero-v2-form-gold-line {
  width: 55px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
  margin: 0 auto;
}
.hero-v2-form-body {
  position: relative;
  z-index: 1;
  padding: 14px 20px 14px;
}

/* Form Fields */
.hf-field {
  margin-bottom: 8px;
}
.hf-field input,
.hf-field select {
  width: 100%;
  padding: 9px 14px;
  border: 1.5px solid rgba(37,99,235,.2);
  border-radius: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(4px);
  transition: border-color .3s, background .3s, box-shadow .3s;
  outline: none;
}
.hf-field input:focus,
.hf-field select:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.hf-field input::placeholder {
  color: rgba(255,255,255,.4);
}
.hf-field select {
  color: rgba(255,255,255,.55);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(37,99,235,0.6)' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.hf-field select option {
  background: #0F172A;
  color: #fff;
}
.hf-phone {
  position: relative;
}
.hf-phone-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold);
  pointer-events: none;
  z-index: 2;
  opacity: .8;
}
.hf-phone input {
  padding-left: 46px;
}
.hf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hf-captcha-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.hf-captcha-display {
  flex: 0 0 auto;
  min-width: 100px;
  height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(37,99,235,.3);
}
.hf-captcha-refresh {
  border: none;
  background: none;
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  transition: transform .3s;
}
.hf-captcha-refresh:hover {
  transform: rotate(180deg);
  color: #fff;
}
.hf-captcha-input {
  flex: 1;
  padding: 9px 12px;
  border: 1.5px solid rgba(37,99,235,.2);
  border-radius: 8px;
  font-size: .85rem;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.9);
  outline: none;
}
.hf-captcha-input::placeholder {
  color: rgba(255,255,255,.4);
}
.hf-captcha-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.hf-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  cursor: pointer;
}
.hf-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--gold);
}
.hf-consent span {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  line-height: 1.4;
}
.hf-submit {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, var(--gold), #c4982e, var(--gold));
  background-size: 200% 100%;
  color: #0F172A;
  font-weight: 800;
  font-size: .9rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
  text-transform: uppercase;
  letter-spacing: .8px;
  position: relative;
  overflow: hidden;
}
.hf-submit::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transition: left .6s ease;
}
.hf-submit:hover::before {
  left: 100%;
}
.hf-submit:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,99,235,.4);
}
.hf-submit:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}
.hf-note {
  font-size: .68rem;
  color: rgba(255,255,255,.3);
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
}
.hf-success {
  text-align: center;
  padding: 2rem 1rem;
}
.hf-success i {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: .5rem;
}
.hf-success h6 {
  font-weight: 700;
  color: #fff;
  margin-bottom: .3rem;
}
.hf-success p {
  color: rgba(255,255,255,.6);
  font-size: .85rem;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.spin {
  display: inline-block;
  animation: spin 1s linear infinite;
}

/* ── Hero V2 Responsive ── */
@media (max-width: 1300px) {
  .hero-v2-form-card { width: 350px; }
  .hero-v2-grid { gap: 1.2rem; }
}
@media (max-width: 1100px) {
  .hero-v2-form-card { width: 335px; }
  .hero-v2-grid { gap: 1rem; }
  .hero-v2-title { font-size: 2.6rem; }
  .hero-v2-stat-box { min-width: 170px; padding: 12px 16px; }
}
@media (max-width: 991px) {
  .hero-v2-form-card { display: none !important; }
  .hero-v2-grid { grid-template-columns: 1fr; }
  .hero-v2-title { font-size: 2.4rem; }
  .hero-v2-indicators { left: 50%; transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .hero-v2-title { font-size: 2rem; }
  .hero-v2-stat-boxes { flex-direction: column; }
  .hero-v2-stat-box { min-width: auto; }
  .hero-v2-bottom-stats { flex-wrap: wrap; }
  .hero-v2-bottom-stat { flex: 0 0 50%; }
  .hero-v2-actions { flex-direction: column; align-items: flex-start; }
  .hero-v2-container { padding-top: 56px; }
}
@media (max-width: 576px) {
  .hero-v2-title { font-size: 1.6rem; }
  .hero-v2-badges { gap: 0.3rem; }
  .hero-v2-badge { font-size: .65rem; padding: 3px 8px; }
}

/* ── Application Form Card — LEFT position ── */
.hero-v2-form-card-left {
  position: absolute;
  top: 50%;
  left: 4%;
  transform: translateY(-50%);
  width: 385px;
  z-index: 20;
  background: linear-gradient(160deg, #0F172A 0%, #0F172A 40%, #1B2A4A 70%, #0F172A 100%);
  border-radius: 18px;
  box-shadow: 0 25px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(37,99,235,.25), inset 0 1px 0 rgba(255,255,255,.05);
  border: 1px solid rgba(37,99,235,.22);
  max-height: calc(88vh - 40px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(37,99,235,.3) transparent;
}
.hero-v2-form-card-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(37,99,235,.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(37,99,235,.08) 0%, transparent 50%),
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(37,99,235,.03) 20px, rgba(37,99,235,.03) 21px),
    repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(37,99,235,.03) 20px, rgba(37,99,235,.03) 21px);
  pointer-events: none;
  z-index: 0;
  border-radius: 18px;
}
.hero-v2-form-card-left::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(37,99,235,.12) 0%, transparent 15%),
    linear-gradient(-135deg, rgba(37,99,235,.08) 0%, transparent 15%),
    linear-gradient(45deg, rgba(37,99,235,.08) 0%, transparent 15%),
    linear-gradient(-45deg, rgba(37,99,235,.12) 0%, transparent 15%);
  pointer-events: none;
  z-index: 0;
  border-radius: 18px;
}

@media (max-width: 1300px) {
  .hero-v2-form-card-left { width: 350px; left: 3%; }
}
@media (max-width: 1100px) {
  .hero-v2-form-card-left { width: 340px; left: 2%; }
}
@media (max-width: 991px) {
  .hero-v2-form-card-left { display: none !important; }
}

/* ── Toppers Bar ── */
.toppers-bar {
  background: linear-gradient(135deg, #020617, #0F172A 50%, #1B2A4A);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}
.toppers-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.toppers-bar .toppers-title {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  text-align: center;
  margin-bottom: 1.25rem;
}
.toppers-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 1rem;
}
.toppers-track::-webkit-scrollbar { display: none; }
.topper-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(212,168,67,.15);
  border-radius: 14px;
  padding: .75rem 1.25rem;
  transition: all .3s;
  min-width: 220px;
}
.topper-chip:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(212,168,67,.35);
  transform: translateY(-2px);
}
.topper-chip .topper-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212,168,67,.3);
}
.topper-chip .topper-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1B2A4A, var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  border: 2px solid rgba(212,168,67,.3);
}
.topper-chip .topper-info h6 {
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  margin: 0;
}
.topper-chip .topper-info small {
  font-size: .7rem;
  color: rgba(255,255,255,.5);
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM INNER PAGE STYLES
   ═══════════════════════════════════════════════════════════ */

/* Premium page background with subtle pattern */
.premium-page-bg {
  background:
    linear-gradient(180deg, #F8FAFC 0%, #EDE9FE 30%, #F8FAFC 60%, #FFFFFF 100%);
  position: relative;
}
.premium-page-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(37,99,235,.04) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(37,99,235,.03) 0%, transparent 50%),
    repeating-linear-gradient(0deg, transparent, transparent 100px, rgba(37,99,235,.015) 100px, rgba(37,99,235,.015) 101px),
    repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(37,99,235,.015) 100px, rgba(37,99,235,.015) 101px);
  pointer-events: none;
  z-index: 0;
}
.premium-page-bg > .container { position: relative; z-index: 1; }

/* Premium section with decorative elements */
.premium-section {
  padding: 3rem 0 4rem;
  position: relative;
}

/* Decorative floating orbs */
.premium-page-bg .deco-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.premium-page-bg .deco-orb-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(37,99,235,.06) 0%, transparent 70%);
  top: 10%; right: -5%;
}
.premium-page-bg .deco-orb-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(37,99,235,.04) 0%, transparent 70%);
  bottom: 20%; left: -3%;
}

/* Premium card enhancements */
.premium-card {
  background: white;
  border: 1px solid rgba(37,99,235,.08);
  border-radius: var(--radius-2xl);
  box-shadow: 0 4px 24px rgba(37,99,235,.06), 0 1px 3px rgba(0,0,0,.04);
  transition: all .4s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
  position: relative;
}
.premium-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark), var(--gold));
  opacity: 0;
  transition: opacity .4s ease;
}
.premium-card:hover {
  box-shadow: 0 12px 40px rgba(37,99,235,.12), 0 0 0 1px rgba(37,99,235,.1);
  transform: translateY(-4px);
}
.premium-card:hover::before { opacity: 1; }

/* Premium icon box */
.premium-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1B2A4A 0%, #0F172A 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--gold);
  flex-shrink: 0;
  border: 1px solid rgba(37,99,235,.15);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transition: all .3s ease;
}
.premium-card:hover .premium-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: white;
  transform: scale(1.08);
}

/* Premium table */
.premium-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.premium-table thead th {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: var(--gold);
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 1rem 1.25rem;
  border: none;
  white-space: nowrap;
}
.premium-table thead th:first-child { border-radius: var(--radius-lg) 0 0 0; }
.premium-table thead th:last-child { border-radius: 0 var(--radius-lg) 0 0; }
.premium-table tbody td {
  padding: .85rem 1.25rem;
  border-bottom: 1px solid rgba(37,99,235,.06);
  font-size: .88rem;
  vertical-align: middle;
}
.premium-table tbody tr { transition: background .2s; }
.premium-table tbody tr:hover { background: rgba(37,99,235,.03); }
.premium-table tbody tr:last-child td { border-bottom: none; }

/* Premium empty state */
.premium-empty {
  text-align: center;
  padding: 4rem 2rem;
}
.premium-empty-icon {
  width: 100px; height: 100px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(37,99,235,.03));
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(37,99,235,.1);
}
.premium-empty-icon i { font-size: 2.5rem; color: var(--gold-dark); }
.premium-empty h4 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: .5rem;
}
.premium-empty p { color: var(--muted); max-width: 400px; margin: 0 auto; }

/* Premium form enhancements */
.premium-form .form-control,
.premium-form .form-select {
  padding: .8rem 1.1rem;
  border-radius: var(--radius-md);
  background: #FAFAF8;
  border: 1.5px solid rgba(37,99,235,.12);
  color: var(--text-dark);
  font-size: .9rem;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.premium-form .form-control:focus,
.premium-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(37,99,235,.08), 0 2px 8px rgba(37,99,235,.06);
  background: #fff;
  outline: none;
}
.premium-form .form-control::placeholder { color: #94a3b8; }
.premium-form .form-label,
.premium-form label:not(.btn) {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .4rem;
  display: block;
}
.premium-form textarea.form-control { resize: vertical; min-height: 100px; }

/* Premium badge */
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.premium-badge-purple {
  background: rgba(37,99,235,.1);
  color: #1D4ED8;
}
.premium-badge-green {
  background: rgba(16,185,129,.1);
  color: #059669;
}
.premium-badge-amber {
  background: rgba(245,158,11,.1);
  color: #92400e;
}
.premium-badge-blue {
  background: rgba(59,130,246,.1);
  color: #1d4ed8;
}

/* Profile page premium background */
.profile-premium-bg {
  background:
    linear-gradient(180deg, #0F172A 0%, #1E293B 15%, #F8FAFC 15%, #F8FAFC 100%);
  position: relative;
}
.profile-premium-bg::before {
  content: '';
  position: absolute;
  top: 15%; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(37,99,235,.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(37,99,235,.03) 0%, transparent 50%);
  pointer-events: none;
}

/* Student dashboard premium */
.student-dash-stats .royal-card {
  border: 1px solid rgba(37,99,235,.08);
  background: linear-gradient(135deg, white 0%, #FAFAFE 100%);
}

/* Contact page map placeholder */
.contact-map-placeholder {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 2rem;
  margin-top: 1rem;
  border: 1px solid rgba(37,99,235,.15);
}

/* Responsive premium */
@media (max-width: 768px) {
  .premium-section { padding: 2rem 0 3rem; }
  .page-header { padding: 5.5rem 0 1.5rem; }
}
