/* =====================================================
   PVG — Pardesi Vibe Germany
   Complete Premium Theme CSS
   ===================================================== */

/* ---- Fonts & Variables ---- */
:root {
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-head: 'Space Grotesk', sans-serif;
  --blue:    #1d4ed8;
  --blue-lt: #3b82f6;
  --indigo:  #6d28d9;
  --cyan:    #0ea5e9;
  --green:   #10b981;
  --amber:   #f59e0b;
  --pink:    #ec4899;
  --dark:    #0f172a;
  --dark2:   #1e293b;
  --grey:    #64748b;
  --border:  #e2e8f0;
  --bg:      #f8fafc;
  --white:   #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

/* =====================================================
   TOPBAR
   ===================================================== */
.pvg-topbar {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  font-size: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pvg-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.ptb-left  { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.ptb-right { display: flex; align-items: center; gap: 0.6rem; }
.ptb-item {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .18s;
  white-space: nowrap;
}
.ptb-item:hover { color: #fff; }
.ptb-item i { font-size: 0.7rem; opacity: .7; }
.ptb-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.22rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .18s;
  white-space: nowrap;
}
.ptb-btn:hover { opacity: .85; }
.ptb-btn-contact {
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: #fff;
}
.ptb-btn-logout {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.2);
}
@media (max-width: 575.98px) {
  .pvg-topbar { display: none; }
}

/* =====================================================
   NAVBAR
   ===================================================== */
.pvg-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.pvg-navbar.scrolled { box-shadow: 0 4px 28px rgba(15,23,42,.12); }

.pvg-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
}

.navbar-brand-pvg {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; flex-shrink: 0;
}
.brand-logo {
  width: 2.5rem; height: 2.5rem;
  background: linear-gradient(135deg, #0f172a, var(--blue));
  color: #fff; font-size: 0.85rem; font-weight: 800;
  border-radius: 0.6rem;
  display: flex; align-items: center; justify-content: center;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name  { font-size: 0.95rem; font-weight: 800; color: var(--dark); line-height: 1.1; }
.brand-tagline { font-size: 0.7rem; color: var(--grey); }

.nav-menu {
  display: flex; align-items: center; gap: 0.15rem;
  transition: all 0.3s;
}
.nav-lnk {
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  color: #334155; font-size: 0.88rem; font-weight: 500;
  white-space: nowrap;
  text-decoration: none; transition: color 0.2s, background 0.2s;
}
.nav-lnk:hover, .nav-lnk.active {
  color: var(--blue); background: #eff6ff;
}
.btn-nav-login {
  margin-left: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  color: #334155; font-size: 0.85rem; font-weight: 600;
  border-radius: 0.6rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #fff;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-nav-login:hover { border-color: var(--blue); color: var(--blue); background: #eff6ff; }
.btn-nav-cta {
  margin-left: 0.35rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #0f172a, var(--blue));
  color: #fff; font-size: 0.85rem; font-weight: 700;
  border-radius: 0.6rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: opacity 0.2s;
}
.btn-nav-cta:hover { opacity: 0.88; color: #fff; }
.btn-nav-profile {
  margin-left: 0.3rem;
  padding: 0.45rem 1rem;
  background: transparent;
  color: var(--blue); font-size: 0.85rem; font-weight: 700;
  border-radius: 0.6rem; text-decoration: none;
  border: 2px solid var(--blue);
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: background 0.2s, color 0.2s;
}
.btn-nav-profile:hover,
.btn-nav-profile.active { background: var(--blue); color: #fff; }
.btn-nav-mobile-logout {
  display: none;
  margin-left: 0.3rem;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #dc2626;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 0.6rem;
  text-decoration: none;
  border: 2px solid #fecaca;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-nav-mobile-logout:hover {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fca5a5;
}

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991.98px) {
  .nav-hamburger { display: flex; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    background: #fff; padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
  }
  .nav-menu.open { max-height: 600px; opacity: 1; pointer-events: auto; }
  .nav-lnk { width: 100%; padding: 0.65rem 0.75rem; }
    .btn-nav-profile,
    .btn-nav-mobile-logout,
  .btn-nav-cta { margin: 0.5rem 0 0; width: 100%; justify-content: center; }
    .btn-nav-mobile-logout {
      display: inline-flex;
    }
}

/* =====================================================
   HERO
   ===================================================== */
.hero-section {
  position: relative; overflow: hidden;
  isolation: isolate;
  padding: 3rem 0 4rem;
  background: linear-gradient(180deg, #fff 0%, #f8faff 60%, #f8fafc 100%);
  }
  
  .hero-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
  }
  
  .hero-bg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: opacity .9s ease, transform 6s linear;
    will-change: opacity, transform;
  }
  
  .hero-bg-slide.is-active {
    opacity: 1;
    transform: scale(1);
  }
  
  .hero-slider-controls {
    position: absolute;
    left: 50%;
    bottom: 4.7rem;
    transform: translateX(-50%);
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .hero-slider-arrows {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .hero-slider-arrow,
  .hero-slider-dot {
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease, color 0.2s ease;
  }
  
  .hero-slider-arrow {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    color: var(--dark);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-slider-arrow:hover {
    transform: translateY(-1px);
    background: #fff;
    color: var(--blue);
  }
  
  .hero-slider-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
  }
  
  .hero-slider-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: rgba(29, 78, 216, .24);
  }
  
  .hero-slider-dot:hover {
    transform: scale(1.08);
    background: rgba(29, 78, 216, .48);
  }
  
  .hero-slider-dot.is-active {
    width: 2rem;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
  }
  
  .hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, .84) 0%, rgba(248, 250, 255, .82) 52%, rgba(248, 250, 252, .9) 100%),
      linear-gradient(125deg, rgba(15, 23, 42, .18) 0%, rgba(29, 78, 216, .08) 42%, rgba(255, 255, 255, 0) 100%);
  }
  
  .hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
  background:
    radial-gradient(ellipse at 8% 20%, rgba(29, 78, 216, .14), transparent 45%),
      radial-gradient(ellipse at 90% 10%, rgba(109, 40, 217, .12), transparent 40%),
      radial-gradient(ellipse at 50% 90%, rgba(14, 165, 233, .12), transparent 45%);
}

/* Blobs */
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.hbs {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.22;
}
.hbs-1 { width: 420px; height: 420px; background: var(--blue);    top: -180px; right: -140px; }
.hbs-2 { width: 320px; height: 320px; background: var(--indigo);  bottom: -100px; left: -120px; }
.hbs-3 { width: 200px; height: 200px; background: var(--cyan);    top: 40%; right: 20%; }
.hbs-4 { width: 180px; height: 180px; background: var(--amber);   bottom: 10%; right: 8%; }

/* Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.particle {
  position: absolute; border-radius: 50%;
  background: var(--blue-lt); opacity: 0.2;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0%   { transform: translateY(0)   rotate(0deg); }
  50%  { transform: translateY(-60px) rotate(180deg); }
  100% { transform: translateY(0)   rotate(360deg); }
}

.hero-section .container,
.hero-scroll-cue {
  position: relative;
  z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-slide {
    transition: none;
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .hero-slider-controls {
    bottom: 4rem;
    gap: 0.55rem;
  }

  .hero-slider-arrow {
    width: 2.2rem;
    height: 2.2rem;
  }

  .hero-slider-dots {
    padding: 0.4rem 0.55rem;
    gap: 0.35rem;
  }
}

/* Badge strip */
.hero-badge-strip {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem;
}
.hero-badge-strip span {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: linear-gradient(135deg, #eff6ff, #f0f4ff);
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; color: var(--blue);
}

/* Hero headline */
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--dark);
}
.text-grad {
  background: linear-gradient(120deg, var(--blue), var(--indigo), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-grad-light {
  background: linear-gradient(120deg, #93c5fd, #c4b5fd, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtext { font-size: 1.05rem; color: #475569; margin-bottom: 1.8rem; max-width: 540px; }

/* CTA buttons */
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }

.btn-primary-hero {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  background: linear-gradient(135deg, #0f172a, var(--blue));
  color: #fff; font-weight: 700; font-size: 0.97rem;
  border-radius: 0.75rem; text-decoration: none;
  box-shadow: 0 12px 32px rgba(29,78,216,.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(29,78,216,.45);
  color: #fff;
}

.btn-ghost-hero {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border: 1.5px solid #cbd5e1;
  color: var(--dark); font-weight: 600; font-size: 0.97rem;
  border-radius: 0.75rem; text-decoration: none;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost-hero:hover { border-color: var(--blue); background: #eff6ff; color: var(--dark); }

/* Stats row */
.hero-stats {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0;
}
.hstat { padding: 0 1.25rem; }
.hstat:first-child { padding-left: 0; }
.hstat-num {
  font-family: var(--font-head);
  font-size: 1.75rem; font-weight: 800;
  color: var(--blue);
}
.hstat-label { font-size: 0.77rem; color: var(--grey); }
.hstat-sep {
  width: 1px; height: 44px;
  background: var(--border);
}

/* Hero form card */
.hero-form-card {
  background: #fff;
  border-radius: 1.2rem;
  padding: 1.8rem;
  box-shadow: 0 24px 60px rgba(15,23,42,.12), 0 0 0 1px rgba(0,0,0,.05);
  position: relative;
  z-index: 6;
  /* Keep the hero height and vertically-centered row stable when tools with
     different content heights are selected. */
  min-height: 43.5rem;
}
.hfc-tabs {
  display: flex;
  gap: 0.45rem;
  padding: 0.32rem;
  margin-bottom: 1.2rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  border: 1px solid #dbeafe;
}

.hfc-tab {
  flex: 1 1 0;
  min-width: 0;
  border: none;
  background: transparent;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  border-radius: 0.8rem;
  padding: 0.72rem 0.48rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.hfc-tab:hover {
  color: var(--dark);
  transform: translateY(-1px);
}

.hfc-tab.is-active,
.hfc-tab[aria-selected="true"] {
  background: #fff;
  color: var(--dark);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.hfc-tab:focus-visible {
  outline: 2px solid rgba(29, 78, 216, .3);
  outline-offset: 2px;
}

.hfc-panel[hidden] {
  display: none !important;
}
.hfc-top {
  display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--border); padding-bottom: 1rem;
}
.hfc-top .hfc-icon {
  width: 2.6rem; height: 2.6rem;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 0.7rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; flex-shrink: 0;
}
.hfc-top h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.1rem; }
.hfc-top p  { font-size: 0.78rem; color: var(--grey); margin: 0; }

.hfc-form { display: flex; flex-direction: column; gap: 0.65rem; }
.hfc-step { display: flex; flex-direction: column; gap: 0.65rem; }
.hfc-helper {
  margin: 0 0 0.15rem;
  padding: 0.82rem 0.95rem;
  border-radius: 0.85rem;
  border: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #f8fafc, #eff6ff);
  color: var(--grey);
  font-size: 0.78rem;
  line-height: 1.55;
}
.hfc-field {
  display: flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: 0.7rem;
  background: var(--bg); overflow: hidden;
  transition: border-color 0.2s;
}
.hfc-field:focus-within { border-color: var(--blue-lt); background: #fff; }
.hfc-field i {
  width: 2.4rem; text-align: center; color: var(--grey); font-size: 0.9rem; flex-shrink: 0;
}
.hfc-field input, .hfc-field select {
  flex: 1; min-width: 0; border: none; background: transparent; outline: none;
  padding: 0.65rem 0.5rem 0.65rem 0;
  font-size: 0.88rem; color: var(--dark);
  font-family: var(--font-body);
}
.hfc-field select { cursor: pointer; }
.hfc-field select:disabled { cursor: default; opacity: 0.5; }
/* number input — hide spin arrows for cleaner look */
.hfc-field input[type=number]::-webkit-inner-spin-button,
.hfc-field input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.hfc-field input[type=number] { -moz-appearance: textfield; }

.hfc-submit {
  width: 100%; min-width: 0;
  padding: 0.78rem 1rem;
  background: linear-gradient(135deg, #0f172a, var(--blue));
  color: #fff; font-weight: 700; font-size: 0.9rem;
  border: none; border-radius: 0.7rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.hfc-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.hfc-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Step 2 back + submit row */
.hfc-btn-row {
  display: flex; gap: 0.5rem;
}
.hfc-btn-row .hfc-submit { flex: 1; width: auto; }
.hfc-btn-back {
  flex: 0 0 auto;
  padding: 0.78rem 1.1rem;
  background: #64748b;
  color: #fff; font-size: 1rem;
  border: none; border-radius: 0.7rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.2s, transform 0.2s;
}
.hfc-btn-back:hover { opacity: 0.85; transform: translateY(-1px); }

/* Result pane */
.hfc-result-pane { display: flex; flex-direction: column; gap: 0.65rem; }
.hfc-session-btn {
  display: flex; text-decoration: none; margin-top: 0.2rem;
  background: linear-gradient(135deg, #0f172a, #2563eb);
}
.hfc-session-btn:hover { opacity: 0.92; transform: translateY(-1px); }

.hfc-inline-error {
  color: #b42318;
  font-size: 0.82rem;
  margin-top: 0.1rem;
  padding: 0 0.1rem;
}

.hfc-grade-result {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #0f172a 0%, #172554 100%);
  border: 1px solid rgba(30, 64, 175, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.hfc-grade-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.hfc-grade-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}

.hfc-grade-main strong {
  font-family: var(--font-head);
  font-size: 2.8rem;
  line-height: 1;
  color: #fff;
}

.hfc-grade-caption {
  color: rgba(255, 255, 255, .72);
  font-size: 0.78rem;
  line-height: 1.55;
}

.hfc-grade-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.hfc-grade-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.82rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
}

.hfc-grade-meta-item span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, .62);
}

.hfc-grade-meta-item strong {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
  word-break: break-word;
}

.hfc-grade-footnote {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 0.74rem;
  line-height: 1.55;
}
.hfc-note {
  text-align: center; font-size: 0.76rem; color: var(--grey);
  margin-top: 0.6rem; margin-bottom: 0;
  display: flex; align-items: center; justify-content: center; gap: 0.3rem;
}

/* Public Anabin checker */
.hfc-select2-field {
  overflow: visible;
  position: relative;
  z-index: 8;
}
.hfc-select2-field > i {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hfc-select2-field .select2-container { flex: 1 1 auto; min-width: 0; }
.hfc-select2-field .select2-container .select2-selection--single {
  height: 42px;
  border: 0;
  background: transparent;
}
.hfc-select2-field .select2-container .select2-selection--single .select2-selection__rendered {
  padding: 7px 34px 7px 0;
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 28px;
}
.hfc-select2-field .select2-container .select2-selection--single .select2-selection__arrow {
  height: 40px;
  right: 7px;
}
#hfcPanelAnabin .select2-dropdown {
  border: 1px solid #cbd5e1;
  border-radius: 0.65rem;
  box-shadow: 0 16px 35px rgba(15, 23, 42, .14);
  overflow: hidden;
}
#hfcPanelAnabin .select2-search--dropdown { padding: 0.55rem; }
#hfcPanelAnabin .select2-search__field {
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.55rem 0.65rem;
  outline: none;
}
#hfcPanelAnabin .select2-results__option {
  padding: 0.55rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
}
.hfc-anabin-result {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid #dbeafe;
  border-radius: 1rem;
  background: linear-gradient(145deg, #f8fafc, #eff6ff);
}
.hfc-anabin-result h5 {
  margin: 0.85rem 0 0.15rem;
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.4;
}
.hfc-anabin-result p {
  margin: 0.45rem 0 0;
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.55;
}
.hfc-anabin-result .hfc-anabin-country { margin-top: 0; color: #64748b; }
.hfc-anabin-result .hfc-anabin-disclaimer {
  padding-top: 0.65rem;
  border-top: 1px solid #dbeafe;
  color: #64748b;
  font-size: 0.72rem;
}
.hfc-anabin-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.8rem;
  background: #e2e8f0;
}
.hfc-anabin-status.is-positive { background: #dcfce7; color: #166534; }
.hfc-anabin-status.is-negative { background: #fee2e2; color: #991b1b; }
.hfc-anabin-status.is-conditional { background: #fef3c7; color: #92400e; }
.hfc-anabin-status.is-neutral { background: #e2e8f0; color: #334155; }
.hfc-anabin-code {
  flex: 0 0 auto;
  min-width: 3.3rem;
  padding: 0.42rem 0.55rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, .72);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}
.hfc-anabin-status div { display: flex; flex-direction: column; min-width: 0; }
.hfc-anabin-status strong { font-size: 0.88rem; }
.hfc-anabin-status div span { font-size: 0.7rem; opacity: .8; }
.hfc-anabin-again { margin-top: 0.9rem; }
.hfc-anabin-unavailable {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1.4rem 1rem;
  border: 1px dashed #bfdbfe;
  border-radius: 1rem;
  background: #f8fafc;
  color: #475569;
  text-align: center;
}
.hfc-anabin-unavailable > i { color: #2563eb; font-size: 1.6rem; }
.hfc-anabin-unavailable strong { color: var(--dark); }
.hfc-anabin-unavailable p { margin: 0; font-size: 0.8rem; line-height: 1.55; }

/* Scroll cue */
.hero-scroll-cue {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  text-align: center; z-index: 1;
}
.hero-scroll-cue span { font-size: 0.72rem; color: var(--grey); display: block; margin-bottom: 0.4rem; }
.scroll-dot {
  width: 20px; height: 20px; border: 2px solid var(--blue-lt);
  border-radius: 50%; margin: 0 auto;
  position: relative; overflow: hidden;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.3); opacity: 1; }
}

/* =====================================================
   MARQUEE TICKER
   ===================================================== */
.marquee-ticker {
  background: linear-gradient(135deg, #0f172a, var(--blue));
  overflow: hidden; padding: 0.7rem 0;
}
.mt-inner {
  display: flex; align-items: center; gap: 0;
  animation: marqueeTicker 32s linear infinite;
  white-space: nowrap;
}
.mt-inner span {
  padding: 0 1.8rem; font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,.85);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.mt-inner span i { color: var(--amber); font-size: 0.65rem; }
@keyframes marqueeTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================================================
   SHARED SECTION STYLES
   ===================================================== */
.pvg-sec {
  padding: 5.5rem 0;
}
.sec-mesh {
  background:
    radial-gradient(ellipse at 10% 50%, rgba(29,78,216,.06), transparent 45%),
    radial-gradient(ellipse at 90% 50%, rgba(109,40,217,.06), transparent 45%),
    linear-gradient(180deg, #f8faff, #f4f7ff);
}
.sec-dark {
  background: linear-gradient(135deg, #0f172a, #172554, #1e3a8a);
}

.sec-head { margin-bottom: 1rem; }
.sec-kicker {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: #eff6ff; border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.75rem;
}
.sec-kicker-light {
  background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); color: #fff;
}
.sec-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 0.6rem; color: var(--dark);
}
.sec-sub {
  font-size: 1rem; color: var(--grey);
  max-width: 600px; margin: 0 auto;
}

/* Scroll Reveal — hidden only when JS has loaded (.js-ready guard), so content is
   always visible if scripts fail to run or are blocked. */
[data-reveal] { transition: opacity 0.65s ease, transform 0.65s ease; }
.js-ready [data-reveal] { opacity: 0; transform: translateY(30px); }
.js-ready [data-reveal="left"]  { transform: translateX(-40px); }
.js-ready [data-reveal="right"] { transform: translateX(40px); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* =====================================================
   SERVICES
   ===================================================== */
.svc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 1.75rem;
  position: relative; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
  display: flex; flex-direction: column;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(15,23,42,.12);
}
.svc-icon {
  width: 3rem; height: 3rem;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  border-radius: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.svc-num {
  position: absolute; top: 1.5rem; right: 1.2rem;
  font-size: 2rem; font-weight: 800;
  color: rgba(0,0,0,.05); line-height: 1;
  pointer-events: none; user-select: none;
}
.svc-card h5 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  margin-bottom: 0.5rem; color: var(--dark);
}
.svc-card p { font-size: 0.88rem; color: var(--grey); flex: 1; margin-bottom: 1rem; }
.svc-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 700;
  color: var(--c1); text-decoration: none;
  transition: gap 0.2s;
}
.svc-btn:hover { gap: 0.65rem; color: var(--c1); }

/* =====================================================
   PROGRAMMES / COURSES TABS
   ===================================================== */
.pvg-tabs-nav {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem;
  background: #fff; border: 1px solid var(--border); border-radius: 0.9rem;
  padding: 0.4rem; display: inline-flex;
  margin: 1.5rem auto 0; max-width: 100%;
}
.ptab {
  padding: 0.52rem 1.1rem;
  border: none; background: transparent;
  border-radius: 0.65rem;
  font-size: 0.85rem; font-weight: 600; color: var(--grey);
  cursor: pointer; transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.ptab.active {
  background: linear-gradient(135deg, #0f172a, var(--blue));
  color: #fff;
}

.pvg-tab-panels { margin-top: 1rem; }
.ptab-panel { display: none; }
.ptab-panel.active { display: block; animation: fadeTabIn 0.35s ease; }
@keyframes fadeTabIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.prog-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 1.1rem; padding: 2rem;
}
.prog-badge {
  display: inline-block; padding: 0.28rem 0.8rem;
  border-radius: 999px; color: #fff;
  font-size: 0.75rem; font-weight: 700; margin-bottom: 0.9rem;
}
.prog-card h3 {
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 700;
  margin-bottom: 0.65rem; color: var(--dark);
}
.prog-card p { color: var(--grey); font-size: 0.9rem; margin-bottom: 1rem; }
.prog-list { list-style: none; padding: 0; margin-bottom: 1.4rem; }
.prog-list li {
  display: flex; align-items: flex-start; gap: 0.55rem;
  font-size: 0.88rem; color: #334155; margin-bottom: 0.5rem;
}
.prog-list li i { color: var(--green); font-size: 0.85rem; margin-top: 3px; flex-shrink: 0; }
.btn-prog {
  display: inline-block; padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, #0f172a, var(--blue));
  color: #fff; font-weight: 700; font-size: 0.88rem;
  border-radius: 0.65rem; text-decoration: none;
  transition: opacity 0.2s; border: none; cursor: pointer;
}
.btn-prog:hover { opacity: 0.88; color: #fff; }

/* ---- old prog-stat kept for fallback, replaced by prog-right-card ---- */
.prog-stat {
  background: #fff; border: 1px solid var(--border);
  border-radius: 0.9rem; padding: 1.1rem 1.25rem;
  text-align: center;
}
.prog-stat h3 {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 800;
  color: var(--blue); margin-bottom: 0.2rem;
}
.prog-stat p { font-size: 0.78rem; color: var(--grey); margin: 0; }

/* ---- Programme right-side info panel ---- */
.prog-right-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  overflow: hidden;
  border-top: 3px solid var(--prog-color, var(--blue));
  box-shadow: 0 8px 32px rgba(15,23,42,.07);
}
.prc-header {
  background: linear-gradient(135deg, rgba(15,23,42,.04), rgba(15,23,42,.02));
  padding: 1.1rem 1.35rem;
  display: flex; align-items: center; gap: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.prc-hicon {
  width: 2.6rem; height: 2.6rem; flex-shrink: 0;
  background: var(--prog-color, var(--blue));
  border-radius: 0.65rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--prog-color, var(--blue)) 40%, transparent);
}
.prc-header strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--dark); line-height: 1.2; }
.prc-header span   { font-size: 0.74rem; color: var(--grey); }
.prc-stats { padding: 0.25rem 1.35rem 0.25rem; }
.prc-stat {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.82rem 0;
  border-bottom: 1px solid rgba(226,232,240,.8);
}
.prc-stat:last-child { border-bottom: none; }
.prc-sicon {
  width: 2.1rem; height: 2.1rem; flex-shrink: 0;
  background: color-mix(in srgb, var(--prog-color, var(--blue)) 12%, #fff);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--prog-color, var(--blue)); font-size: 0.82rem;
}
.prc-sbody strong { display: block; font-size: 0.93rem; font-weight: 700; color: var(--dark); line-height: 1.25; }
.prc-sbody span   { font-size: 0.76rem; color: var(--grey); }
.prc-footer {
  background: var(--prog-color, var(--blue));
  padding: 0.72rem 1.35rem;
  display: flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,.92); font-size: 0.77rem; font-weight: 600;
}
.prc-footer i { font-size: 0.82rem; }

/* =====================================================
   DESTINATIONS
   ===================================================== */
.country-card {
  border-radius: 1.1rem; overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%; display: flex; flex-direction: column;
}
.country-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(15,23,42,.13);
}
.cc-top {
  padding: 2rem 1.5rem 1.5rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  min-height: 110px; position: relative; overflow: hidden;
}
.cc-flag-img {
  width: 72px; height: 48px;
  object-fit: cover;
  border-radius: 0.4rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  flex-shrink: 0;
}
.cc-overlay-text {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 800;
  color: rgba(255,255,255,.85); text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.cc-body { padding: 1.2rem; flex: 1; }
.cc-body h5 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 0.45rem; }
.cc-body p  { font-size: 0.83rem; color: var(--grey); margin-bottom: 0.9rem; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.cc-chips span {
  font-size: 0.72rem; font-weight: 600; color: var(--blue);
  background: #eff6ff; border: 1px solid #c7d2fe;
  border-radius: 999px; padding: 0.22rem 0.6rem;
}

/* =====================================================
   PROCESS TIMELINE
   ===================================================== */
.process-timeline { position: relative; }
.pt-connector {
  display: none;
}
.pt-step {
  background: #fff; border: 1px solid var(--border);
  border-radius: 1.1rem; padding: 1.75rem 1.5rem;
  text-align: center; position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
}
.pt-step:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(15,23,42,.1); }
.pts-num {
  font-family: var(--font-head);
  font-size: 2.8rem; font-weight: 800;
  color: rgba(29,78,216,.1); line-height: 1;
  margin-bottom: 0.5rem;
}
.pts-icon {
  width: 3rem; height: 3rem;
  background: linear-gradient(135deg, #0f172a, var(--blue));
  border-radius: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.9rem; color: #fff; font-size: 1.15rem;
  box-shadow: 0 10px 24px rgba(29,78,216,.3);
}
.pt-step h5 {
  font-family: var(--font-head); font-size: 0.98rem; font-weight: 700;
  margin-bottom: 0.4rem;
}
.pt-step p { font-size: 0.83rem; color: var(--grey); margin: 0; }

/* =====================================================
   TEAM CARDS
   ===================================================== */
.team-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 1.1rem; padding: 2rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(15,23,42,.1); }
.featured-tc {
  border: 2px solid var(--indigo);
  box-shadow: 0 12px 40px rgba(109,40,217,.15);
}
.tc-avatar {
  width: 4.5rem; height: 4.5rem;
  border-radius: 50%; font-size: 1.2rem; font-weight: 800;
  color: #fff; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  letter-spacing: 0.5px;
}
.tc-info h5 {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700;
  margin-bottom: 0.25rem;
}
.tc-role {
  display: block; font-size: 0.78rem; font-weight: 600;
  margin-bottom: 0.65rem;
}
.tc-info p { font-size: 0.84rem; color: var(--grey); margin-bottom: 1rem; }
.tc-brief-snippet { font-size: 0.84rem; color: var(--grey); margin-bottom: 1rem; }
.tc-contact a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 999px;
  color: var(--green); font-size: 0.8rem; font-weight: 700; text-decoration: none;
  transition: background 0.2s;
}
.tc-contact a:hover { background: #dcfce7; }
.btn-read-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  background: linear-gradient(135deg,#1d4ed8,#6d28d9);
  border: none; border-radius: 999px;
  color: #fff; font-size: 0.8rem; font-weight: 700; cursor: pointer;
  transition: opacity 0.2s;
}
.btn-read-more:hover { opacity: 0.88; }
.tc-contact-modal-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 1rem; border-radius: 999px;
  color: #fff; font-size: 0.8rem; font-weight: 600; text-decoration: none;
  transition: opacity 0.2s;
}
.tc-contact-modal-link:hover { opacity: 0.85; color: #fff; }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.tcard {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 1.1rem; padding: 1.75rem;
  backdrop-filter: blur(8px);
  transition: transform 0.25s;
  height: 100%; display: flex; flex-direction: column;
}
.tcard:hover { transform: translateY(-4px); }
.tcard-feat {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.tcard-quote { color: rgba(255,255,255,.25); font-size: 1.8rem; margin-bottom: 0.6rem; }
.tcard p { color: rgba(255,255,255,.85); font-size: 0.88rem; line-height: 1.65; flex: 1; margin-bottom: 0.8rem; }
.tcard-stars { color: var(--amber); font-size: 0.78rem; margin-bottom: 1rem; letter-spacing: 2px; }
.tcard-author { display: flex; align-items: center; gap: 0.7rem; }
.ta-av {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  color: #fff; font-size: 0.75rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tcard-author strong { display: block; color: #fff; font-size: 0.88rem; font-weight: 700; }
.tcard-author span  { color: rgba(255,255,255,.55); font-size: 0.75rem; }

.story-carousel-shell {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 1rem;
}
.story-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.25rem 0 1rem;
}
.story-carousel::-webkit-scrollbar { display: none; }
.story-slide-card {
  flex: 0 0 calc((100% - 2rem) / 3);
  min-width: 280px;
  min-height: 430px;
  scroll-snap-align: start;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 1rem;
  overflow: hidden;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  transition: transform .25s, border-color .25s, background .25s;
}
.story-slide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.14);
}
.story-slide-card-featured {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.32);
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
}
.story-card-media {
  display: block;
  width: 100%;
  height: 180px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
  text-decoration: none;
}
.story-card-media img,
.story-card-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-card-media img {
  object-fit: cover;
  object-position: center;
  transition: transform .35s;
}
.story-slide-card:hover .story-card-media img { transform: scale(1.04); }
.story-card-fallback {
  color: #fff;
  font-size: 2.2rem;
}
.story-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
}
.story-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: rgba(255,255,255,.6);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.story-card-topline span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}
.story-card-body h3 {
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.75rem;
}
.story-card-body p {
  color: rgba(255,255,255,.78);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  flex: 1;
}
.story-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #bfdbfe;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  margin-top: auto;
}
.story-read-link:hover { color: #fff; }
.story-nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s, opacity .2s;
}
.story-nav-btn:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-1px);
}
.story-nav-btn:disabled {
  opacity: .35;
  cursor: default;
  transform: none;
}

@media (max-width: 991.98px) {
  .story-slide-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 767.98px) {
  .story-carousel-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .story-nav-btn {
    display: none;
  }
  .story-carousel {
    padding-bottom: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .story-slide-card {
    flex-basis: 86vw;
    min-width: 0;
    min-height: 410px;
  }
  .story-card-media {
    height: 160px;
  }
  .story-card-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
}

/* =====================================================
   FAQ
   ===================================================== */
.pvg-faq .accordion-item {
  border: 1px solid var(--border); border-radius: 0.85rem !important;
  overflow: hidden; margin-bottom: 0.65rem;
}
.pvg-faq .accordion-button {
  font-weight: 600; font-size: 0.93rem;
  background: #fff; color: var(--dark);
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: none;
}
.pvg-faq .accordion-button:not(.collapsed) {
  background: #f8fbff; color: var(--blue); box-shadow: none;
}
.pvg-faq .accordion-button::after { margin-left: auto; }
.fq-n {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 800;
  color: var(--blue); flex-shrink: 0;
}
.pvg-faq .accordion-body { font-size: 0.88rem; color: var(--grey); }

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-sec {
  background: linear-gradient(135deg, #0f172a 0%, #172554 50%, #1e3a8a 100%);
  position: relative; overflow: hidden;
}
.csec-blob {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(80px); opacity: 0.18;
}
.csec-blob1 { width: 400px; height: 400px; background: var(--cyan);   top: -150px; right: -100px; }
.csec-blob2 { width: 340px; height: 340px; background: var(--indigo); bottom: -120px; left: -80px; }
.contact-sec .container { position: relative; z-index: 1; }

.cinfo-list { display: flex; flex-direction: column; gap: 1rem; }
.cinfo-item {
  display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 0.85rem;
}
.ci-icon {
  width: 2.2rem; height: 2.2rem;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 0.55rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.88rem; flex-shrink: 0; margin-top: 2px;
}
.cinfo-item p  { font-size: 0.75rem; color: rgba(255,255,255,.5); margin: 0 0 0.15rem; }
.cinfo-item strong { color: #fff; font-size: 0.87rem; }

.btn-wa-inline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background: #25d366; color: #fff;
  font-weight: 700; font-size: 0.9rem;
  border-radius: 0.7rem; text-decoration: none;
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
  transition: opacity 0.2s;
}
.btn-wa-inline:hover { opacity: 0.9; color: #fff; }

/* Contact form card */
.cfm-card {
  background: #fff; border-radius: 1.2rem;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.cfm-card h4 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.25rem; }
.cfm-card p  { font-size: 0.84rem; color: var(--grey); }
.cfm-card label { display: block; font-size: 0.78rem; font-weight: 600; color: #475569; margin-bottom: 0.3rem; }
.cfm-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border); border-radius: 0.65rem;
  font-family: var(--font-body); font-size: 0.88rem; color: var(--dark);
  background: var(--bg); outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.cfm-input:focus { border-color: var(--blue-lt); background: #fff; }
textarea.cfm-input { resize: vertical; }
.cfm-submit {
  width: 100%; padding: 0.8rem;
  background: linear-gradient(135deg, #0f172a, var(--blue));
  color: #fff; font-weight: 700; font-size: 0.95rem;
  border: none; border-radius: 0.7rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  box-shadow: 0 10px 28px rgba(29,78,216,.3);
  transition: opacity 0.2s, transform 0.2s;
}
.cfm-submit:hover { opacity: 0.9; transform: translateY(-2px); }

/* =====================================================
   FOOTER
   ===================================================== */
.pvg-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.ft-brand {
  display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.9rem;
}
.ft-brand span { font-size: 1rem; font-weight: 700; color: #fff; }
.ft-about { font-size: 0.83rem; margin-bottom: 1rem; line-height: 1.65; max-width: 300px; }
.ft-social { display: flex; gap: 0.5rem; }
.ft-social a {
  width: 2rem; height: 2rem; border-radius: 0.45rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: 0.82rem; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.ft-social a:hover { background: var(--blue); color: #fff; }

.ft-heading { font-size: 0.77rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 0.85rem; }
.pvg-footer ul { list-style: none; padding: 0; }
.pvg-footer li { font-size: 0.82rem; margin-bottom: 0.45rem; color: rgba(255,255,255,.55); }
.pvg-footer li a { color: rgba(255,255,255,.55); text-decoration: none; transition: color 0.2s; }
.pvg-footer li a:hover { color: #fff; }

.ft-bottom {
  margin-top: 3rem; padding: 1.2rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.78rem; color: rgba(255,255,255,.35);
}
.ft-bottom div a {
  color: rgba(255,255,255,.35); text-decoration: none; margin-left: 1rem;
  transition: color 0.2s;
}
.ft-bottom div a:hover { color: #fff; }

/* =====================================================
   FLOATING WHATSAPP
   ===================================================== */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; text-decoration: none;
  box-shadow: 0 8px 28px rgba(37,211,102,.45);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); color: #fff; }
.wa-tip {
  position: absolute; right: 3.5rem;
  background: #111; color: #fff;
  font-size: 0.75rem; font-weight: 600;
  padding: 0.3rem 0.65rem; border-radius: 0.45rem;
  white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity 0.2s;
}
.wa-float:hover .wa-tip { opacity: 1; }

/* =====================================================
   SCROLL TO TOP
   ===================================================== */
.stt-btn {
  position: fixed; bottom: 5.5rem; right: 1.5rem; z-index: 999;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--dark); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  opacity: 0; pointer-events: none;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: opacity 0.3s, transform 0.2s;
}
.stt-btn.visible { opacity: 1; pointer-events: auto; }
.stt-btn:hover { transform: scale(1.1); }

/* =====================================================
   HERO FLOATING BADGES
   ===================================================== */
.hero-right-wrap { position: relative; }
.hvb {
  position: absolute;
  background: #fff;
  border-radius: 0.9rem;
  padding: 0.55rem 1rem;
  box-shadow: 0 10px 35px rgba(15,23,42,.15);
  display: flex; align-items: center; gap: 0.6rem;
  animation: hvb-float 3.5s ease-in-out infinite;
  z-index: 5;
  border: 1px solid rgba(255,255,255,.9);
  pointer-events: none;
}
.hvb i { font-size: 1.1rem; }
.hvb strong { display: block; font-size: 0.95rem; font-weight: 800; color: var(--dark); line-height: 1; }
.hvb span  { display: block; font-size: 0.68rem; color: var(--grey); margin-top: 1px; }
.hvb-1 { top: -0.9rem; right: -0.9rem; } .hvb-1 i { color: #b45309; }
.hvb-2 { top: 45%; left: -1.3rem; animation-delay: 1.3s; } .hvb-2 i { color: #059669; }
.hvb-3 { bottom: -0.5rem; right: 2rem; animation-delay: 2.6s; } .hvb-3 i { color: #7c3aed; }
@keyframes hvb-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* =====================================================
   WHY CHOOSE PVG
   ===================================================== */
.why-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  padding: 0.5rem;
}
.wc-tile {
  border-radius: 1.2rem;
  padding: 1.6rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.3rem;
  transition: transform 0.25s;
}
.wc-tile:hover { transform: translateY(-4px); }
.wc-tile i { font-size: 1.8rem; margin-bottom: 0.3rem; }
.wc-tile strong { font-size: 1rem; font-weight: 700; }
.wc-tile > span { font-size: 0.78rem; opacity: 0.8; }
.wc-blue   { background: linear-gradient(135deg,#eff6ff,#dbeafe); color: #1d4ed8; }
.wc-purple { background: linear-gradient(135deg,#f5f3ff,#ede9fe); color: #6d28d9; }
.wc-dark   { background: linear-gradient(135deg,#0f172a,#1e40af); color: #fff; }
.wc-amber  { background: linear-gradient(135deg,#fffbeb,#fef3c7); color: #b45309; }
.wc-big-stat { display: flex; align-items: baseline; gap: 0.15rem; }
.wc-big-num  { font-size: 2.8rem; font-weight: 800; font-family: var(--font-head); line-height: 1; }
.wc-big-stat > span:last-child { font-size: 1.8rem; font-weight: 800; }
.wc-dark > span { opacity: 0.75; font-size: 0.8rem; }
.wc-center-badge {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 5rem; height: 5rem; border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 30px rgba(15,23,42,.18);
  border: 2px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem;
  z-index: 2;
}
.wc-center-badge i { font-size: 1.2rem; color: var(--blue); }
.wc-center-badge span { font-size: 0.62rem; font-weight: 700; color: var(--dark); }
/* Why pillars */
.why-pillars { display: flex; flex-direction: column; gap: 0.85rem; }
.wp-pill {
  display: flex; align-items: flex-start; gap: 1rem;
  background: #fff; border: 1px solid var(--border);
  border-radius: 1rem; padding: 1rem 1.25rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.wp-pill:hover { transform: translateX(5px); box-shadow: 0 6px 24px rgba(15,23,42,.07); }
.wpp-icon {
  width: 2.8rem; height: 2.8rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; flex-shrink: 0;
}
.wpp-body strong { font-size: 0.9rem; font-weight: 700; color: var(--dark); display: block; margin-bottom: 0.2rem; }
.wpp-body p { margin: 0; font-size: 0.82rem; color: var(--grey); }

/* =====================================================
   PROCESS VISUAL JOURNEY STRIP
   ===================================================== */
.proc-visual-strip {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0.4rem;
  background: #fff; border: 1px solid var(--border);
  border-radius: 1rem; padding: 1.2rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 20px rgba(15,23,42,.05);
}
.pvs-item { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.pvs-icon {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: #f1f5f9;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--grey);
  overflow: hidden;
}
.pvs-item.pvs-active .pvs-icon {
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: #fff; box-shadow: 0 4px 15px rgba(99,102,241,.3);
}
.pvs-item.pvs-dest .pvs-icon { padding: 0; }
.pvs-item span { font-size: 0.7rem; font-weight: 700; color: var(--dark); }
.pvs-arrow { color: var(--grey); opacity: 0.45; font-size: 0.8rem; padding-bottom: 1.3rem; }

/* =====================================================
   TEAM CARD HEADER
   ===================================================== */
.team-card { padding: 0; overflow: visible; }
.tc-card-hdr {
  height: 6.5rem; position: relative;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 0.75rem 1rem; overflow: hidden;
  border-radius: 1.1rem 1.1rem 0 0;
}
.tc-card-hdr.tc-has-photo {
  height: 14rem;
  align-items: stretch;
}
.tc-card-hdr::before {
  content: ''; position: absolute;
  bottom: -2rem; left: -2rem;
  width: 9rem; height: 9rem; border-radius: 50%;
  background: rgba(255,255,255,.12);
  pointer-events: none;
}
.tc-card-hdr::after {
  content: ''; position: absolute;
  top: -1.5rem; right: 3rem;
  width: 5rem; height: 5rem; border-radius: 50%;
  background: rgba(255,255,255,.08);
  pointer-events: none;
}
.tc-card-hdr i { font-size: 2.2rem; color: rgba(255,255,255,.3); position: relative; z-index: 1; }
.tc-avatar-wrap {
  display: flex; justify-content: center;
  margin-top: -2.25rem; padding: 0 1.5rem 0.4rem;
  position: relative; z-index: 2;
}
.tc-avatar { margin: 0; border: 3px solid #fff; }
.tc-info { padding: 0.2rem 1.5rem 1.5rem; }

/* =====================================================
   TESTIMONIALS RESULT COUNTER STRIP
   ===================================================== */
.tresult-strip {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 1rem; padding: 1.5rem 1rem;
  backdrop-filter: blur(8px);
}
.trs-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  padding: 0.5rem 2.5rem;
}
.trs-valrow { display: flex; align-items: baseline; gap: 0.1rem; }
.trs-num { font-size: 2.4rem; font-weight: 800; color: #fff; font-family: var(--font-head); line-height: 1; }
.trs-sfx { font-size: 1.5rem; font-weight: 800; color: rgba(255,255,255,.7); }
.trs-label { font-size: 0.78rem; color: rgba(255,255,255,.6); font-weight: 500; text-align: center; }
.trs-div { width: 1px; height: 3rem; background: rgba(255,255,255,.2); flex-shrink: 0; align-self: center; }

/* =====================================================
   FAQ VISUAL ILLUSTRATION
   ===================================================== */
.faq-visual {
  position: relative;
  width: 200px; height: 200px; margin-top: 2.5rem;
}
.fv-bubble {
  position: absolute;
  border-radius: 50%; width: 3.2rem; height: 3.2rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  animation: hvb-float 4s ease-in-out infinite;
}
.fv-b1 { top: 5px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg,#1d4ed8,#3b82f6); animation-delay: 0s; }
.fv-b2 { top: 55px; right: 8px; background: linear-gradient(135deg,#059669,#34d399); animation-delay: 1s; }
.fv-b3 { bottom: 55px; right: 18px; background: linear-gradient(135deg,#7c3aed,#a78bfa); animation-delay: 2s; }
.fv-b4 { bottom: 55px; left: 18px; background: linear-gradient(135deg,#b45309,#f59e0b); animation-delay: 3s; }
.fv-center {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 5.5rem; height: 5.5rem; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--border);
  box-shadow: 0 8px 30px rgba(15,23,42,.12);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 0.15rem;
}
.fv-center i { font-size: 1.4rem; color: var(--blue); }
.fv-center span { font-size: 0.56rem; font-weight: 700; color: var(--dark); line-height: 1.4; }

/* =====================================================
   RESPONSIVE TWEAKS
   ===================================================== */
@media (max-width: 767.98px) {
  .pvg-sec { padding: 4rem 0; }
  .hero-headline { font-size: 2rem; }
  .hero-stats { gap: 0.5rem; }
  .hstat { padding: 0 0.85rem; }
  .hstat-num { font-size: 1.4rem; }
        .hfc-tabs {
          flex-direction: column;
        }

        .hero-form-card {
          min-height: 52.5rem;
        }
    
        .hfc-tab {
          justify-content: flex-start;
        }
    
        .hfc-grade-meta {
          grid-template-columns: 1fr;
        }
  .pvg-tabs-nav { flex-wrap: wrap; border-radius: 0.75rem; }
  .ft-bottom { flex-direction: column; text-align: center; }
  .ft-bottom div a { margin: 0 0.5rem; }
}
@media (max-width: 575.98px) {
  .hero-badge-strip span { font-size: 0.72rem; padding: 0.3rem 0.6rem; }
  .hero-cta-group { flex-direction: column; }
  .btn-primary-hero, .btn-ghost-hero { width: 100%; justify-content: center; }
        .hero-form-card {
          padding: 1.35rem;
        }
    
        .hfc-tab {
          font-size: 0.8rem;
          padding: 0.72rem 0.8rem;
        }
    
        .hfc-grade-main strong {
          font-size: 2.25rem;
        }
  .hstat-sep { display: none; }
  .hero-stats { justify-content: space-evenly; }
}


/* ================================================================
   login.php
   ================================================================ */

    /* ===== LOGIN PAGE ===== */
    .login-page {
      min-height: calc(100vh - 70px);
      background:
        radial-gradient(ellipse at 8% 15%, rgba(29, 78, 216, .1), transparent 45%),
        radial-gradient(ellipse at 92% 85%, rgba(109, 40, 217, .1), transparent 45%),
        linear-gradient(180deg, #f8faff 0%, #f4f7ff 100%);
      display: flex;
      align-items: center;
      padding: 3.5rem 0 5rem;
    }

    .login-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      border-radius: 1.6rem;
      overflow: hidden;
      box-shadow: 0 32px 80px rgba(15, 23, 42, .14);
      border: 1px solid #e2e8f0;
      background: #fff;
    }

    /* ---- LEFT PANEL ---- */
    .login-panel {
      background: linear-gradient(160deg, #0f172a 0%, #172554 55%, #1e3a8a 100%);
      padding: 3rem 2.5rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      overflow: hidden;
    }

    .login-panel::before {
      content: '';
      position: absolute;
      bottom: -4rem;
      left: -4rem;
      width: 18rem;
      height: 18rem;
      border-radius: 50%;
      background: rgba(255, 255, 255, .04);
      pointer-events: none;
    }

    .login-panel::after {
      content: '';
      position: absolute;
      top: -3rem;
      right: -3rem;
      width: 12rem;
      height: 12rem;
      border-radius: 50%;
      background: rgba(255, 255, 255, .05);
      pointer-events: none;
    }

    .lp-brand {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      position: relative;
      z-index: 1;
    }

    .lp-brand-logo {
      width: 3rem;
      height: 3rem;
      border-radius: 0.75rem;
      background: linear-gradient(135deg, #1d4ed8, #3b82f6);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 800;
      font-size: 1.1rem;
      color: #fff;
      flex-shrink: 0;
    }

    .lp-brand-text strong {
      display: block;
      color: #fff;
      font-size: 0.95rem;
      font-weight: 700;
    }

    .lp-brand-text span {
      color: rgba(255, 255, 255, .55);
      font-size: 0.72rem;
    }

    .lp-hero {
      position: relative;
      z-index: 1;
    }

    .lp-hero h2 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.9rem;
      font-weight: 700;
      color: #fff;
      line-height: 1.25;
      margin-bottom: 0.75rem;
    }

    .lp-hero h2 span {
      background: linear-gradient(135deg, #60a5fa, #a78bfa);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .lp-hero p {
      font-size: 0.88rem;
      color: rgba(255, 255, 255, .65);
      line-height: 1.65;
      margin: 0;
    }

    .lp-stats {
      position: relative;
      z-index: 1;
    }

    .lp-stat {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      background: rgba(255, 255, 255, .08);
      border: 1px solid rgba(255, 255, 255, .12);
      border-radius: 0.85rem;
      padding: 0.9rem 1.1rem;
      margin-bottom: 0.75rem;
      transition: background 0.2s;
    }

    .lp-stat:last-child {
      margin-bottom: 0;
    }

    .lp-stat:hover {
      background: rgba(255, 255, 255, .13);
    }

    .lp-stat-icon {
      width: 2.4rem;
      height: 2.4rem;
      border-radius: 0.6rem;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.95rem;
      color: #fff;
    }

    .lp-stat strong {
      display: block;
      color: #fff;
      font-size: 0.9rem;
      font-weight: 700;
    }

    .lp-stat span {
      color: rgba(255, 255, 255, .5);
      font-size: 0.73rem;
    }

    /* ---- RIGHT PANEL (form) ---- */
    .login-form-panel {
      padding: 3rem 2.8rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .lfp-top {
      margin-bottom: 2rem;
    }

    .lfp-top h3 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.6rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 0.3rem;
    }

    .lfp-top p {
      font-size: 0.85rem;
      color: #64748b;
      margin: 0;
    }

    /* Fields */
    .lf-label {
      display: block;
      font-size: 0.78rem;
      font-weight: 700;
      color: #334155;
      margin-bottom: 0.35rem;
      letter-spacing: 0.02em;
    }

    .lf-field {
      position: relative;
      display: flex;
      align-items: center;
      border: 1.5px solid #e2e8f0;
      border-radius: 0.75rem;
      background: #f8fafc;
      overflow: hidden;
      transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    }

    .lf-field:focus-within {
      border-color: #3b82f6;
      background: #fff;
      box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
    }

    .lf-field.error {
      border-color: #ef4444;
      background: #fff8f8;
    }

    .lf-icon {
      width: 2.6rem;
      text-align: center;
      color: #94a3b8;
      font-size: 0.88rem;
      flex-shrink: 0;
    }

    .lf-field input {
      flex: 1;
      border: none;
      background: transparent;
      outline: none;
      padding: 0.78rem 0.75rem 0.78rem 0;
      font-size: 0.9rem;
      color: #0f172a;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .lf-field input::placeholder {
      color: #94a3b8;
    }

    .pw-toggle {
      padding: 0 0.75rem;
      cursor: pointer;
      color: #94a3b8;
      font-size: 0.88rem;
      background: none;
      border: none;
      outline: none;
      transition: color 0.2s;
    }

    .pw-toggle:hover {
      color: #1d4ed8;
    }

    .lf-error-msg {
      font-size: 0.73rem;
      color: #ef4444;
      margin-top: 0.3rem;
      display: none;
    }

    /* Forgot password */
    .forgot-row {
      display: flex;
      justify-content: flex-end;
      margin-top: 0.45rem;
      margin-bottom: 1.25rem;
    }

    .forgot-row a {
      font-size: 0.78rem;
      color: #1d4ed8;
      font-weight: 600;
      text-decoration: none;
    }

    .forgot-row a:hover {
      text-decoration: underline;
    }

    /* Submit button */
    .btn-login-submit {
      width: 100%;
      padding: 0.85rem;
      background: linear-gradient(135deg, #0f172a, #1d4ed8);
      color: #fff;
      font-weight: 700;
      font-size: 1rem;
      border: none;
      border-radius: 0.8rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.55rem;
      box-shadow: 0 12px 32px rgba(29, 78, 216, .35);
      transition: opacity 0.2s, transform 0.2s;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .btn-login-submit:hover {
      opacity: 0.9;
      transform: translateY(-2px);
    }

    /* Or divider */
    .lf-or {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin: 1.2rem 0;
      font-size: 0.78rem;
      color: #94a3b8;
      font-weight: 600;
    }

    .lf-or::before,
    .lf-or::after {
      content: '';
      flex: 1;
      height: 1px;
      background: #f1f5f9;
    }

    /* Sign up alt */
    .btn-signup-alt {
      width: 100%;
      padding: 0.8rem;
      background: #fff;
      color: #334155;
      font-weight: 600;
      font-size: 0.95rem;
      border: 1.5px solid #e2e8f0;
      border-radius: 0.8rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      transition: border-color 0.2s, background 0.2s;
      text-decoration: none;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .btn-signup-alt:hover {
      border-color: #1d4ed8;
      background: #eff6ff;
      color: #1d4ed8;
    }

    /* Trust row */
    .lf-trust {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.2rem;
      margin-top: 1.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid #f1f5f9;
    }

    .lft-item {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.74rem;
      color: #64748b;
      font-weight: 500;
    }

    .lft-item i {
      color: #10b981;
      font-size: 0.78rem;
    }

    /* Success overlay */
    .login-success {
      display: none;
      text-align: center;
      padding: 1rem 0;
    }

    .ls-anim {
      width: 5rem;
      height: 5rem;
      border-radius: 50%;
      background: linear-gradient(135deg, #059669, #34d399);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      color: #fff;
      margin: 0 auto 1.2rem;
      animation: pop-in 0.5s cubic-bezier(.34, 1.56, .64, 1);
    }

    @keyframes pop-in {
      from {
        transform: scale(0);
        opacity: 0;
      }

      to {
        transform: scale(1);
        opacity: 1;
      }
    }

    .login-success h4 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.3rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 0.4rem;
    }

    .login-success p {
      font-size: 0.88rem;
      color: #64748b;
    }

    @media (max-width: 991.98px) {
      .login-wrap {
        grid-template-columns: 1fr;
      }

      .login-panel {
        display: none;
      }

      .login-form-panel {
        padding: 2.5rem 2rem;
      }
    }

    @media (max-width: 575.98px) {
      .login-form-panel {
        padding: 2rem 1.4rem;
      }
    }


/* ================================================================
   register.php
   ================================================================ */

    /* ---- Register page specific styles ---- */
    .reg-page {
      min-height: calc(100vh - 70px);
      background:
        radial-gradient(ellipse at 5% 20%, rgba(29, 78, 216, .1), transparent 40%),
        radial-gradient(ellipse at 95% 80%, rgba(109, 40, 217, .1), transparent 40%),
        linear-gradient(180deg, #f8faff 0%, #f4f7ff 100%);
      padding: 3.5rem 0 5rem;
    }

    .reg-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.4rem;
      overflow: hidden;
      box-shadow: 0 24px 60px rgba(15, 23, 42, .1);
    }

    .reg-card-header {
      background: linear-gradient(135deg, #0f172a, #1d4ed8);
      padding: 2rem 2.5rem;
      display: flex;
      align-items: center;
      gap: 1.1rem;
    }

    .reg-card-header .rch-icon {
      width: 3.2rem;
      height: 3.2rem;
      background: rgba(255, 255, 255, .15);
      border-radius: 0.8rem;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1.3rem;
      flex-shrink: 0;
    }

    .reg-card-header h2 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.35rem;
      font-weight: 700;
      color: #fff;
      margin: 0 0 0.2rem;
    }

    .reg-card-header p {
      font-size: 0.82rem;
      color: rgba(255, 255, 255, .65);
      margin: 0;
    }

    .reg-card-body {
      padding: 2.2rem 2.5rem 2rem;
    }

    /* Step badge */
    .reg-steps {
      display: flex;
      align-items: center;
      gap: 0;
      margin-bottom: 2rem;
    }

    .rs-step {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.78rem;
      font-weight: 600;
      color: #94a3b8;
    }

    .rs-step.active {
      color: #1d4ed8;
    }

    .rs-step.done {
      color: #10b981;
    }

    .rs-num {
      width: 1.6rem;
      height: 1.6rem;
      border-radius: 50%;
      background: #e2e8f0;
      color: #64748b;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.72rem;
      font-weight: 700;
      flex-shrink: 0;
    }

    .rs-step.active .rs-num {
      background: #1d4ed8;
      color: #fff;
    }

    .rs-step.done .rs-num {
      background: #10b981;
      color: #fff;
    }

    .rs-line {
      flex: 1;
      height: 1px;
      background: #e2e8f0;
      margin: 0 0.5rem;
    }

    /* Field label */
    .reg-label {
      display: block;
      font-size: 0.78rem;
      font-weight: 700;
      color: #334155;
      margin-bottom: 0.35rem;
      letter-spacing: 0.02em;
    }

    .req {
      color: #ef4444;
      margin-left: 1px;
    }

    /* Input wrapper */
    .reg-field {
      position: relative;
      display: flex;
      align-items: center;
      border: 1.5px solid #e2e8f0;
      border-radius: 0.75rem;
      background: #f8fafc;
      overflow: hidden;
      transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    }

    .reg-field:focus-within {
      border-color: #3b82f6;
      background: #fff;
      box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
    }

    .reg-field .rf-icon {
      width: 2.6rem;
      text-align: center;
      color: #94a3b8;
      font-size: 0.88rem;
      flex-shrink: 0;
    }

    .reg-field input,
    .reg-field select {
      flex: 1;
      border: none;
      background: transparent;
      outline: none;
      padding: 0.72rem 0.75rem 0.72rem 0;
      font-size: 0.88rem;
      color: #0f172a;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .reg-field select {
      cursor: pointer;
    }

    .reg-field input::placeholder {
      color: #94a3b8;
    }

    /* Phone field: code + number split */
    .phone-field {
      border: 1.5px solid #e2e8f0;
      border-radius: 0.75rem;
      background: #f8fafc;
      display: flex;
      overflow: hidden;
      transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    }

    .phone-field:focus-within {
      border-color: #3b82f6;
      background: #fff;
      box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
    }

    .phone-code-wrap {
      display: flex;
      align-items: center;
      border-right: 1.5px solid #e2e8f0;
      padding: 0 0.5rem 0 0.75rem;
      gap: 0.2rem;
      flex-shrink: 0;
    }

    .phone-code-wrap i {
      font-size: 0.78rem;
      color: #94a3b8;
    }

    .phone-code-wrap select {
      border: none;
      background: transparent;
      outline: none;
      font-size: 0.83rem;
      color: #334155;
      cursor: pointer;
      padding: 0.72rem 0.25rem;
      font-family: 'Plus Jakarta Sans', sans-serif;
      max-width: 150px;
    }

    .phone-field input {
      flex: 1;
      border: none;
      background: transparent;
      outline: none;
      padding: 0.72rem 0.75rem;
      font-size: 0.88rem;
      color: #0f172a;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .phone-field input::placeholder {
      color: #94a3b8;
    }

    /* Date field */
    .reg-field input[type="date"] {
      padding: 0.72rem 0.75rem 0.72rem 0;
      color: #0f172a;
    }

    .reg-field input[type="date"]::-webkit-calendar-picker-indicator {
      background: linear-gradient(135deg, #1d4ed8, #6d28d9);
      border-radius: 0.35rem;
      padding: 4px;
      cursor: pointer;
      margin-right: 6px;
      opacity: 1;
    }

    /* File input */
    .reg-file-field {
      border: 1.5px dashed #cbd5e1;
      border-radius: 0.75rem;
      background: #f8fafc;
      padding: 1.1rem 1rem;
      text-align: center;
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
      position: relative;
    }

    .reg-file-field:hover {
      border-color: #3b82f6;
      background: #eff6ff;
    }

    .reg-file-field input[type="file"] {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer;
      width: 100%;
      height: 100%;
    }

    .reg-file-field .rff-icon {
      width: 2.4rem;
      height: 2.4rem;
      background: linear-gradient(135deg, #eff6ff, #f0f4ff);
      border: 1px solid #c7d2fe;
      border-radius: 0.6rem;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #3b82f6;
      font-size: 1rem;
      margin: 0 auto 0.5rem;
    }

    .reg-file-field p {
      font-size: 0.82rem;
      color: #64748b;
      margin: 0 0 0.2rem;
    }

    .reg-file-field span {
      font-size: 0.72rem;
      color: #94a3b8;
      display: block;
    }

    #fileNameDisplay {
      font-size: 0.78rem;
      color: #1d4ed8;
      font-weight: 600;
      margin-top: 0.4rem;
      display: none;
    }

    /* Password toggle */
    .reg-field .pw-toggle {
      padding: 0 0.75rem;
      cursor: pointer;
      color: #94a3b8;
      font-size: 0.88rem;
      background: none;
      border: none;
      outline: none;
      transition: color 0.2s;
    }

    .reg-field .pw-toggle:hover {
      color: #1d4ed8;
    }

    /* Hint text */
    .field-hint {
      font-size: 0.73rem;
      color: #94a3b8;
      margin-top: 0.3rem;
      display: flex;
      align-items: center;
      gap: 0.3rem;
    }

    .field-hint i {
      font-size: 0.68rem;
    }

    /* Divider line */
    .reg-divider {
      height: 1px;
      background: #f1f5f9;
      margin: 1.5rem 0;
    }

    /* Section label inside form */
    .reg-group-label {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: #94a3b8;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .reg-group-label::after {
      content: '';
      flex: 1;
      height: 1px;
      background: #f1f5f9;
    }

    /* Buttons */
    .btn-register {
      width: 100%;
      padding: 0.85rem;
      background: linear-gradient(135deg, #0f172a, #1d4ed8);
      color: #fff;
      font-weight: 700;
      font-size: 1rem;
      border: none;
      border-radius: 0.8rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.55rem;
      box-shadow: 0 12px 32px rgba(29, 78, 216, .35);
      transition: opacity 0.2s, transform 0.2s;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .btn-register:hover {
      opacity: 0.9;
      transform: translateY(-2px);
    }

    .btn-login-alt {
      width: 100%;
      padding: 0.8rem;
      background: #fff;
      color: #334155;
      font-weight: 600;
      font-size: 0.95rem;
      border: 1.5px solid #e2e8f0;
      border-radius: 0.8rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      transition: border-color 0.2s, background 0.2s;
      text-decoration: none;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .btn-login-alt:hover {
      border-color: #1d4ed8;
      background: #eff6ff;
      color: #1d4ed8;
    }

    .reg-or {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin: 1rem 0;
      font-size: 0.78rem;
      color: #94a3b8;
      font-weight: 600;
    }

    .reg-or::before,
    .reg-or::after {
      content: '';
      flex: 1;
      height: 1px;
      background: #f1f5f9;
    }

    /* Trust row */
    .reg-trust {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.25rem;
      margin-top: 1.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid #f1f5f9;
    }

    .rt-item {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.75rem;
      color: #64748b;
      font-weight: 500;
    }

    .rt-item i {
      color: #10b981;
      font-size: 0.78rem;
    }

    /* Side panel */
    .reg-side {
      background: linear-gradient(160deg, #0f172a, #172554 60%, #1e3a8a);
      border-radius: 1.2rem;
      padding: 2.5rem 2rem;
      height: 100%;
      position: sticky;
      top: 90px;
    }

    .rs-stat {
      background: rgba(255, 255, 255, .08);
      border: 1px solid rgba(255, 255, 255, .12);
      border-radius: 0.85rem;
      padding: 1.1rem;
      display: flex;
      align-items: center;
      gap: 0.85rem;
      margin-bottom: 0.85rem;
    }

    .rs-stat-icon {
      width: 2.4rem;
      height: 2.4rem;
      background: linear-gradient(135deg, #1d4ed8, #3b82f6);
      border-radius: 0.6rem;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 0.95rem;
      flex-shrink: 0;
    }

    .rs-stat strong {
      display: block;
      color: #fff;
      font-size: 0.95rem;
      font-weight: 700;
    }

    .rs-stat span {
      color: rgba(255, 255, 255, .55);
      font-size: 0.76rem;
    }

    .rs-benefit {
      display: flex;
      align-items: flex-start;
      gap: 0.65rem;
      margin-bottom: 0.8rem;
    }

    .rs-benefit i {
      color: #34d399;
      font-size: 0.85rem;
      margin-top: 3px;
      flex-shrink: 0;
    }

    .rs-benefit p {
      color: rgba(255, 255, 255, .75);
      font-size: 0.83rem;
      margin: 0;
    }

    @media (max-width: 991.98px) {
      .reg-card-body {
        padding: 1.75rem 1.5rem;
      }

      .reg-card-header {
        padding: 1.5rem;
      }

      .reg-side {
        position: static;
        margin-top: 1.5rem;
      }
    }

    @media (max-width: 575.98px) {
      .reg-card-body {
        padding: 1.4rem 1.1rem;
      }
    }


/* ================================================================
   application.php
   ================================================================ */

    /* ===================================================
       APPLICATION WIZARD — PAGE STYLES
    =================================================== */
    :root {
      --step-active: #1d4ed8;
      --step-done: #10b981;
      --step-idle: #cbd5e1;
    }

    .app-page {
      background: radial-gradient(ellipse at 8% 10%, rgba(29, 78, 216, .08), transparent 40%),
        radial-gradient(ellipse at 92% 90%, rgba(109, 40, 217, .07), transparent 40%),
        linear-gradient(180deg, #f8faff, #f4f7ff);
      min-height: calc(100vh - 68px);
      padding: 2.5rem 0 5rem;
    }

    /* ---- Page header ---- */
    .app-page-head {
      margin-bottom: 2rem;
    }

    .app-page-head h1 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(1.4rem, 2.5vw, 1.9rem);
      font-weight: 700;
      color: #0f172a;
      margin-bottom: .25rem;
    }

    .app-page-head p {
      font-size: .88rem;
      color: #64748b;
      margin: 0;
    }

    /* ---- Progress stepper ---- */
    .app-stepper {
      display: flex;
      align-items: flex-start;
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1rem;
      padding: 1.25rem 1.5rem;
      margin-bottom: 2rem;
      gap: 0;
      overflow-x: auto;
    }

    .app-step {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      flex: 1;
      min-width: 70px;
      position: relative;
      cursor: default;
    }

    .app-step:not(:last-child)::after {
      content: '';
      position: absolute;
      top: 18px;
      left: calc(50% + 18px);
      width: calc(100% - 36px);
      height: 2px;
      background: var(--step-idle);
      transition: background .4s;
    }

    .app-step.done:not(:last-child)::after {
      background: var(--step-done);
    }

    .app-step.active:not(:last-child)::after {
      background: var(--step-idle);
    }

    .ast-circle {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--step-idle);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .82rem;
      font-weight: 700;
      border: 2px solid var(--step-idle);
      transition: background .3s, border-color .3s;
      z-index: 1;
      position: relative;
    }

    .app-step.active .ast-circle {
      background: var(--step-active);
      border-color: var(--step-active);
      box-shadow: 0 0 0 4px rgba(29, 78, 216, .18);
    }

    .app-step.done .ast-circle {
      background: var(--step-done);
      border-color: var(--step-done);
    }

    .ast-label {
      font-size: .7rem;
      font-weight: 600;
      color: #94a3b8;
      margin-top: .45rem;
      line-height: 1.25;
    }

    .app-step.active .ast-label {
      color: var(--step-active);
    }

    .app-step.done .ast-label {
      color: var(--step-done);
    }

    /* ---- Card shell ---- */
    .app-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.2rem;
      overflow: hidden;
      box-shadow: 0 12px 40px rgba(15, 23, 42, .08);
    }

    .app-card-header {
      background: linear-gradient(135deg, #0f172a, #1d4ed8);
      padding: 1.4rem 2rem;
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .ach-icon {
      width: 2.8rem;
      height: 2.8rem;
      background: rgba(255, 255, 255, .15);
      border-radius: .7rem;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1.1rem;
      flex-shrink: 0;
    }

    .app-card-header h2 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.15rem;
      font-weight: 700;
      color: #fff;
      margin: 0 0 .15rem;
    }

    .app-card-header p {
      font-size: .78rem;
      color: rgba(255, 255, 255, .65);
      margin: 0;
    }

    .app-card-body {
      padding: 2rem;
    }

    /* ---- Step panels (show/hide) ---- */
    .app-panel {
      display: none;
      animation: panelIn .35s ease;
    }

    .app-panel.active {
      display: block;
    }

    @keyframes panelIn {
      from {
        opacity: 0;
        transform: translateY(12px);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }

    /* ---- Field styles (reused from register) ---- */
    .app-label {
      display: block;
      font-size: .78rem;
      font-weight: 700;
      color: #334155;
      margin-bottom: .35rem;
    }

    .req {
      color: #ef4444;
      margin-left: 1px;
    }

    .app-field {
      display: flex;
      align-items: center;
      border: 1.5px solid #e2e8f0;
      border-radius: .75rem;
      background: #f8fafc;
      overflow: hidden;
      transition: border-color .2s, background .2s, box-shadow .2s;
    }

    .app-field:focus-within {
      border-color: #3b82f6;
      background: #fff;
      box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
    }

    .app-field .af-icon {
      width: 2.6rem;
      text-align: center;
      color: #94a3b8;
      font-size: .88rem;
      flex-shrink: 0;
    }

    .app-field input,
    .app-field select,
    .app-field textarea {
      flex: 1;
      border: none;
      background: transparent;
      outline: none;
      padding: .7rem .75rem .7rem 0;
      font-size: .88rem;
      color: #0f172a;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .app-field textarea {
      padding: .7rem .75rem .7rem 0;
      resize: vertical;
      min-height: 80px;
    }

    .app-field select {
      cursor: pointer;
    }

    .app-field > .select2-container.select2-container--default {
      flex: 1 1 auto;
      min-width: 0;
      width: auto !important;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .app-field > .select2-container--default .select2-selection--single {
      height: 43px;
      border: 0;
      border-radius: 0;
      background: transparent;
    }

    .app-field > .select2-container--default .select2-selection--single .select2-selection__rendered {
      padding: 0 2rem 0 0;
      line-height: 43px;
      color: #0f172a;
      font-size: .88rem;
    }

    .app-field > .select2-container--default .select2-selection--single .select2-selection__placeholder {
      color: #94a3b8;
    }

    .app-field > .select2-container--default .select2-selection--single .select2-selection__arrow {
      height: 43px;
      right: .35rem;
    }

    .app-field input::placeholder,
    .app-field textarea::placeholder {
      color: #94a3b8;
    }

    .field-hint {
      font-size: .72rem;
      color: #94a3b8;
      margin-top: .28rem;
      display: flex;
      align-items: center;
      gap: .3rem;
    }

    .app-divider {
      height: 1px;
      background: #f1f5f9;
      margin: 1.5rem 0;
    }

    .app-group-label {
      font-size: .7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: #94a3b8;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: .5rem;
    }

    .app-group-label::after {
      content: '';
      flex: 1;
      height: 1px;
      background: #f1f5f9;
    }

    /* ---- Service / country selection cards ---- */
    .svc-select-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: .85rem;
    }

    .svc-sel-card {
      border: 2px solid #e2e8f0;
      border-radius: .9rem;
      padding: 1.1rem .9rem;
      text-align: center;
      cursor: pointer;
      transition: border-color .2s, background .2s, box-shadow .2s;
      position: relative;
      user-select: none;
    }

    .svc-sel-card:hover {
      border-color: #93c5fd;
      background: #f8fbff;
    }

    .svc-sel-card.selected {
      border-color: #1d4ed8;
      background: #eff6ff;
      box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
    }

    .svc-sel-card input[type="radio"] {
      position: absolute;
      inset: 0;
      opacity: 0;
      width: 100%;
      height: 100%;
      cursor: pointer;
    }

    .ssc-icon {
      width: 2.4rem;
      height: 2.4rem;
      border-radius: .55rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto .55rem;
      font-size: 1rem;
      color: #fff;
    }

    .svc-sel-card .ssc-name {
      font-size: .82rem;
      font-weight: 700;
      color: #0f172a;
    }

    .svc-sel-card .ssc-sub {
      font-size: .72rem;
      color: #64748b;
      margin-top: .15rem;
    }

    .svc-sel-card .ssc-check {
      position: absolute;
      top: .45rem;
      right: .55rem;
      width: 1.1rem;
      height: 1.1rem;
      border-radius: 50%;
      background: #1d4ed8;
      color: #fff;
      display: none;
      align-items: center;
      justify-content: center;
      font-size: .58rem;
    }

    .svc-sel-card.selected .ssc-check {
      display: flex;
    }

    /* Country cards */
    .country-sel-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
      gap: .75rem;
    }

    .country-sel-card {
      border: 2px solid #e2e8f0;
      border-radius: .9rem;
      padding: .9rem .75rem;
      text-align: center;
      cursor: pointer;
      transition: border-color .2s, background .2s, box-shadow .2s;
      position: relative;
      user-select: none;
    }

    .country-sel-card:hover {
      border-color: #93c5fd;
      background: #f8fbff;
    }

    .country-sel-card.selected {
      border-color: #1d4ed8;
      background: #eff6ff;
      box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
    }

    .country-sel-card input[type="radio"] {
      position: absolute;
      inset: 0;
      opacity: 0;
      width: 100%;
      height: 100%;
      cursor: pointer;
    }

    .country-sel-card img {
      width: 52px;
      height: 34px;
      object-fit: cover;
      border-radius: .3rem;
      margin-bottom: .5rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    }

    .country-sel-card .csc-name {
      font-size: .82rem;
      font-weight: 700;
      color: #0f172a;
    }

    .country-sel-card .ssc-check {
      position: absolute;
      top: .4rem;
      right: .5rem;
      width: 1.1rem;
      height: 1.1rem;
      border-radius: 50%;
      background: #1d4ed8;
      color: #fff;
      display: none;
      align-items: center;
      justify-content: center;
      font-size: .58rem;
    }

    .country-sel-card.selected .ssc-check {
      display: flex;
    }

    /* ---- Contract block ---- */
    .contract-box {
      background: #f8fafc;
      border: 1.5px solid #e2e8f0;
      border-radius: .9rem;
      padding: 1.5rem 1.75rem;
      max-height: 320px;
      overflow-y: auto;
      font-size: .83rem;
      color: #334155;
      line-height: 1.75;
      margin-bottom: 1.25rem;
    }

    .contract-box h5 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: .75rem;
    }

    .contract-box p {
      margin-bottom: .65rem;
    }

    .contract-box ol {
      padding-left: 1.4rem;
    }

    .contract-box li {
      margin-bottom: .5rem;
    }

    .sign-row {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .sign-canvas-wrap {
      border: 1.5px solid #e2e8f0;
      border-radius: .75rem;
      overflow: hidden;
      background: #fff;
      flex: 1;
      min-width: 240px;
    }

    #signCanvas {
      display: block;
      width: 100%;
      height: 110px;
      touch-action: none;
      cursor: crosshair;
    }

    .sign-actions {
      display: flex;
      flex-direction: column;
      gap: .5rem;
    }

    .btn-clear-sign {
      padding: .45rem .9rem;
      border: 1.5px solid #e2e8f0;
      border-radius: .6rem;
      background: #fff;
      color: #64748b;
      font-size: .8rem;
      font-weight: 600;
      cursor: pointer;
      transition: border-color .2s, color .2s;
    }

    .btn-clear-sign:hover {
      border-color: #ef4444;
      color: #ef4444;
    }

    .sign-hint {
      font-size: .72rem;
      color: #94a3b8;
      margin-top: .3rem;
    }

    /* ---- Education records ---- */
    .edu-record {
      background: #f8fafc;
      border: 1.5px solid #e2e8f0;
      border-radius: 1rem;
      padding: 1.5rem;
      margin-bottom: 1rem;
      position: relative;
    }

    .edu-record-num {
      position: absolute;
      top: -10px;
      left: 1rem;
      background: #1d4ed8;
      color: #fff;
      font-size: .68rem;
      font-weight: 700;
      padding: .15rem .55rem;
      border-radius: 999px;
    }

    .btn-remove-edu {
      position: absolute;
      top: .75rem;
      right: .85rem;
      background: none;
      border: none;
      color: #94a3b8;
      font-size: .85rem;
      cursor: pointer;
      transition: color .2s;
    }

    .btn-remove-edu:hover {
      color: #ef4444;
    }

    .btn-add-edu {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      padding: .55rem 1.2rem;
      border: 1.5px dashed #93c5fd;
      border-radius: .7rem;
      background: #eff6ff;
      color: #1d4ed8;
      font-size: .83rem;
      font-weight: 700;
      cursor: pointer;
      transition: background .2s, border-color .2s;
    }

    .btn-add-edu:hover {
      background: #dbeafe;
      border-color: #60a5fa;
    }

    /* ---- File upload tiles ---- */
    .doc-upload-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
      gap: 1rem;
    }

    .doc-tile {
      border: 1.5px dashed #cbd5e1;
      border-radius: .9rem;
      padding: 1.1rem .9rem;
      text-align: center;
      cursor: pointer;
      position: relative;
      background: #f8fafc;
      transition: border-color .2s, background .2s;
    }

    .doc-tile:hover {
      border-color: #3b82f6;
      background: #eff6ff;
    }

    .doc-tile.uploaded {
      border-color: #10b981;
      background: #f0fdf4;
      border-style: solid;
    }

    .doc-tile input[type="file"] {
      position: absolute;
      inset: 0;
      opacity: 0;
      width: 100%;
      height: 100%;
      cursor: pointer;
    }

    .dt-icon {
      width: 2.4rem;
      height: 2.4rem;
      border-radius: .55rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto .5rem;
      font-size: 1rem;
    }

    .doc-tile .dt-name {
      font-size: .83rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: .15rem;
    }

    .doc-tile .dt-hint {
      font-size: .7rem;
      color: #94a3b8;
    }

    .doc-tile .dt-req {
      font-size: .65rem;
      font-weight: 700;
      color: #ef4444;
      margin-top: .2rem;
    }

    .doc-tile .dt-opt {
      font-size: .65rem;
      font-weight: 700;
      color: #64748b;
      margin-top: .2rem;
    }

    .doc-tile .dt-done {
      font-size: .7rem;
      font-weight: 700;
      color: #10b981;
      display: none;
      align-items: center;
      gap: .3rem;
      justify-content: center;
      margin-top: .35rem;
    }

    .doc-tile.uploaded .dt-done {
      display: flex;
    }

    .doc-tile.uploaded .dt-hint,
    .doc-tile.uploaded .dt-req,
    .doc-tile.uploaded .dt-opt {
      display: none;
    }

    /* ---- Review summary ---- */
    .review-section {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: .9rem;
      padding: 1.25rem 1.5rem;
      margin-bottom: 1rem;
    }

    .review-section h5 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: .9rem;
      font-weight: 700;
      color: #1d4ed8;
      margin-bottom: .75rem;
      display: flex;
      align-items: center;
      gap: .5rem;
    }

    .review-row {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      font-size: .83rem;
      padding: .4rem 0;
      border-bottom: 1px solid #f1f5f9;
    }

    .review-row:last-child {
      border-bottom: none;
    }

    .review-row .rr-key {
      color: #64748b;
      font-weight: 500;
      flex: 1;
    }

    .review-row .rr-val {
      color: #0f172a;
      font-weight: 700;
      flex: 2;
      text-align: right;
    }

    /* ---- Navigation buttons ---- */
    .app-nav-btns {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 2rem;
      padding-top: 1.5rem;
      border-top: 1px solid #f1f5f9;
    }

    .btn-prev-step {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      padding: .65rem 1.4rem;
      border: 1.5px solid #e2e8f0;
      border-radius: .75rem;
      background: #fff;
      color: #334155;
      font-size: .88rem;
      font-weight: 600;
      cursor: pointer;
      transition: border-color .2s, background .2s;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .btn-prev-step:hover {
      border-color: #94a3b8;
      background: #f8fafc;
    }

    .btn-prev-step:disabled {
      opacity: .4;
      cursor: not-allowed;
    }

    .btn-next-step {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      padding: .65rem 1.6rem;
      background: linear-gradient(135deg, #0f172a, #1d4ed8);
      color: #fff;
      font-size: .88rem;
      font-weight: 700;
      border: none;
      border-radius: .75rem;
      cursor: pointer;
      box-shadow: 0 8px 24px rgba(29, 78, 216, .3);
      transition: opacity .2s, transform .2s;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .btn-next-step:hover {
      opacity: .9;
      transform: translateY(-1px);
    }

    .btn-submit-app {
      display: inline-flex;
      align-items: center;
      gap: .55rem;
      padding: .75rem 2rem;
      background: linear-gradient(135deg, #059669, #10b981);
      color: #fff;
      font-size: .95rem;
      font-weight: 700;
      border: none;
      border-radius: .8rem;
      cursor: pointer;
      box-shadow: 0 10px 28px rgba(16, 185, 129, .35);
      transition: opacity .2s, transform .2s;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .btn-submit-app:hover {
      opacity: .9;
      transform: translateY(-2px);
    }

    /* ---- Success screen ---- */
    #successPanel {
      display: none;
      text-align: center;
      padding: 3rem 1.5rem;
    }

    .success-icon {
      width: 5rem;
      height: 5rem;
      border-radius: 50%;
      background: linear-gradient(135deg, #059669, #10b981);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 2rem;
      margin: 0 auto 1.25rem;
      box-shadow: 0 12px 32px rgba(16, 185, 129, .35);
    }

    #successPanel h2 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.5rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: .5rem;
    }

    #successPanel p {
      color: #64748b;
      max-width: 460px;
      margin: 0 auto 1.5rem;
      font-size: .9rem;
    }

    .ref-badge {
      display: inline-block;
      background: #eff6ff;
      border: 1.5px solid #bfdbfe;
      color: #1d4ed8;
      font-size: .9rem;
      font-weight: 700;
      padding: .5rem 1.2rem;
      border-radius: .65rem;
      margin-bottom: 1.5rem;
      letter-spacing: .05em;
    }

    @media (max-width: 767.98px) {
      .app-card-body {
        padding: 1.4rem 1.1rem;
      }

      .app-card-header {
        padding: 1.2rem 1.1rem;
      }

      .svc-select-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .doc-upload-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }


/* ================================================================
   assessment.php
   ================================================================ */

    /* ═══ ASSESSMENT PAGE ═══ */
    .as-hero {
      background: linear-gradient(140deg, #0f172a 0%, #1e293b 50%, #172554 100%);
      padding: 4.5rem 0 5rem;
      position: relative;
      overflow: hidden;
      color: #fff;
    }

    .ash {
      position: absolute;
      border-radius: 50%;
      filter: blur(90px);
      opacity: .14;
      pointer-events: none;
    }

    .ash-1 {
      width: 500px;
      height: 500px;
      background: #6d28d9;
      top: -180px;
      right: -80px;
    }

    .ash-2 {
      width: 300px;
      height: 300px;
      background: #0ea5e9;
      bottom: -70px;
      left: -50px;
    }

    .as-hero .container {
      position: relative;
      z-index: 1;
    }

    .as-kicker {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .18);
      padding: .32rem .9rem;
      border-radius: 999px;
      font-size: .75rem;
      font-weight: 700;
      color: rgba(255, 255, 255, .88);
      margin-bottom: 1.1rem;
    }

    .as-hero h1 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(1.9rem, 4.5vw, 2.9rem);
      font-weight: 800;
      line-height: 1.18;
      margin-bottom: 1rem;
    }

    .as-hero p {
      color: rgba(255, 255, 255, .65);
      max-width: 520px;
      line-height: 1.8;
    }

    /* Steps counter */
    .as-steps {
      display: flex;
      align-items: center;
      gap: 0;
      margin-top: 2.5rem;
      flex-wrap: wrap;
      gap: .4rem;
    }

    .as-step-item {
      display: flex;
      align-items: center;
      gap: .4rem;
    }

    .as-step-num {
      width: 1.9rem;
      height: 1.9rem;
      border-radius: 50%;
      font-size: .73rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      border: 2px solid rgba(255, 255, 255, .25);
      color: rgba(255, 255, 255, .4);
      background: transparent;
      transition: all .3s;
    }

    .as-step-num.done {
      background: #10b981;
      border-color: #10b981;
      color: #fff;
    }

    .as-step-num.active {
      background: #1d4ed8;
      border-color: #1d4ed8;
      color: #fff;
      box-shadow: 0 0 0 5px rgba(29, 78, 216, .25);
    }

    .as-step-lbl {
      font-size: .74rem;
      font-weight: 700;
      color: rgba(255, 255, 255, .4);
      transition: color .3s;
    }

    .as-step-lbl.active {
      color: rgba(255, 255, 255, .9);
    }

    .as-step-lbl.done {
      color: #6ee7b7;
    }

    .as-step-sep {
      width: 2rem;
      height: 1px;
      background: rgba(255, 255, 255, .18);
      margin: 0 .1rem;
    }

    /* ── WIZARD CARD ── */
    .as-body {
      background: #f8fafc;
      padding: 3rem 0 5rem;
    }

    .as-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.4rem;
      box-shadow: 0 12px 40px rgba(15, 23, 42, .09);
      overflow: hidden;
    }

    .as-card-head {
      background: linear-gradient(135deg, #f8fafc, #f1f5f9);
      border-bottom: 1px solid #e2e8f0;
      padding: 1.5rem 2rem;
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .as-card-head-ic {
      width: 2.8rem;
      height: 2.8rem;
      border-radius: .7rem;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      color: #fff;
    }

    .as-card-head h4 {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 800;
      font-size: 1.05rem;
      color: #0f172a;
      margin: 0;
    }

    .as-card-head p {
      font-size: .82rem;
      color: #64748b;
      margin: .2rem 0 0;
    }

    /* Progress bar */
    .as-progress-wrap {
      height: 4px;
      background: #f1f5f9;
    }

    .as-progress-bar {
      height: 100%;
      background: linear-gradient(90deg, #1d4ed8, #6d28d9);
      transition: width .4s ease;
    }

    .as-card-body {
      padding: 2rem;
    }

    @media(max-width:575px) {
      .as-card-body {
        padding: 1.4rem;
      }
    }

    /* Step panes */
    .as-pane {
      display: none;
      animation: asIn .3s ease;
    }

    .as-pane.as-visible {
      display: block;
    }

    @keyframes asIn {
      from {
        opacity: 0;
        transform: translateY(14px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Form elements */
    .as-label {
      font-size: .78rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: .35rem;
      display: block;
    }

    .as-input {
      width: 100%;
      padding: .72rem 1rem;
      font-size: .9rem;
      color: #0f172a;
      border: 1.5px solid #e2e8f0;
      border-radius: .7rem;
      background: #fafafa;
      font-family: 'Plus Jakarta Sans', sans-serif;
      outline: none;
      transition: border-color .2s, box-shadow .2s;
    }

    .as-input:focus {
      border-color: #1d4ed8;
      box-shadow: 0 0 0 3px rgba(29, 78, 216, .1);
      background: #fff;
    }

    .as-input.error {
      border-color: #ef4444;
      box-shadow: 0 0 0 3px rgba(239, 68, 68, .1);
    }

    .as-err {
      font-size: .74rem;
      color: #ef4444;
      margin-top: .3rem;
      display: none;
    }

    .as-err.show {
      display: block;
    }

    /* Option cards (IELTS / CGPA choices) */
    .as-opts {
      display: grid;
      gap: .75rem;
    }

    .as-opts.cols-2 {
      grid-template-columns: 1fr 1fr;
    }

    @media(max-width:500px) {
      .as-opts.cols-2 {
        grid-template-columns: 1fr;
      }
    }

    .as-opt {
      position: relative;
      cursor: pointer;
    }

    .as-opt input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    .as-opt-body {
      display: flex;
      align-items: center;
      gap: .85rem;
      padding: .95rem 1.1rem;
      border: 1.5px solid #e2e8f0;
      border-radius: .85rem;
      background: #fafafa;
      transition: border-color .18s, background .18s, box-shadow .18s;
    }

    .as-opt input:checked+.as-opt-body {
      border-color: #1d4ed8;
      background: #eff6ff;
      box-shadow: 0 2px 12px rgba(29, 78, 216, .12);
    }

    .as-opt-ic {
      width: 2.4rem;
      height: 2.4rem;
      border-radius: .55rem;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .9rem;
    }

    .as-opt-text strong {
      display: block;
      font-size: .9rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: .07rem;
    }

    .as-opt-text span {
      font-size: .77rem;
      color: #64748b;
    }

    .as-opt-check {
      margin-left: auto;
      width: 1.4rem;
      height: 1.4rem;
      border-radius: 50%;
      flex-shrink: 0;
      border: 1.5px solid #cbd5e1;
      background: #fff;
      transition: all .18s;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .7rem;
      color: transparent;
    }

    .as-opt input:checked+.as-opt-body .as-opt-check {
      background: #1d4ed8;
      border-color: #1d4ed8;
      color: #fff;
    }

    /* Subject dropdown area */
    .as-subject-other {
      display: none;
      margin-top: .9rem;
      padding: 1rem;
      background: #fffbeb;
      border: 1px solid #fde68a;
      border-radius: .85rem;
    }

    .as-subject-other.show {
      display: block;
    }

    /* Buttons */
    .as-btn-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 2rem;
      gap: .75rem;
    }

    .as-btn-next,
    .as-btn-prev,
    .as-btn-submit {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: .92rem;
      font-weight: 700;
      border: none;
      border-radius: .75rem;
      padding: .78rem 1.75rem;
      cursor: pointer;
      transition: all .2s;
    }

    .as-btn-next,
    .as-btn-submit {
      background: linear-gradient(135deg, #1d4ed8, #6d28d9);
      color: #fff;
      box-shadow: 0 6px 18px rgba(29, 78, 216, .28);
    }

    .as-btn-next:hover,
    .as-btn-submit:hover {
      opacity: .88;
    }

    .as-btn-prev {
      background: #f1f5f9;
      color: #64748b;
    }

    .as-btn-prev:hover {
      background: #e2e8f0;
    }

    /* ── RESULT CARD ── */
    .as-result {
      display: none;
    }

    .as-result.as-visible {
      display: block;
      animation: asIn .4s ease;
    }

    .as-result-hero {
      border-radius: 1.1rem;
      padding: 2.5rem 2rem;
      text-align: center;
      margin-bottom: 1.5rem;
    }

    .as-result-hero.strong {
      background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    }

    .as-result-hero.moderate {
      background: linear-gradient(135deg, #fef3c7, #fde68a);
    }

    .as-result-hero.needs-work {
      background: linear-gradient(135deg, #fee2e2, #fecaca);
    }

    .as-result-ic {
      width: 5rem;
      height: 5rem;
      border-radius: 50%;
      margin: 0 auto 1.25rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
    }

    .strong .as-result-ic {
      background: #10b981;
      color: #fff;
      box-shadow: 0 8px 24px rgba(16, 185, 129, .35);
    }

    .moderate .as-result-ic {
      background: #f59e0b;
      color: #fff;
      box-shadow: 0 8px 24px rgba(245, 158, 11, .35);
    }

    .needs-work .as-result-ic {
      background: #ef4444;
      color: #fff;
      box-shadow: 0 8px 24px rgba(239, 68, 68, .35);
    }

    .as-result-hero h3 {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 800;
      font-size: 1.5rem;
      margin-bottom: .5rem;
    }

    .strong .as-result-hero h3 {
      color: #065f46;
    }

    .moderate .as-result-hero h3 {
      color: #92400e;
    }

    .needs-work .as-result-hero h3 {
      color: #991b1b;
    }

    .as-result-hero p {
      font-size: .92rem;
      color: #374151;
      line-height: 1.8;
      max-width: 520px;
      margin-inline: auto;
    }

    .as-score-pills {
      display: flex;
      flex-wrap: wrap;
      gap: .5rem;
      justify-content: center;
      margin-top: 1.25rem;
    }

    .as-score-pill {
      display: inline-flex;
      align-items: center;
      gap: .35rem;
      padding: .32rem .85rem;
      border-radius: 999px;
      font-size: .77rem;
      font-weight: 700;
      background: rgba(255, 255, 255, .55);
      color: #374151;
    }

    .as-tips {
      margin-top: 1.2rem;
    }

    .as-tip-item {
      display: flex;
      align-items: flex-start;
      gap: .75rem;
      padding: .75rem .9rem;
      border: 1px solid #e2e8f0;
      border-radius: .75rem;
      margin-bottom: .5rem;
      background: #fff;
    }

    .as-tip-item i {
      color: #1d4ed8;
      margin-top: .12rem;
      flex-shrink: 0;
    }

    .as-tip-item span {
      font-size: .87rem;
      color: #334155;
      line-height: 1.65;
    }

    .as-session-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: .6rem;
      background: linear-gradient(135deg, #059669, #10b981);
      color: #fff;
      font-weight: 800;
      font-size: 1rem;
      border-radius: .9rem;
      padding: 1rem 2rem;
      text-decoration: none;
      margin-top: 1.5rem;
      transition: opacity .2s;
      box-shadow: 0 8px 24px rgba(16, 185, 129, .3);
    }

    .as-session-btn:hover {
      opacity: .88;
      color: #fff;
    }

    /* Subject-not-found result */
    .as-notfound {
      display: none;
      text-align: center;
      padding: 2.5rem 1.5rem;
      background: #fffbeb;
      border: 1px solid #fde68a;
      border-radius: 1.1rem;
      margin-bottom: 1rem;
    }

    .as-notfound.show {
      display: block;
      animation: asIn .35s ease;
    }

    .as-notfound i {
      font-size: 2.5rem;
      color: #f59e0b;
      margin-bottom: .75rem;
    }

    .as-notfound h4 {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 800;
      color: #92400e;
      margin-bottom: .4rem;
    }

    .as-notfound p {
      font-size: .88rem;
      color: #78350f;
      line-height: 1.8;
    }

    /* Side info panel */
    .as-info-card {
      background: linear-gradient(135deg, #0f172a, #1e3a8a);
      border-radius: 1.2rem;
      padding: 1.75rem;
      color: #fff;
      margin-bottom: 1.25rem;
    }

    .as-info-card h5 {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 800;
      margin-bottom: .9rem;
    }

    .as-info-row {
      display: flex;
      align-items: flex-start;
      gap: .7rem;
      margin-bottom: .75rem;
    }

    .as-info-row:last-child {
      margin-bottom: 0;
    }

    .as-info-ic {
      flex-shrink: 0;
      margin-top: .08rem;
      color: #6ee7b7;
    }

    .as-info-row span {
      font-size: .84rem;
      color: rgba(255, 255, 255, .75);
      line-height: 1.65;
    }

    .as-trust-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.2rem;
      padding: 1.25rem;
    }

    .as-trust-item {
      display: flex;
      align-items: center;
      gap: .7rem;
      padding: .55rem 0;
      border-bottom: 1px solid #f8fafc;
    }

    .as-trust-item:last-child {
      border-bottom: none;
    }

    .as-trust-ic {
      width: 2.2rem;
      height: 2.2rem;
      border-radius: .5rem;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .8rem;
      color: #fff;
    }

    .as-trust-item span {
      font-size: .84rem;
      font-weight: 600;
      color: #0f172a;
    }


/* ================================================================
   sessions.php
   ================================================================ */

    /* ═══ SESSIONS PAGE ═══ */
    .ss-hero {
      background: linear-gradient(140deg, #0f172a 0%, #1e293b 50%, #052e16 100%);
      padding: 4.5rem 0 5rem;
      position: relative;
      overflow: hidden;
      color: #fff;
    }

    .ssh {
      position: absolute;
      border-radius: 50%;
      filter: blur(90px);
      opacity: .14;
      pointer-events: none;
    }

    .ssh-1 {
      width: 480px;
      height: 480px;
      background: #10b981;
      top: -160px;
      right: -80px;
    }

    .ssh-2 {
      width: 280px;
      height: 280px;
      background: #0ea5e9;
      bottom: -60px;
      left: -40px;
    }

    .ss-hero .container {
      position: relative;
      z-index: 1;
    }

    .ss-kicker {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .18);
      padding: .32rem .9rem;
      border-radius: 999px;
      font-size: .75rem;
      font-weight: 700;
      color: rgba(255, 255, 255, .88);
      margin-bottom: 1.1rem;
    }

    .ss-hero h1 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(1.9rem, 4.5vw, 2.9rem);
      font-weight: 800;
      line-height: 1.18;
      margin-bottom: 1rem;
    }

    .ss-hero p {
      color: rgba(255, 255, 255, .65);
      max-width: 520px;
      line-height: 1.8;
    }

    /* Process pills */
    .ss-process {
      display: flex;
      flex-wrap: wrap;
      gap: .65rem;
      margin-top: 1.75rem;
    }

    .ss-proc-step {
      display: flex;
      align-items: center;
      gap: .5rem;
      background: rgba(255, 255, 255, .07);
      border: 1px solid rgba(255, 255, 255, .13);
      padding: .5rem 1rem;
      border-radius: .65rem;
      font-size: .8rem;
      color: rgba(255, 255, 255, .8);
      font-weight: 600;
    }

    .ss-proc-step i {
      color: #6ee7b7;
      font-size: .75rem;
    }

    /* ── BODY ── */
    .ss-body {
      background: #f8fafc;
      padding: 3rem 0 5rem;
    }

    /* ── FORM CARD ── */
    .ss-form-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.4rem;
      box-shadow: 0 12px 40px rgba(15, 23, 42, .08);
      overflow: hidden;
    }

    .ss-sec-head {
      background: linear-gradient(135deg, #f8fafc, #f1f5f9);
      border-bottom: 1px solid #e2e8f0;
      padding: 1.25rem 1.75rem;
      display: flex;
      align-items: center;
      gap: .9rem;
    }

    .ss-sec-ic {
      width: 2.6rem;
      height: 2.6rem;
      border-radius: .65rem;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      color: #fff;
    }

    .ss-sec-head h5 {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 800;
      font-size: .98rem;
      color: #0f172a;
      margin: 0;
    }

    .ss-sec-head p {
      font-size: .8rem;
      color: #64748b;
      margin: .15rem 0 0;
    }

    .ss-form-body {
      padding: 1.75rem;
    }

    @media(max-width:575px) {
      .ss-form-body {
        padding: 1.25rem;
      }
    }

    /* Form elements */
    .ss-label {
      font-size: .78rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: .35rem;
      display: block;
    }

    .ss-input {
      width: 100%;
      padding: .7rem 1rem;
      font-size: .9rem;
      color: #0f172a;
      border: 1.5px solid #e2e8f0;
      border-radius: .7rem;
      background: #fafafa;
      font-family: 'Plus Jakarta Sans', sans-serif;
      outline: none;
      transition: border-color .2s, box-shadow .2s;
    }

    .ss-input:focus {
      border-color: #059669;
      box-shadow: 0 0 0 3px rgba(5, 150, 105, .1);
      background: #fff;
    }

    .ss-input.error {
      border-color: #ef4444;
      box-shadow: 0 0 0 3px rgba(239, 68, 68, .1);
    }

    .ss-err {
      font-size: .74rem;
      color: #ef4444;
      margin-top: .3rem;
      display: none;
    }

    .ss-err.show {
      display: block;
    }

    /* File upload */
    .ss-file-drop {
      border: 2px dashed #cbd5e1;
      border-radius: .85rem;
      padding: 1.5rem;
      text-align: center;
      background: #fafafa;
      cursor: pointer;
      transition: all .2s;
      position: relative;
    }

    .ss-file-drop:hover {
      border-color: #059669;
      background: #f0fdf4;
    }

    .ss-file-drop input {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer;
    }

    .ss-file-drop i {
      font-size: 1.5rem;
      color: #64748b;
      margin-bottom: .5rem;
    }

    .ss-file-drop p {
      font-size: .84rem;
      color: #64748b;
      margin: 0;
    }

    .ss-file-drop strong {
      font-weight: 700;
      color: #059669;
    }

    .ss-file-name {
      font-size: .78rem;
      color: #059669;
      font-weight: 700;
      margin-top: .4rem;
      display: none;
    }

    /* ── SLOT GRID ── */
    .ss-slot-section {
      padding: 1.75rem;
    }

    @media(max-width:575px) {
      .ss-slot-section {
        padding: 1.25rem;
      }
    }

    .ss-slot-scroll {
      overflow-x: auto;
      padding-bottom: .5rem;
    }

    .ss-slot-table {
      min-width: 680px;
      width: 100%;
    }

    .ss-slot-table thead th {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      padding: .55rem .6rem;
      font-size: .72rem;
      font-weight: 800;
      color: #64748b;
      text-align: center;
      white-space: nowrap;
    }

    .ss-slot-table tbody td {
      border: 1px solid #f1f5f9;
      padding: .2rem .25rem;
      text-align: center;
      vertical-align: middle;
    }

    .ss-slot-table .day-label {
      font-size: .74rem;
      font-weight: 800;
      color: #0f172a;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      padding: .55rem .8rem;
      white-space: nowrap;
    }

    .ss-slot {
      display: block;
      padding: .38rem .25rem;
      font-size: .69rem;
      font-weight: 700;
      border-radius: .4rem;
      cursor: pointer;
      transition: all .15s;
      border: 1.5px solid transparent;
      line-height: 1.2;
    }

    .ss-slot.available {
      background: #f0fdf4;
      color: #059669;
      border-color: #bbf7d0;
    }

    .ss-slot.available:hover {
      background: #dcfce7;
      border-color: #059669;
    }

    .ss-slot.booked {
      background: #f1f5f9;
      color: #94a3b8;
      cursor: default;
      font-weight: 600;
      text-decoration: line-through;
    }

    .ss-slot.selected {
      background: #059669;
      color: #fff;
      border-color: #059669;
      box-shadow: 0 3px 10px rgba(5, 150, 105, .3);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: .2rem;
    }

    .ss-slot.selected .slot-check {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: .95rem;
      height: .95rem;
      background: rgba(255, 255, 255, .25);
      border-radius: 50%;
      font-size: .52rem;
      flex-shrink: 0;
    }

    .ss-slot-key {
      display: flex;
      flex-wrap: wrap;
      gap: .65rem;
      margin-bottom: 1.2rem;
      font-size: .78rem;
    }

    .ss-key-item {
      display: flex;
      align-items: center;
      gap: .4rem;
      font-weight: 600;
      color: #64748b;
    }

    .ss-key-dot {
      width: .7rem;
      height: .7rem;
      border-radius: 3px;
      flex-shrink: 0;
    }

    /* Selected slot display */
    .ss-selected-slot {
      display: none;
      background: #f0fdf4;
      border: 1.5px solid #bbf7d0;
      border-radius: .85rem;
      padding: .85rem 1.1rem;
      margin-top: 1.25rem;
      font-size: .88rem;
      color: #065f46;
      font-weight: 700;
    }

    .ss-selected-slot.show {
      display: flex;
      align-items: center;
      gap: .6rem;
    }

    .ss-err-slot {
      display: none;
      font-size: .74rem;
      color: #ef4444;
      margin-top: .5rem;
    }

    .ss-err-slot.show {
      display: block;
    }

    /* Note field */
    .ss-note-sec {
      padding: 1.5rem 1.75rem;
      border-top: 1px solid #f1f5f9;
    }

    @media(max-width:575px) {
      .ss-note-sec {
        padding: 1.25rem;
      }
    }

    /* Submit */
    .ss-submit-row {
      padding: 1.5rem 1.75rem;
      border-top: 1px solid #f1f5f9;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .ss-btn-submit {
      display: inline-flex;
      align-items: center;
      gap: .55rem;
      background: linear-gradient(135deg, #059669, #10b981);
      color: #fff;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: .95rem;
      font-weight: 800;
      border: none;
      border-radius: .85rem;
      padding: .88rem 2rem;
      cursor: pointer;
      transition: all .2s;
      box-shadow: 0 8px 24px rgba(5, 150, 105, .3);
    }

    .ss-btn-submit:hover {
      opacity: .88;
    }

    .ss-btn-submit:disabled {
      opacity: .5;
      cursor: not-allowed;
    }

    .ss-terms {
      font-size: .78rem;
      color: #94a3b8;
    }

    .ss-terms a {
      color: #059669;
      text-decoration: none;
      font-weight: 700;
    }

    /* ── SUCCESS STATE ── */
    .ss-success {
      display: none;
      text-align: center;
      padding: 3rem 2rem;
    }

    .ss-success.show {
      display: block;
      animation: ssIn .45s ease;
    }

    @keyframes ssIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .ss-success-ic {
      width: 6rem;
      height: 6rem;
      border-radius: 50%;
      margin: 0 auto 1.5rem;
      background: linear-gradient(135deg, #059669, #10b981);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.2rem;
      color: #fff;
      box-shadow: 0 12px 32px rgba(5, 150, 105, .38);
    }

    .ss-success h3 {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 800;
      font-size: 1.7rem;
      color: #065f46;
      margin-bottom: .6rem;
    }

    .ss-success p {
      color: #64748b;
      font-size: .95rem;
      line-height: 1.8;
      max-width: 480px;
      margin-inline: auto;
    }

    .ss-success-detail {
      background: #f0fdf4;
      border: 1px solid #bbf7d0;
      border-radius: 1rem;
      display: inline-block;
      padding: 1.1rem 1.75rem;
      margin: 1.25rem 0;
      text-align: left;
    }

    .ss-det-row {
      display: flex;
      align-items: center;
      gap: .65rem;
      font-size: .88rem;
      color: #065f46;
      font-weight: 700;
      margin-bottom: .45rem;
    }

    .ss-det-row:last-child {
      margin-bottom: 0;
    }

    .ss-det-row i {
      color: #10b981;
      flex-shrink: 0;
    }

    .ss-success-actions {
      display: flex;
      flex-wrap: wrap;
      gap: .75rem;
      justify-content: center;
      margin-top: 1.5rem;
    }

    .ss-btn-wa {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      background: #25d366;
      color: #fff;
      font-weight: 800;
      font-size: .9rem;
      border-radius: .75rem;
      padding: .75rem 1.5rem;
      text-decoration: none;
      transition: opacity .2s;
    }

    .ss-btn-wa:hover {
      opacity: .88;
      color: #fff;
    }

    .ss-btn-home {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      background: #f1f5f9;
      color: #334155;
      font-weight: 700;
      font-size: .9rem;
      border-radius: .75rem;
      padding: .75rem 1.5rem;
      text-decoration: none;
      transition: background .2s;
    }

    .ss-btn-home:hover {
      background: #e2e8f0;
    }

    /* ── SIDE PANEL ── */
    .ss-info-card {
      background: linear-gradient(135deg, #0f172a, #052e16);
      border-radius: 1.2rem;
      padding: 1.75rem;
      color: #fff;
      margin-bottom: 1.25rem;
    }

    .ss-info-card h5 {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 800;
      margin-bottom: 1rem;
    }

    .ss-info-row {
      display: flex;
      align-items: flex-start;
      gap: .7rem;
      margin-bottom: .85rem;
    }

    .ss-info-row:last-child {
      margin-bottom: 0;
    }

    .ss-info-num {
      width: 1.65rem;
      height: 1.65rem;
      background: #10b981;
      border-radius: .4rem;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .72rem;
      font-weight: 800;
      color: #fff;
      margin-top: .08rem;
    }

    .ss-info-row span {
      font-size: .84rem;
      color: rgba(255, 255, 255, .72);
      line-height: 1.65;
    }

    .ss-advisor-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.2rem;
      padding: 1.5rem;
      margin-bottom: 1.25rem;
    }

    .ss-advisor-card h6 {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 800;
      font-size: .9rem;
      color: #0f172a;
      margin-bottom: 1rem;
    }

    .ss-advisor-avt {
      width: 3.5rem;
      height: 3.5rem;
      border-radius: 50%;
      background: linear-gradient(135deg, #059669, #10b981);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      color: #fff;
      font-weight: 800;
      flex-shrink: 0;
    }

    .ss-advisor-name {
      font-weight: 800;
      font-size: .94rem;
      color: #0f172a;
    }

    .ss-advisor-role {
      font-size: .78rem;
      color: #64748b;
    }

    .ss-note-callout {
      background: #fff7ed;
      border: 1px solid #fed7aa;
      border-radius: 1.1rem;
      padding: 1.25rem;
      margin-bottom: 1.25rem;
    }

    .ss-note-callout h6 {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 800;
      font-size: .9rem;
      color: #9a3412;
      margin-bottom: .6rem;
    }

    .ss-note-callout li {
      font-size: .83rem;
      color: #7c2d12;
      line-height: 1.75;
    }

    .ss-wa-cta {
      display: flex;
      align-items: center;
      gap: .7rem;
      background: linear-gradient(135deg, #4CAF50, #25d366);
      color: #fff;
      border-radius: 1rem;
      padding: 1.1rem 1.25rem;
      text-decoration: none;
      transition: opacity .2s;
      font-weight: 800;
      font-size: .94rem;
    }

    .ss-wa-cta:hover {
      opacity: .88;
      color: #fff;
    }

    .ss-wa-cta i {
      font-size: 1.4rem;
    }


/* ================================================================
   profile.php
   ================================================================ */

    /* ═══════════════════════════════════
       PROFILE PAGE — FULL STYLES
    ═══════════════════════════════════ */

    /* ── HEADER ── */
    .pf-header {
      background: linear-gradient(140deg, #0f172a 0%, #1e293b 50%, #172554 100%);
      padding: 3.5rem 0 0;
      position: relative;
      overflow: hidden;
      color: #fff;
    }

    .pf-hbs {
      position: absolute;
      border-radius: 50%;
      filter: blur(90px);
      opacity: .13;
      pointer-events: none;
    }

    .pf-hbs-1 {
      width: 520px;
      height: 520px;
      background: #6d28d9;
      top: -200px;
      right: -100px;
    }

    .pf-hbs-2 {
      width: 320px;
      height: 320px;
      background: #0ea5e9;
      bottom: -80px;
      left: -60px;
    }

    .pf-hbs-3 {
      width: 180px;
      height: 180px;
      background: #10b981;
      top: 30%;
      right: 20%;
    }

    .pf-header .container {
      position: relative;
      z-index: 1;
    }

    .pf-avatar {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      flex-shrink: 0;
      background: linear-gradient(135deg, #1d4ed8, #6d28d9);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 2rem;
      font-weight: 800;
      color: #fff;
      border: 3px solid rgba(255, 255, 255, .22);
      box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
    }

    .pf-name {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(1.3rem, 3vw, 1.65rem);
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: .25rem;
    }

    .pf-email {
      color: rgba(255, 255, 255, .55);
      font-size: .84rem;
      margin-bottom: .8rem;
    }

    .pf-badge-row {
      display: flex;
      align-items: center;
      gap: .55rem;
      flex-wrap: wrap;
    }

    .pf-app-no {
      display: inline-flex;
      align-items: center;
      gap: .35rem;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .15);
      padding: .28rem .8rem;
      border-radius: .5rem;
      font-size: .73rem;
      font-weight: 700;
      color: rgba(255, 255, 255, .85);
    }

    .pf-status {
      display: inline-flex;
      align-items: center;
      gap: .35rem;
      padding: .28rem .8rem;
      border-radius: .5rem;
      font-size: .73rem;
      font-weight: 800;
      letter-spacing: .04em;
    }

    .pf-status-pending {
      background: #fef3c7;
      color: #b45309;
    }

    .pf-status-approved {
      background: #d1fae5;
      color: #065f46;
    }

    .pf-status-rejected {
      background: #fee2e2;
      color: #991b1b;
    }

    .pf-status-revision {
      background: linear-gradient(135deg, #f97316, #ea580c);
      color: #fff7ed;
      box-shadow: 0 10px 24px rgba(249, 115, 22, .28);
      border: 1px solid rgba(255, 237, 213, .45);
    }

    .pf-status-processing {
      background: #dbeafe;
      color: #1e40af;
    }

    /* Stats bar */
    .pf-stats-bar {
      margin-top: 2.5rem;
      background: rgba(255, 255, 255, .05);
      border-top: 1px solid rgba(255, 255, 255, .09);
    }

    .pf-stat-item {
      padding: 1.1rem 1.25rem;
      display: flex;
      align-items: center;
      gap: .75rem;
      border-right: 1px solid rgba(255, 255, 255, .07);
    }

    .pf-stat-item:last-child {
      border-right: none;
    }

    .pf-stat-icon {
      width: 2.3rem;
      height: 2.3rem;
      border-radius: .55rem;
      flex-shrink: 0;
      background: rgba(255, 255, 255, .1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .88rem;
      color: rgba(255, 255, 255, .8);
    }

    .pf-stat-label {
      font-size: .66rem;
      color: rgba(255, 255, 255, .4);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .07em;
      margin-bottom: .12rem;
    }

    .pf-stat-value {
      font-size: .88rem;
      font-weight: 700;
      color: rgba(255, 255, 255, .9);
    }

    /* ── BODY ── */
    .pf-body {
      background: #f8fafc;
      padding: 2.5rem 0 5rem;
    }

    /* ── SIDEBAR ── */
    .pf-sidebar {
      position: sticky;
      top: 88px;
      max-height: calc(100vh - 104px);
    }

    .pf-sidebar-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.2rem;
      overflow: hidden;
      box-shadow: 0 4px 18px rgba(15, 23, 42, .07);
    }

    .pf-sidebar-scroll {
      max-height: calc(100vh - 104px);
      overflow-y: auto;
      /* Firefox — always hidden, content still scrollable */
      scrollbar-width: none;
    }

    /* Chrome/Edge — hidden by default, appears on hover */
    .pf-sidebar-scroll::-webkit-scrollbar {
      width: 0;
      transition: width .2s ease;
    }

    .pf-sidebar-scroll:hover::-webkit-scrollbar {
      width: 4px;
    }

    .pf-sidebar-scroll::-webkit-scrollbar-track {
      background: transparent;
    }

    .pf-sidebar-scroll::-webkit-scrollbar-thumb {
      background: rgba(148, 163, 184, .45);
      border-radius: 999px;
    }

    .pf-sidebar-scroll::-webkit-scrollbar-thumb:hover {
      background: rgba(100, 116, 139, .7);
    }

    .pf-sidebar-scroll::-webkit-scrollbar-button {
      display: none;
      height: 0;
    }

    .pf-sidebar-head {
      background: linear-gradient(135deg, #0f172a, #1e3a8a);
      padding: .88rem 1.25rem;
      font-family: 'Space Grotesk', sans-serif;
      font-size: .72rem;
      font-weight: 700;
      color: rgba(255, 255, 255, .6);
      letter-spacing: .1em;
      text-transform: uppercase;
    }

    .pf-nav-lnk {
      display: flex;
      align-items: center;
      gap: .7rem;
      padding: .72rem 1.1rem;
      font-size: .83rem;
      font-weight: 600;
      color: #64748b;
      text-decoration: none;
      border-left: 3px solid transparent;
      transition: all .18s;
      border-bottom: 1px solid #f8fafc;
    }

    .pf-nav-lnk:last-child {
      border-bottom: none;
    }

    .pf-nav-lnk:hover {
      color: #1d4ed8;
      background: #f0f9ff;
      border-left-color: #93c5fd;
    }

    .pf-nav-lnk.pf-active {
      color: #1d4ed8;
      background: #eff6ff;
      border-left-color: #1d4ed8;
      font-weight: 700;
    }

    .pf-nav-ic {
      width: 1.85rem;
      height: 1.85rem;
      border-radius: .42rem;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .7rem;
      color: #fff;
    }

    .pf-nav-bdg {
      margin-left: auto;
      min-width: 1.3rem;
      height: 1.3rem;
      border-radius: 999px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .62rem;
      font-weight: 800;
      color: #fff;
      padding: 0 .22rem;
    }

    .pf-nav-bdg.green {
      background: #10b981;
    }

    .pf-nav-bdg.amber {
      background: #f59e0b;
    }

    .pf-nav-bdg.blue {
      background: #3b82f6;
    }

    /* ── SECTION CARDS ── */
    .pf-sec {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.2rem;
      margin-bottom: 1.5rem;
      overflow: hidden;
      box-shadow: 0 3px 12px rgba(15, 23, 42, .05);
      scroll-margin-top: 106px;
    }

    .pf-sec-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: .6rem;
      padding: 1.15rem 1.75rem;
      border-bottom: 1px solid #f1f5f9;
    }

    .pf-sec-title {
      display: flex;
      align-items: center;
      gap: .7rem;
    }

    .pf-sec-title span {
      font-family: 'Space Grotesk', sans-serif;
      font-size: .97rem;
      font-weight: 700;
      color: #0f172a;
    }

    .pf-sec-ic {
      width: 2.15rem;
      height: 2.15rem;
      border-radius: .5rem;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .76rem;
      color: #fff;
    }

    .pf-sec-body {
      padding: 1.5rem 1.75rem;
    }

    .pf-help-videos-sec .pf-sec-body {
      background: #fbfdff;
    }

    .pf-help-videos-sec.pf-help-collapsed .pf-sec-head {
      border-bottom: none;
    }

    .pf-help-videos-sec.pf-help-open .pf-sec-head {
      border-bottom: 1px solid #f1f5f9;
    }

    .pf-help-toggle {
      display: inline-flex;
      align-items: center;
      gap: .42rem;
      border: 1px solid #bfdbfe;
      border-radius: .65rem;
      background: #eff6ff;
      color: #1d4ed8;
      padding: .46rem .72rem;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: .76rem;
      font-weight: 800;
      line-height: 1;
      cursor: pointer;
      transition: all .18s;
    }

    .pf-help-toggle:hover {
      border-color: #93c5fd;
      background: #dbeafe;
    }

    .pf-help-toggle .fa-chevron-down {
      transition: transform .18s;
    }

    .pf-help-toggle[aria-expanded="true"] .fa-chevron-down {
      transform: rotate(180deg);
    }

    .pf-help-toggle-count {
      color: #64748b;
      font-size: .68rem;
      font-weight: 800;
    }

    .pf-help-intro {
      display: flex;
      align-items: center;
      gap: .75rem;
      padding: .8rem .95rem;
      margin-bottom: 1rem;
      border: 1px solid #ccfbf1;
      border-radius: .85rem;
      background: #f0fdfa;
    }

    .pf-help-intro-icon {
      width: 2.2rem;
      height: 2.2rem;
      border-radius: .65rem;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #0f766e;
      background: #ccfbf1;
      font-size: .9rem;
    }

    .pf-help-eyebrow {
      color: #0f766e;
      font-size: .68rem;
      font-weight: 800;
      letter-spacing: .07em;
      text-transform: uppercase;
      margin-bottom: .12rem;
    }

    .pf-help-note {
      color: #475569;
      font-size: .8rem;
      line-height: 1.45;
      font-weight: 600;
    }

    .pf-help-video-card {
      min-width: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border: 1px solid #e2e8f0;
      border-radius: .9rem;
      background: #fff;
      box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
    }

    .pf-help-video-frame {
      position: relative;
      aspect-ratio: 16 / 9;
      width: 100%;
      background: #0f172a;
    }

    .pf-help-video-frame video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
    }

    .pf-help-video-frame iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }

    .pf-help-video-copy {
      padding: .72rem .8rem .8rem;
    }

    .pf-help-video-meta {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: .5rem;
      margin-bottom: .32rem;
      color: #64748b;
      font-size: .66rem;
      font-weight: 800;
      text-transform: uppercase;
    }

    .pf-help-video-meta span {
      display: inline-flex;
      align-items: center;
      gap: .28rem;
    }

    .pf-help-video-copy h3 {
      margin: 0 0 .22rem;
      color: #0f172a;
      font-family: 'Space Grotesk', sans-serif;
      font-size: .84rem;
      font-weight: 800;
      line-height: 1.25;
    }

    .pf-help-video-copy p {
      margin: 0;
      color: #64748b;
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      font-size: .72rem;
      line-height: 1.4;
      font-weight: 500;
    }

    @media(max-width:575px) {
      .pf-help-intro {
        align-items: flex-start;
        padding: .75rem;
      }

      .pf-help-video-copy {
        padding: .8rem;
      }
    }

    /* Pills */
    .pill {
      display: inline-flex;
      align-items: center;
      gap: .3rem;
      padding: .24rem .72rem;
      border-radius: 999px;
      font-size: .69rem;
      font-weight: 800;
      line-height: 1;
    }

    .pill-green {
      background: #d1fae5;
      color: #065f46;
    }

    .pill-amber {
      background: #fef3c7;
      color: #92400e;
    }

    .pill-blue {
      background: #dbeafe;
      color: #1e40af;
    }

    .pill-red {
      background: #fee2e2;
      color: #991b1b;
    }

    .pill-gray {
      background: #f1f5f9;
      color: #64748b;
    }

    .pill-indigo {
      background: #ede9fe;
      color: #4c1d95;
    }

    /* ── PERSONAL INFO GRID ── */
    .pf-info-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
    }

    @media(max-width:575px) {
      .pf-info-grid {
        grid-template-columns: 1fr;
      }
    }

    .pf-ii {
      display: flex;
      align-items: flex-start;
      gap: .65rem;
      padding: .8rem .6rem;
      border-bottom: 1px solid #f1f5f9;
    }

    .pf-ii:nth-child(odd) {
      border-right: 1px solid #f1f5f9;
    }

    @media(max-width:575px) {
      .pf-ii {
        border-right: none !important;
      }
    }

    .pf-ii-ic {
      width: 1.9rem;
      height: 1.9rem;
      border-radius: .4rem;
      flex-shrink: 0;
      background: #f1f5f9;
      color: #64748b;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .72rem;
      margin-top: .07rem;
    }

    .pf-ii-lbl {
      font-size: .67rem;
      font-weight: 700;
      color: #94a3b8;
      text-transform: uppercase;
      letter-spacing: .06em;
      margin-bottom: .1rem;
    }

    .pf-ii-val {
      font-size: .89rem;
      font-weight: 600;
      color: #1e293b;
    }

    /* Photo placeholder */
    .pf-photo-box {
      aspect-ratio: 1/1;
      border-radius: .85rem;
      background: #f8fafc;
      border: 2px dashed #cbd5e1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #94a3b8;
      gap: .4rem;
      font-size: .78rem;
      text-align: center;
      padding: 1rem;
    }

    .pf-photo-box i {
      font-size: 2.5rem;
    }

    /* ── ACADEMIC QUALIFICATION CARD ── */
    .pf-qual-card {
      border: 1px solid #e2e8f0;
      border-radius: .9rem;
      padding: 1.1rem;
      background: #fafafa;
    }

    .pf-qual-head {
      display: flex;
      align-items: center;
      gap: .6rem;
      margin-bottom: .65rem;
    }

    .pf-qual-ic {
      width: 2rem;
      height: 2rem;
      border-radius: .42rem;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .72rem;
      color: #fff;
    }

    .pf-qual-label {
      font-family: 'Space Grotesk', sans-serif;
      font-size: .84rem;
      font-weight: 700;
      color: #0f172a;
    }

    .pf-qual-rows {
      font-size: .79rem;
      color: #64748b;
      line-height: 1.9;
    }

    /* ── DOCUMENT CARD ── */
    .pf-doc {
      display: flex;
      align-items: center;
      gap: .85rem;
      padding: .85rem 1rem;
      border: 1px solid #e2e8f0;
      border-radius: .8rem;
      background: #fafafa;
      margin-bottom: .6rem;
      transition: border-color .18s, box-shadow .18s;
    }

    .pf-doc:last-child {
      margin-bottom: 0;
    }

    .pf-doc:hover {
      border-color: #93c5fd;
      box-shadow: 0 2px 10px rgba(29, 78, 216, .08);
    }

    .pf-doc-ic {
      width: 2.5rem;
      height: 2.5rem;
      border-radius: .55rem;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .98rem;
    }

    .pf-doc-name {
      font-weight: 700;
      font-size: .87rem;
      color: #0f172a;
      margin-bottom: .07rem;
    }

    .pf-doc-meta {
      font-size: .74rem;
      color: #64748b;
    }

    .pf-doc-dl {
      display: inline-flex;
      align-items: center;
      gap: .3rem;
      margin-left: auto;
      flex-shrink: 0;
      background: #eff6ff;
      color: #1d4ed8;
      border-radius: .45rem;
      padding: .3rem .72rem;
      font-size: .74rem;
      font-weight: 700;
      text-decoration: none;
      transition: background .18s;
    }

    .pf-doc-dl:hover {
      background: #dbeafe;
      color: #1d4ed8;
    }

    /* ── UNIVERSITY CARD ── */
    .pf-uni {
      border: 1px solid #e2e8f0;
      border-radius: .85rem;
      padding: 1rem 1.25rem;
      margin-bottom: .7rem;
      display: flex;
      align-items: center;
      gap: 1rem;
      background: #fff;
      transition: border-color .18s, box-shadow .18s;
    }

    .pf-uni:last-child {
      margin-bottom: 0;
    }

    .pf-uni:hover {
      border-color: #93c5fd;
      box-shadow: 0 2px 10px rgba(29, 78, 216, .07);
    }

    .pf-uni-flag {
      width: 3rem;
      height: 3rem;
      border-radius: .65rem;
      flex-shrink: 0;
      background: #f0f9ff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.35rem;
    }

    .pf-uni-name {
      font-weight: 700;
      font-size: .92rem;
      color: #0f172a;
      margin-bottom: .15rem;
    }

    .pf-uni-sub {
      font-size: .77rem;
      color: #64748b;
    }

    /* ── CONTRACT BOX ── */
    .pf-contract-box {
      background: linear-gradient(135deg, #f0fdf4, #dcfce7);
      border: 1px solid #bbf7d0;
      border-radius: 1.1rem;
      padding: 1.5rem;
      display: flex;
      align-items: center;
      gap: 1.25rem;
      flex-wrap: wrap;
    }

    .pf-contract-ic {
      width: 3.2rem;
      height: 3.2rem;
      border-radius: .75rem;
      flex-shrink: 0;
      background: #10b981;
      color: #fff;
      font-size: 1.25rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .pf-contract-box h5 {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      color: #065f46;
      margin-bottom: .2rem;
      font-size: .96rem;
    }

    .pf-contract-box p {
      font-size: .82rem;
      color: #047857;
      margin: 0;
    }

    .pf-contract-dl {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      margin-left: auto;
      flex-shrink: 0;
      background: #10b981;
      color: #fff;
      border-radius: .6rem;
      padding: .55rem 1.1rem;
      font-size: .84rem;
      font-weight: 700;
      text-decoration: none;
      transition: background .18s;
    }

    .pf-contract-dl:hover {
      background: #059669;
      color: #fff;
    }

    /* ── PROCESSING TIMELINE ── */
    .pf-tl-row {
      display: flex;
      gap: 1rem;
      margin-bottom: 1.6rem;
      align-items: flex-start;
    }

    .pf-tl-row:last-child {
      margin-bottom: 0;
    }

    .pf-tl-left {
      display: flex;
      flex-direction: column;
      align-items: center;
      flex-shrink: 0;
      width: 2.5rem;
    }

    .pf-tl-dot {
      width: 2.5rem;
      height: 2.5rem;
      border-radius: 50%;
      border: 2px solid #e2e8f0;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .8rem;
      color: #94a3b8;
      z-index: 1;
    }

    .pf-tl-dot.done {
      background: #10b981;
      border-color: #10b981;
      color: #fff;
    }

    .pf-tl-dot.active {
      background: #1d4ed8;
      border-color: #1d4ed8;
      color: #fff;
      box-shadow: 0 0 0 5px rgba(29, 78, 216, .15);
    }

    .pf-tl-dot.pending {
      background: #f8fafc;
      border-color: #e2e8f0;
      color: #d1d5db;
    }

    .pf-tl-line {
      width: 2px;
      flex: 1;
      min-height: 1.3rem;
      margin-top: .25rem;
      background: linear-gradient(180deg, #e2e8f0, transparent);
    }

    .pf-tl-dot.done~.pf-tl-line {
      background: linear-gradient(180deg, #a7f3d0, transparent);
    }

    .pf-tl-dot.active~.pf-tl-line {
      background: linear-gradient(180deg, #93c5fd, transparent);
    }

    .pf-tl-content {
      padding-top: .42rem;
    }

    .pf-tl-step {
      font-size: .66rem;
      font-weight: 800;
      color: #94a3b8;
      text-transform: uppercase;
      letter-spacing: .09em;
      margin-bottom: .18rem;
    }

    .pf-tl-name {
      font-weight: 700;
      font-size: .95rem;
      color: #0f172a;
      margin-bottom: .2rem;
    }

    .pf-tl-desc {
      font-size: .83rem;
      color: #64748b;
      line-height: 1.7;
    }

    .pf-tl-date {
      font-size: .74rem;
      color: #94a3b8;
      margin-top: .3rem;
      display: flex;
      align-items: center;
      gap: .3rem;
    }

    .pf-tl-date.done-date {
      color: #10b981;
    }

    .pf-tl-date.active-date {
      color: #1d4ed8;
    }

    /* ── ENROLLMENT CARD ── */
    .pf-enroll-card {
      background: linear-gradient(135deg, #eff6ff, #dbeafe);
      border: 1px solid #93c5fd;
      border-radius: 1.1rem;
      padding: 1.5rem;
      display: flex;
      align-items: center;
      gap: 1.25rem;
      flex-wrap: wrap;
    }

    .pf-enroll-ic {
      width: 3.2rem;
      height: 3.2rem;
      border-radius: .75rem;
      flex-shrink: 0;
      background: #1d4ed8;
      color: #fff;
      font-size: 1.25rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* ── EMPTY STATE ── */
    .pf-empty {
      text-align: center;
      padding: 2.75rem 1rem;
    }

    .pf-empty-ev {
      width: 4.2rem;
      height: 4.2rem;
      border-radius: 1.1rem;
      margin: 0 auto 1rem;
      background: #f1f5f9;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.55rem;
      color: #94a3b8;
    }

    .pf-empty h6 {
      font-weight: 700;
      color: #475569;
      margin-bottom: .3rem;
      font-size: .95rem;
    }

    .pf-empty p {
      font-size: .83rem;
      color: #94a3b8;
      margin: 0;
      max-width: 280px;
      margin-inline: auto;
    }

    /* ── INFO CALLOUT ── */
    .pf-info-note {
      background: #f0f9ff;
      border: 1px solid #bae6fd;
      border-radius: .85rem;
      padding: .9rem 1.1rem;
      font-size: .82rem;
      color: #0369a1;
      display: flex;
      align-items: flex-start;
      gap: .65rem;
      margin-top: 1rem;
    }

    .pf-info-note i {
      margin-top: .07rem;
      flex-shrink: 0;
    }

    /* mobile nav drawer */
    .pf-mobile-nav {
      background: rgba(255, 255, 255, .97);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid #e2e8f0;
      border-radius: 1rem;
      padding: .65rem .75rem;
      display: flex;
      gap: .4rem;
      flex-wrap: nowrap;
      overflow-x: auto;
      margin-bottom: 1.5rem;
      position: sticky;
      top: 64px;
      z-index: 90;
      box-shadow: 0 4px 16px rgba(15, 23, 42, .1);
      scrollbar-width: none;
    }

    .pf-mobile-nav::-webkit-scrollbar {
      display: none;
    }

    .pf-mobile-nav a {
      display: flex;
      align-items: center;
      gap: .4rem;
      font-size: .76rem;
      font-weight: 700;
      color: #64748b;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: .55rem;
      padding: .38rem .7rem;
      text-decoration: none;
      transition: all .18s;
    }

    .pf-mobile-nav a:hover {
      color: #1d4ed8;
      background: #eff6ff;
      border-color: #93c5fd;
    }

    /* ── GMAIL CONNECT ── */
    .pf-gmail-widget {
      display: inline-flex;
      align-items: center;
      gap: .55rem;
      background: rgba(255, 255, 255, .09);
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: .65rem;
      padding: .42rem .9rem;
      margin-top: .6rem;
      font-size: .8rem;
      font-weight: 700;
      color: rgba(255, 255, 255, .85);
      cursor: pointer;
      transition: all .2s;
      text-decoration: none;
    }

    .pf-gmail-widget:hover {
      background: rgba(255, 255, 255, .15);
      color: #fff;
    }

    .pf-gmail-widget.connected {
      background: rgba(234, 67, 53, .15);
      border-color: rgba(234, 67, 53, .4);
      color: #fca5a5;
      cursor: default;
    }

    .pf-gmail-widget .gm-dot {
      width: .48rem;
      height: .48rem;
      border-radius: 50%;
      background: #6ee7b7;
      flex-shrink: 0;
    }

    .pf-gmail-widget.connected .gm-dot {
      background: #fca5a5;
    }

    /* ── SECTION ADD BUTTON ── */
    .pf-sec-add-btn {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      background: linear-gradient(135deg, #1d4ed8, #6d28d9);
      color: #fff;
      font-size: .78rem;
      font-weight: 700;
      border: none;
      border-radius: .6rem;
      padding: .42rem 1rem;
      cursor: pointer;
      transition: opacity .18s;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .pf-sec-add-btn:hover {
      opacity: .85;
    }

    /* ── UPLOADED DOC ROW (in Other Docs) ── */
    .pf-udoc {
      display: flex;
      align-items: center;
      gap: .75rem;
      padding: .75rem .9rem;
      border: 1px solid #e2e8f0;
      border-radius: .75rem;
      background: #fafafa;
      margin-bottom: .5rem;
    }

    .pf-udoc:last-child {
      margin-bottom: 0;
    }

    .pf-udoc-ic {
      width: 2.2rem;
      height: 2.2rem;
      border-radius: .5rem;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .85rem;
      background: #dbeafe;
      color: #1d4ed8;
    }

    .pf-udoc-name {
      font-size: .88rem;
      font-weight: 700;
      color: #0f172a;
    }

    .pf-udoc-meta {
      font-size: .74rem;
      color: #94a3b8;
      margin-top: .07rem;
    }

    .pf-udoc-del {
      margin-left: auto;
      background: none;
      border: none;
      color: #ef4444;
      font-size: .8rem;
      cursor: pointer;
      padding: .3rem;
      border-radius: .35rem;
      transition: background .15s;
    }

    .pf-udoc-del:hover {
      background: #fee2e2;
    }

    /* ── OFFER LETTER CARD ── */
    .pf-ol-card {
      border: 1px solid #e2e8f0;
      border-radius: .85rem;
      padding: 1rem 1.1rem;
      background: #fafafa;
      margin-bottom: .7rem;
    }

    .pf-ol-card:last-child {
      margin-bottom: 0;
    }

    .pf-ol-uni {
      font-size: .95rem;
      font-weight: 800;
      color: #0f172a;
      margin-bottom: .35rem;
    }

    .pf-ol-meta {
      display: flex;
      flex-wrap: wrap;
      gap: .4rem .85rem;
      margin-bottom: .5rem;
    }

    .pf-ol-meta span {
      font-size: .76rem;
      color: #64748b;
      display: flex;
      align-items: center;
      gap: .28rem;
    }

    .pf-ol-meta i {
      color: #6d28d9;
    }

    .pf-ol-foot {
      display: flex;
      align-items: center;
      gap: .5rem;
      flex-wrap: wrap;
    }

    .pf-ol-dl {
      display: inline-flex;
      align-items: center;
      gap: .35rem;
      font-size: .76rem;
      font-weight: 700;
      color: #1d4ed8;
      text-decoration: none;
      background: #eff6ff;
      border-radius: .45rem;
      padding: .28rem .7rem;
      transition: background .15s;
    }

    .pf-ol-dl:hover {
      background: #dbeafe;
    }

    /* ── ENROLLMENT CARD ── */
    .pf-enroll-card {
      border: 1px solid #e2e8f0;
      border-radius: .85rem;
      padding: 1rem 1.1rem;
      background: #fafafa;
      margin-bottom: .7rem;
    }

    .pf-enroll-card:last-child {
      margin-bottom: 0;
    }

    .pf-enroll-uni {
      font-size: .95rem;
      font-weight: 800;
      color: #0f172a;
      margin-bottom: .35rem;
      display: flex;
      align-items: center;
      gap: .5rem;
    }

    .pf-enroll-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
      gap: .5rem .75rem;
    }

    .pf-enroll-field label {
      font-size: .7rem;
      font-weight: 700;
      color: #94a3b8;
      text-transform: uppercase;
      letter-spacing: .04em;
      display: block;
      margin-bottom: .12rem;
    }

    .pf-enroll-field span {
      font-size: .84rem;
      font-weight: 600;
      color: #0f172a;
    }

    .pf-enroll-remarks {
      margin-top: .6rem;
      font-size: .8rem;
      color: #64748b;
      background: #f8fafc;
      border-radius: .5rem;
      padding: .4rem .65rem;
    }

    /* ── MODAL SHARED ── */
    .pf-modal .modal-content {
      border: none;
      border-radius: 1.15rem;
      box-shadow: 0 20px 60px rgba(15, 23, 42, .18);
    }

    .pf-modal .modal-header {
      background: linear-gradient(135deg, #0f172a, #1e3a8a);
      border-radius: 1.1rem 1.1rem 0 0;
      padding: 1.1rem 1.4rem;
      border: none;
    }

    .pf-modal .modal-title {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 800;
      font-size: 1rem;
      color: #fff;
    }

    .pf-modal .btn-close-white {
      filter: invert(1) brightness(2);
    }

    .pf-modal .modal-body {
      padding: 1.4rem;
    }

    .pf-modal .modal-footer {
      padding: .9rem 1.4rem;
      border-top: 1px solid #f1f5f9;
    }

    .pf-modal label {
      font-size: .78rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: .3rem;
      display: block;
    }

    .pf-modal .form-control,
    .pf-modal .form-select {
      font-size: .87rem;
      border: 1.5px solid #e2e8f0;
      border-radius: .65rem;
      padding: .6rem .9rem;
      font-family: 'Plus Jakarta Sans', sans-serif;
      background: #fafafa;
    }

    .pf-modal .form-control:focus,
    .pf-modal .form-select:focus {
      border-color: #1d4ed8;
      box-shadow: 0 0 0 3px rgba(29, 78, 216, .1);
    }

    .pf-modal .file-drop {
      border: 2px dashed #cbd5e1;
      border-radius: .75rem;
      padding: 1.1rem;
      text-align: center;
      background: #fafafa;
      cursor: pointer;
      position: relative;
      transition: all .2s;
    }

    .pf-modal .file-drop:hover {
      border-color: #1d4ed8;
      background: #eff6ff;
    }

    .pf-modal .file-drop input {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer;
    }

    .pf-modal .file-drop span {
      font-size: .8rem;
      color: #64748b;
    }

    .pf-modal .file-drop strong {
      color: #1d4ed8;
    }

    .pf-modal .btn-pf-save {
      background: linear-gradient(135deg, #1d4ed8, #6d28d9);
      color: #fff;
      border: none;
      border-radius: .65rem;
      padding: .6rem 1.5rem;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-weight: 800;
      font-size: .87rem;
      transition: opacity .18s;
    }

    .pf-modal .btn-pf-save:hover {
      opacity: .85;
    }

    .pf-modal .btn-pf-cancel {
      background: #f1f5f9;
      color: #64748b;
      border: none;
      border-radius: .65rem;
      padding: .6rem 1.2rem;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-weight: 700;
      font-size: .87rem;
      transition: background .17s;
    }

    .pf-modal .btn-pf-cancel:hover {
      background: #e2e8f0;
    }


/* ================================================================
   blogs.php
   ================================================================ */

    .pg-hero {
      padding: 4rem 0 3rem;
      background:
        radial-gradient(ellipse at 8% 10%, rgba(29, 78, 216, .12), transparent 45%),
        radial-gradient(ellipse at 92% 90%, rgba(109, 40, 217, .08), transparent 45%),
        linear-gradient(180deg, #f8faff, #f4f7ff);
      border-bottom: 1px solid #e2e8f0;
    }

    .pg-kicker {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      font-size: .74rem;
      font-weight: 700;
      color: #1d4ed8;
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      border-radius: 999px;
      padding: .28rem .8rem;
      margin-bottom: .85rem;
    }

    .pg-hero h1 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(1.7rem, 3vw, 2.5rem);
      font-weight: 700;
      color: #0f172a;
      margin-bottom: .5rem;
    }

    .pg-hero p {
      color: #64748b;
      max-width: 520px;
      margin: 0;
    }

    .blogs-page {
      padding: 3rem 0 1.5rem;
    }

    .bl-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.2rem;
      overflow: hidden;
      height: 100%;
      box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
      transition: transform .22s, box-shadow .22s;
    }

    .bl-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 22px 48px rgba(15, 23, 42, .11);
    }

    .bl-card-banner {
      height: 10px;
    }

    .bl-card-body {
      padding: 1.4rem 1.3rem 1.5rem;
    }

    .bl-tag {
      display: inline-flex;
      align-items: center;
      gap: .35rem;
      font-size: .68rem;
      font-weight: 700;
      border-radius: 999px;
      padding: .22rem .6rem;
      margin-bottom: .6rem;
    }

    .bl-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: .4rem;
    }

    .bl-meta {
      font-size: .76rem;
      color: #94a3b8;
      margin-bottom: .65rem;
    }

    .bl-excerpt {
      font-size: .87rem;
      color: #475569;
      margin-bottom: 1.1rem;
    }

    .bl-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: .85rem;
      border-top: 1px solid #f1f5f9;
    }

    .bl-read-time {
      font-size: .75rem;
      color: #94a3b8;
    }

    .bl-link {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      font-weight: 700;
      font-size: .82rem;
      color: #1d4ed8;
      text-decoration: none;
      padding: .45rem .9rem;
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      border-radius: .6rem;
      transition: background .2s, transform .15s;
    }

    .bl-link:hover {
      background: #dbeafe;
      transform: translateX(2px);
    }


/* ================================================================
   blog-details.php
   ================================================================ */

    /* ═══════════════════════════════
       BLOG DETAIL — PAGE STYLES
    ═══════════════════════════════ */

    /* ── HERO ── */
    .bd-hero {
      position: relative;
      overflow: hidden;
      padding: 5rem 0 4rem;
      background: linear-gradient(140deg, #0f172a 0%, #172554 55%, #1e3a8a 100%);
      color: #fff;
    }

    .bds {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      opacity: .15;
      pointer-events: none;
    }

    .bds-1 {
      width: 440px;
      height: 440px;
      background: #6d28d9;
      top: -160px;
      right: -80px;
    }

    .bds-2 {
      width: 260px;
      height: 260px;
      background: #0ea5e9;
      bottom: -60px;
      left: -50px;
    }

    .bd-hero .container {
      position: relative;
      z-index: 1;
    }

    .bd-breadcrumb {
      display: flex;
      align-items: center;
      gap: .45rem;
      font-size: .75rem;
      color: rgba(255, 255, 255, .5);
      margin-bottom: 1.4rem;
      flex-wrap: wrap;
    }

    .bd-breadcrumb a {
      color: rgba(255, 255, 255, .7);
      text-decoration: none;
    }

    .bd-breadcrumb a:hover {
      color: #fff;
    }

    .bd-breadcrumb i {
      font-size: .55rem;
    }

    .bd-chips {
      display: flex;
      align-items: center;
      gap: .6rem;
      flex-wrap: wrap;
      margin-bottom: 1.1rem;
    }

    .bd-category {
      display: inline-flex;
      align-items: center;
      gap: .35rem;
      background: rgba(255, 255, 255, .12);
      border: 1px solid rgba(255, 255, 255, .2);
      border-radius: 999px;
      padding: .28rem .8rem;
      font-size: .72rem;
      font-weight: 700;
      color: rgba(255, 255, 255, .92);
    }

    .bd-read-time {
      font-size: .73rem;
      color: rgba(255, 255, 255, .5);
      display: flex;
      align-items: center;
      gap: .3rem;
    }

    .bd-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(1.8rem, 4vw, 2.7rem);
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 1.75rem;
    }

    .bd-author-row {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding-top: 1.25rem;
      border-top: 1px solid rgba(255, 255, 255, .12);
    }

    .bd-author-av {
      width: 2.6rem;
      height: 2.6rem;
      border-radius: 50%;
      flex-shrink: 0;
      background: linear-gradient(135deg, #1d4ed8, #6d28d9);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1rem;
    }

    .bd-author-info strong {
      display: block;
      color: #fff;
      font-size: .88rem;
      font-weight: 700;
    }

    .bd-author-info span {
      color: rgba(255, 255, 255, .55);
      font-size: .75rem;
    }

    /* ── BODY ── */
    .bd-body {
      padding: 3.5rem 0 5rem;
      background: #f8fafc;
    }

    /* Article card */
    .bd-article {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.2rem;
      padding: 2.5rem 2.8rem;
      box-shadow: 0 6px 20px rgba(15, 23, 42, .05);
    }

    @media(max-width:575px) {
      .bd-article {
        padding: 1.5rem;
      }
    }

    .bd-lead {
      font-size: 1.04rem;
      color: #334155;
      line-height: 1.85;
      margin-bottom: 2rem;
      padding-bottom: 1.5rem;
      border-bottom: 2px solid #f1f5f9;
    }

    .bd-article h2 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.25rem;
      font-weight: 700;
      color: #0f172a;
      margin: 2.2rem 0 .85rem;
      padding-left: 1rem;
      border-left: 3px solid #1d4ed8;
    }

    .bd-article h3 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.05rem;
      font-weight: 700;
      color: #0f172a;
      margin: 1.5rem 0 .65rem;
    }

    .bd-article p {
      color: #475569;
      font-size: .93rem;
      line-height: 1.85;
      margin-bottom: .9rem;
    }

    /* Numbered checklist */
    .bd-checklist {
      list-style: none;
      padding: 0;
      margin: .5rem 0 1.5rem;
    }

    .bd-checklist li {
      display: flex;
      align-items: flex-start;
      gap: .75rem;
      padding: .65rem .95rem;
      margin-bottom: .45rem;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: .7rem;
      font-size: .9rem;
      color: #334155;
      line-height: 1.55;
      counter-increment: checklist-counter;
    }

    .bd-checklist {
      counter-reset: checklist-counter;
    }

    .bd-checklist li::before {
      content: counter(checklist-counter);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 1.6rem;
      height: 1.6rem;
      border-radius: 50%;
      flex-shrink: 0;
      background: linear-gradient(135deg, #1d4ed8, #6d28d9);
      color: #fff;
      font-size: .68rem;
      font-weight: 800;
      margin-top: .05rem;
    }

    /* Pull quote */
    .bd-quote {
      background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
      border-left: 4px solid #0ea5e9;
      border-radius: .3rem 1rem 1rem .3rem;
      padding: 1.5rem 2rem;
      margin: 2rem 0;
      font-size: 1.02rem;
      font-style: italic;
      color: #0c4a6e;
      line-height: 1.8;
    }

    /* Tip callout */
    .bd-tip {
      background: linear-gradient(135deg, #eff6ff, #f0f4ff);
      border: 1px solid #c7d2fe;
      border-radius: 1rem;
      padding: 1.25rem 1.5rem;
      margin: 1.75rem 0;
      display: flex;
      gap: 1rem;
      align-items: flex-start;
    }

    .bd-tip-icon {
      width: 2.3rem;
      height: 2.3rem;
      flex-shrink: 0;
      border-radius: .55rem;
      background: linear-gradient(135deg, #1d4ed8, #6d28d9);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: .9rem;
    }

    .bd-tip strong {
      display: block;
      font-size: .74rem;
      font-weight: 800;
      color: #4f46e5;
      margin-bottom: .25rem;
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    .bd-tip p {
      font-size: .89rem;
      color: #334155;
      margin: 0;
      line-height: 1.7;
    }

    /* Warning callout */
    .bd-warn {
      background: #fefce8;
      border: 1px solid #fde68a;
      border-radius: 1rem;
      padding: 1.25rem 1.5rem;
      margin: 1.75rem 0;
      display: flex;
      gap: 1rem;
      align-items: flex-start;
    }

    .bd-warn-icon {
      width: 2.3rem;
      height: 2.3rem;
      flex-shrink: 0;
      border-radius: .55rem;
      background: linear-gradient(135deg, #b45309, #f59e0b);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: .9rem;
    }

    .bd-warn strong {
      display: block;
      font-size: .74rem;
      font-weight: 800;
      color: #92400e;
      margin-bottom: .25rem;
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    .bd-warn p {
      font-size: .89rem;
      color: #78350f;
      margin: 0;
      line-height: 1.7;
    }

    /* ── SIDEBAR ── */
    .bd-sidebar {
      position: sticky;
      top: 90px;
    }

    .bd-sidebar-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.2rem;
      padding: 1.4rem;
      box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
      margin-bottom: 1.25rem;
    }

    .bd-sidebar-card h6 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: .82rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: .9rem;
      letter-spacing: .02em;
    }

    /* Author card */
    .bd-author-card {
      text-align: center;
    }

    .bd-author-card-av {
      width: 3.5rem;
      height: 3.5rem;
      border-radius: 50%;
      margin: 0 auto .7rem;
      background: linear-gradient(135deg, #1d4ed8, #6d28d9);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1.4rem;
    }

    .bd-author-card strong {
      display: block;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: .15rem;
    }

    .bd-author-card span {
      font-size: .78rem;
      color: #64748b;
    }

    /* TOC */
    .bd-toc-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .bd-toc-list li a {
      display: flex;
      align-items: center;
      gap: .5rem;
      font-size: .83rem;
      color: #475569;
      text-decoration: none;
      padding: .38rem 0;
      border-bottom: 1px solid #f8fafc;
      transition: color .2s;
    }

    .bd-toc-list li:last-child a {
      border-bottom: none;
    }

    .bd-toc-list li a:hover {
      color: #1d4ed8;
    }

    .bd-toc-list li a i {
      font-size: .6rem;
      color: #94a3b8;
      flex-shrink: 0;
    }

    /* CTA card */
    .bd-cta-card {
      background: linear-gradient(135deg, #0f172a, #1d4ed8);
      border-radius: 1.2rem;
      padding: 1.5rem;
      box-shadow: 0 12px 32px rgba(29, 78, 216, .22);
    }

    .bd-cta-card h5 {
      color: #fff;
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      margin-bottom: .4rem;
    }

    .bd-cta-card p {
      color: rgba(255, 255, 255, .72);
      font-size: .83rem;
      margin-bottom: 1.1rem;
    }

    .bd-cta-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: .5rem;
      background: #fff;
      color: #1d4ed8;
      font-weight: 700;
      font-size: .9rem;
      border-radius: .7rem;
      padding: .72rem;
      text-decoration: none;
      transition: background .2s;
    }

    .bd-cta-btn:hover {
      background: #eff6ff;
      color: #1d4ed8;
    }

    /* Back link */
    .bd-back {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      font-size: .84rem;
      font-weight: 700;
      color: #64748b;
      text-decoration: none;
    }

    .bd-back:hover {
      color: #1d4ed8;
    }


/* ================================================================
   events.php
   ================================================================ */

    /* ── PAGE HERO ── */
    .pg-hero {
      padding: 4rem 0 3rem;
      background:
        radial-gradient(ellipse at 8% 10%, rgba(29, 78, 216, .12), transparent 45%),
        radial-gradient(ellipse at 92% 90%, rgba(109, 40, 217, .08), transparent 45%),
        linear-gradient(180deg, #f8faff, #f4f7ff);
      border-bottom: 1px solid #e2e8f0;
    }

    .pg-kicker {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      font-size: .74rem;
      font-weight: 700;
      color: #1d4ed8;
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      border-radius: 999px;
      padding: .28rem .8rem;
      margin-bottom: .85rem;
    }

    .pg-hero h1 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(1.7rem, 3vw, 2.5rem);
      font-weight: 700;
      color: #0f172a;
      margin-bottom: .5rem;
    }

    .pg-hero p {
      color: #64748b;
      max-width: 520px;
      margin: 0;
    }

    /* ── EVENTS GRID ── */
    .events-page {
      padding: 3rem 0 1.5rem;
    }

    .ev-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.2rem;
      overflow: hidden;
      height: 100%;
      box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
      transition: transform .22s, box-shadow .22s;
    }

    .ev-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 22px 48px rgba(15, 23, 42, .11);
    }

    .ev-banner {
      height: 170px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.4rem;
      color: #fff;
      position: relative;
      overflow: hidden;
    }

    .ev-banner::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, .12);
    }

    .ev-banner i {
      position: relative;
      z-index: 1;
    }

    .ev-date-badge {
      position: absolute;
      bottom: 12px;
      left: 14px;
      z-index: 2;
      background: #fff;
      border-radius: .5rem;
      padding: .28rem .65rem;
      font-size: .7rem;
      font-weight: 800;
      color: #1d4ed8;
      box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
    }

    .ev-body {
      padding: 1.4rem 1.3rem 1.5rem;
    }

    /* Course posters contain text: preserve the full artwork and keep badges below it. */
    .course-card {
      display: flex;
      flex-direction: column;
    }

    .course-poster {
      display: block;
      background: #f8fafc;
      border-bottom: 1px solid #e2e8f0;
    }

    .course-poster img,
    .course-image {
      display: block;
      width: 100%;
      height: auto;
      object-fit: contain;
    }

    .course-card .ev-body {
      display: flex;
      flex: 1;
      flex-direction: column;
    }

    .course-card-status {
      margin-bottom: .75rem;
    }

    .ev-type {
      display: inline-flex;
      align-items: center;
      gap: .35rem;
      font-size: .68rem;
      font-weight: 700;
      border-radius: 999px;
      padding: .22rem .6rem;
      margin-bottom: .6rem;
    }

    .ev-type--workshop {
      background: #eff6ff;
      color: #1d4ed8;
      border: 1px solid #bfdbfe;
    }

    .ev-type--online {
      background: #ecfdf5;
      color: #059669;
      border: 1px solid #a7f3d0;
    }

    .ev-type--qa {
      background: #fefce8;
      color: #92400e;
      border: 1px solid #fde68a;
    }

    .ev-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: .45rem;
    }

    .ev-meta {
      display: flex;
      gap: .7rem;
      flex-wrap: wrap;
      font-size: .76rem;
      color: #64748b;
      margin-bottom: .7rem;
    }

    .ev-text {
      font-size: .87rem;
      color: #475569;
      margin-bottom: 1.1rem;
    }

    .ev-link {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      font-weight: 700;
      font-size: .83rem;
      color: #1d4ed8;
      text-decoration: none;
      padding: .52rem 1rem;
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      border-radius: .65rem;
      transition: background .2s, transform .15s;
    }

    .ev-link:hover {
      background: #dbeafe;
      transform: translateX(2px);
    }


/* ================================================================
   event-details.php
   ================================================================ */

    /* ═══════════════════════════════
       EVENT DETAILS — PAGE STYLES
    ═══════════════════════════════ */

    /* ── HERO ── */
    .ed-hero {
      position: relative;
      overflow: hidden;
      padding: 5rem 0 4rem;
      background: linear-gradient(140deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%);
      color: #fff;
    }

    .ed-shapes {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .eds {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      opacity: .15;
    }

    .eds-1 {
      width: 520px;
      height: 520px;
      background: #6d28d9;
      top: -200px;
      right: -120px;
    }

    .eds-2 {
      width: 300px;
      height: 300px;
      background: #0ea5e9;
      bottom: -80px;
      left: -80px;
    }

    .eds-3 {
      width: 180px;
      height: 180px;
      background: #f59e0b;
      bottom: 35%;
      right: 8%;
    }

    .ed-hero .container {
      position: relative;
      z-index: 1;
    }

    .ed-breadcrumb {
      display: flex;
      align-items: center;
      gap: .45rem;
      font-size: .75rem;
      color: rgba(255, 255, 255, .55);
      margin-bottom: 1.5rem;
      flex-wrap: wrap;
    }

    .ed-breadcrumb a {
      color: rgba(255, 255, 255, .7);
      text-decoration: none;
      transition: color .2s;
    }

    .ed-breadcrumb a:hover {
      color: #fff;
    }

    .ed-breadcrumb i {
      font-size: .55rem;
    }

    .ed-cat {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      background: rgba(255, 255, 255, .12);
      border: 1px solid rgba(255, 255, 255, .2);
      border-radius: 999px;
      padding: .3rem .85rem;
      font-size: .74rem;
      font-weight: 700;
      color: rgba(255, 255, 255, .92);
      margin-bottom: 1.1rem;
    }

    .ed-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(1.9rem, 4.5vw, 3rem);
      font-weight: 700;
      line-height: 1.15;
      margin-bottom: 1.75rem;
    }

    .ed-pills {
      display: flex;
      flex-wrap: wrap;
      gap: .55rem;
    }

    .ed-pill {
      display: inline-flex;
      align-items: center;
      gap: .42rem;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .16);
      border-radius: .55rem;
      padding: .42rem .9rem;
      font-size: .8rem;
      font-weight: 500;
      color: rgba(255, 255, 255, .9);
    }

    .ed-pill--green {
      background: rgba(16, 185, 129, .2);
      border-color: rgba(16, 185, 129, .38);
      color: #6ee7b7;
    }

    /* ── BODY ── */
    .ed-body {
      padding: 3.5rem 0 5rem;
      background: #f8fafc;
    }

    /* Section cards */
    .ed-sec {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.2rem;
      padding: 2rem 2.2rem;
      margin-bottom: 1.5rem;
      box-shadow: 0 6px 20px rgba(15, 23, 42, .05);
    }

    .ed-sec-icon-row {
      display: flex;
      align-items: center;
      gap: .75rem;
      margin-bottom: 1.1rem;
    }

    .ed-sec-icon {
      width: 2.6rem;
      height: 2.6rem;
      border-radius: .7rem;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      color: #fff;
    }

    .ed-sec h2 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.2rem;
      font-weight: 700;
      color: #0f172a;
      margin: 0;
    }

    .ed-sec p {
      color: #475569;
      font-size: .92rem;
      line-height: 1.8;
      margin-bottom: .65rem;
    }

    .ed-sec p:last-child {
      margin-bottom: 0;
    }

    /* Agenda timeline */
    .ed-timeline {
      margin-top: .5rem;
    }

    .ed-tl-item {
      display: flex;
      gap: 1.1rem;
      position: relative;
      padding-bottom: 1.6rem;
    }

    .ed-tl-item:last-child {
      padding-bottom: 0;
    }

    .ed-tl-item:not(:last-child)::after {
      content: '';
      position: absolute;
      left: 22px;
      top: 46px;
      bottom: 0;
      width: 2px;
      background: linear-gradient(180deg, #c7d2fe, transparent);
    }

    .ed-tl-num {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      flex-shrink: 0;
      z-index: 1;
      background: #fff;
      border: 2px solid #c7d2fe;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-size: .62rem;
      font-weight: 800;
      color: #1d4ed8;
      line-height: 1.1;
    }

    .ed-tl-body {
      padding-top: .55rem;
    }

    .ed-tl-title {
      font-weight: 700;
      color: #0f172a;
      font-size: .95rem;
      margin-bottom: .18rem;
    }

    .ed-tl-sub {
      font-size: .82rem;
      color: #64748b;
    }

    /* Learn grid */
    .ed-learn-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: .7rem;
      margin-top: .5rem;
    }

    @media(max-width:575px) {
      .ed-learn-grid {
        grid-template-columns: 1fr;
      }
    }

    .ed-learn-item {
      display: flex;
      align-items: flex-start;
      gap: .65rem;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: .75rem;
      padding: .75rem .9rem;
      font-size: .88rem;
      color: #334155;
      line-height: 1.5;
    }

    .ed-learn-item i {
      color: #10b981;
      margin-top: .18rem;
      flex-shrink: 0;
    }

    /* Sidebar */
    .ed-sidebar {
      position: sticky;
      top: 90px;
    }

    .ed-reg-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.2rem;
      overflow: hidden;
      box-shadow: 0 16px 40px rgba(15, 23, 42, .1);
      margin-bottom: 1.25rem;
    }

    .ed-reg-head {
      background: linear-gradient(135deg, #0f172a, #1d4ed8);
      padding: 1.5rem 1.6rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .ed-reg-head h3 {
      font-family: 'Space Grotesk', sans-serif;
      color: #fff;
      font-size: 1.15rem;
      font-weight: 700;
      margin: 0;
    }

    .ed-free-badge {
      background: #10b981;
      color: #fff;
      font-size: .68rem;
      font-weight: 800;
      letter-spacing: .06em;
      padding: .24rem .6rem;
      border-radius: .4rem;
    }

    .ed-reg-body {
      padding: 1.4rem 1.5rem;
    }

    .ed-reg-row {
      display: flex;
      align-items: flex-start;
      gap: .85rem;
      padding: .7rem 0;
      border-bottom: 1px solid #f1f5f9;
    }

    .ed-reg-row:last-of-type {
      border-bottom: none;
      padding-bottom: 0;
    }

    .ed-reg-icon {
      width: 2rem;
      height: 2rem;
      border-radius: .45rem;
      flex-shrink: 0;
      background: #eff6ff;
      color: #1d4ed8;
      font-size: .78rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .ed-reg-row strong {
      display: block;
      font-size: .72rem;
      color: #94a3b8;
      font-weight: 700;
      margin-bottom: .15rem;
    }

    .ed-reg-row span {
      font-size: .9rem;
      color: #0f172a;
      font-weight: 600;
    }

    .ed-reg-cta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: .55rem;
      width: 100%;
      margin-top: 1.3rem;
      padding: .85rem;
      background: linear-gradient(135deg, #25d366, #128c7e);
      color: #fff;
      font-weight: 700;
      font-size: .97rem;
      border-radius: .8rem;
      text-decoration: none;
      box-shadow: 0 8px 24px rgba(37, 211, 102, .3);
      transition: opacity .2s, transform .2s;
    }

    .ed-reg-cta:hover {
      opacity: .9;
      transform: translateY(-2px);
      color: #fff;
    }

    /* Speaker card */
    .ed-speaker {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.1rem;
      padding: 1.25rem;
      display: flex;
      align-items: center;
      gap: 1rem;
      box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
      margin-bottom: 1.25rem;
    }

    .ed-speaker-av {
      width: 3.4rem;
      height: 3.4rem;
      border-radius: 50%;
      flex-shrink: 0;
      background: linear-gradient(135deg, #1d4ed8, #6d28d9);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1.3rem;
    }

    .ed-speaker strong {
      display: block;
      font-size: .93rem;
      font-weight: 700;
      color: #0f172a;
    }

    .ed-speaker span {
      font-size: .77rem;
      color: #64748b;
    }

    .ed-speaker-tag {
      display: inline-flex;
      align-items: center;
      gap: .3rem;
      background: #eff6ff;
      color: #1d4ed8;
      font-size: .68rem;
      font-weight: 700;
      padding: .18rem .5rem;
      border-radius: 999px;
      margin-top: .3rem;
    }

    /* Audience card */
    .ed-audience {
      background: linear-gradient(135deg, #f8faff, #f0f4ff);
      border: 1px solid #c7d2fe;
      border-radius: 1.1rem;
      padding: 1.25rem;
    }

    .ed-audience h6 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: .82rem;
      font-weight: 700;
      color: #1d4ed8;
      margin-bottom: .75rem;
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    .ed-audience ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .ed-audience li {
      display: flex;
      align-items: center;
      gap: .55rem;
      font-size: .86rem;
      color: #334155;
      padding: .35rem 0;
      border-bottom: 1px solid #e0e7ff;
    }

    .ed-audience li:last-child {
      border-bottom: none;
    }

    .ed-audience li i {
      color: #6d28d9;
      font-size: .75rem;
    }

    /* Back link */
    .ed-back {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      font-size: .84rem;
      font-weight: 700;
      color: #64748b;
      text-decoration: none;
      transition: color .2s;
    }

    .ed-back:hover {
      color: #1d4ed8;
    }


/* ================================================================
   success-stories.php
   ================================================================ */

    .pg-hero {
      padding: 4rem 0 3rem;
      background:
        radial-gradient(ellipse at 8% 10%, rgba(29, 78, 216, .12), transparent 45%),
        radial-gradient(ellipse at 92% 90%, rgba(109, 40, 217, .08), transparent 45%),
        linear-gradient(180deg, #f8faff, #f4f7ff);
      border-bottom: 1px solid #e2e8f0;
    }

    .pg-kicker {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      font-size: .74rem;
      font-weight: 700;
      color: #059669;
      background: #ecfdf5;
      border: 1px solid #a7f3d0;
      border-radius: 999px;
      padding: .28rem .8rem;
      margin-bottom: .85rem;
    }

    .pg-hero h1 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(1.7rem, 3vw, 2.5rem);
      font-weight: 700;
      color: #0f172a;
      margin-bottom: .5rem;
    }

    .pg-hero p {
      color: #64748b;
      max-width: 520px;
      margin: 0;
    }

    /* Stats strip */
    .ss-stats-strip {
      background: linear-gradient(135deg, #0f172a, #1e3a8a);
      padding: 1.5rem 0;
    }

    .sss-item {
      text-align: center;
      color: #fff;
      border-right: 1px solid rgba(255, 255, 255, .1);
    }

    .sss-item:last-child {
      border-right: none;
    }

    .sss-num {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.6rem;
      font-weight: 800;
    }

    .sss-label {
      font-size: .75rem;
      color: rgba(255, 255, 255, .6);
    }

    .stories-page {
      padding: 3rem 0 1.5rem;
    }

    .st-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.2rem;
      overflow: hidden;
      height: 100%;
      box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
      transition: transform .22s, box-shadow .22s;
    }

    .st-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 22px 48px rgba(15, 23, 42, .11);
    }

    .st-card-top {
      padding: 1.4rem 1.3rem 1rem;
      border-bottom: 1px solid #f1f5f9;
    }

    .st-student-row {
      display: flex;
      align-items: center;
      gap: .85rem;
      margin-bottom: .9rem;
    }

    .st-avatar {
      width: 3rem;
      height: 3rem;
      border-radius: 50%;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      color: #fff;
    }

    .st-student-name {
      font-weight: 700;
      color: #0f172a;
      font-size: .95rem;
      margin-bottom: .1rem;
    }

    .st-student-sub {
      font-size: .75rem;
      color: #64748b;
    }

    .st-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.05rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: .45rem;
    }

    .st-summary {
      font-size: .87rem;
      color: #475569;
    }

    .st-card-bottom {
      padding: 1rem 1.3rem 1.4rem;
    }

    .st-outcome {
      display: flex;
      align-items: center;
      gap: .5rem;
      background: #ecfdf5;
      border: 1px solid #a7f3d0;
      border-radius: .65rem;
      padding: .5rem .75rem;
      font-size: .8rem;
      font-weight: 700;
      color: #065f46;
      margin-bottom: .9rem;
    }

    .st-link {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      font-weight: 700;
      font-size: .82rem;
      color: #1d4ed8;
      text-decoration: none;
      padding: .45rem .9rem;
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      border-radius: .6rem;
      transition: background .2s, transform .15s;
    }

    .st-link:hover {
      background: #dbeafe;
      transform: translateX(2px);
    }


/* ================================================================
   success-story-details.php
   ================================================================ */

    /* ═══════════════════════════════
       SUCCESS STORY DETAIL — PAGE STYLES
    ═══════════════════════════════ */

    /* ── HERO ── */
    .sd-hero {
      position: relative;
      overflow: hidden;
      padding: 5rem 0 4rem;
      background: linear-gradient(140deg, #0f172a 0%, #134e4a 55%, #065f46 100%);
      color: #fff;
    }

    .sds {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      opacity: .15;
      pointer-events: none;
    }

    .sds-1 {
      width: 500px;
      height: 500px;
      background: #10b981;
      top: -180px;
      right: -100px;
    }

    .sds-2 {
      width: 300px;
      height: 300px;
      background: #0ea5e9;
      bottom: -80px;
      left: -60px;
    }

    .sds-3 {
      width: 200px;
      height: 200px;
      background: #6d28d9;
      top: 40%;
      right: 10%;
    }

    .sd-hero .container {
      position: relative;
      z-index: 1;
    }

    .sd-breadcrumb {
      display: flex;
      align-items: center;
      gap: .45rem;
      font-size: .75rem;
      color: rgba(255, 255, 255, .5);
      margin-bottom: 1.4rem;
      flex-wrap: wrap;
    }

    .sd-breadcrumb a {
      color: rgba(255, 255, 255, .7);
      text-decoration: none;
    }

    .sd-breadcrumb a:hover {
      color: #fff;
    }

    .sd-breadcrumb i {
      font-size: .55rem;
    }

    .sd-student-chip {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 999px;
      padding: .32rem .9rem;
      font-size: .73rem;
      font-weight: 700;
      color: rgba(255, 255, 255, .9);
      margin-bottom: 1.1rem;
    }

    .sd-student-chip i {
      color: #6ee7b7;
    }

    .sd-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(1.9rem, 4.5vw, 3rem);
      font-weight: 700;
      line-height: 1.15;
      margin-bottom: 1.25rem;
    }

    .sd-title span {
      background: linear-gradient(90deg, #6ee7b7, #34d399);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .sd-outcome-badge {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      background: #059669;
      color: #fff;
      padding: .45rem 1.15rem;
      border-radius: .65rem;
      font-size: .9rem;
      font-weight: 700;
      box-shadow: 0 4px 14px rgba(5, 150, 105, .4);
    }

    /* ── METRICS STRIP ── */
    .sd-metrics {
      background: #fff;
      border-bottom: 1px solid #e2e8f0;
      padding: 0;
    }

    .sd-metric {
      text-align: center;
      padding: 1.6rem 1rem;
      border-right: 1px solid #f1f5f9;
    }

    .sd-metric:last-child {
      border-right: none;
    }

    @media(max-width:575px) {
      .sd-metric {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
      }
    }

    .sd-metric-icon {
      width: 2.6rem;
      height: 2.6rem;
      border-radius: .7rem;
      margin: 0 auto .6rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.05rem;
      color: #fff;
    }

    .sd-metric-value {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.3rem;
      font-weight: 800;
      color: #0f172a;
      line-height: 1;
      margin-bottom: .3rem;
    }

    .sd-metric-label {
      font-size: .73rem;
      color: #64748b;
      font-weight: 500;
    }

    /* ── BODY ── */
    .sd-body {
      padding: 3.5rem 0 5rem;
      background: #f8fafc;
    }

    /* Section headers */
    .sd-sec-label {
      display: flex;
      align-items: center;
      gap: .65rem;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.2rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 1.25rem;
    }

    .sd-sec-label-icon {
      width: 2.4rem;
      height: 2.4rem;
      border-radius: .65rem;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: .9rem;
      flex-shrink: 0;
    }

    /* Challenge cards */
    .sd-challenge {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1rem;
      padding: 1.25rem;
      height: 100%;
      box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
    }

    .sd-challenge-icon {
      width: 2.4rem;
      height: 2.4rem;
      border-radius: .6rem;
      background: #fef2f2;
      color: #ef4444;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .92rem;
      margin-bottom: .75rem;
    }

    .sd-challenge h5 {
      font-weight: 700;
      font-size: .93rem;
      color: #0f172a;
      margin-bottom: .25rem;
    }

    .sd-challenge p {
      font-size: .83rem;
      color: #64748b;
      margin: 0;
    }

    /* Journey timeline */
    .sd-timeline {
      margin-top: .5rem;
    }

    .sd-tl-item {
      display: flex;
      gap: 1.25rem;
      padding-bottom: 2rem;
      position: relative;
    }

    .sd-tl-item:last-child {
      padding-bottom: 0;
    }

    .sd-tl-item::after {
      content: '';
      position: absolute;
      left: 19px;
      top: 42px;
      bottom: 0;
      width: 2px;
      background: linear-gradient(180deg, #a7f3d0, transparent);
    }

    .sd-tl-item:last-child::after {
      display: none;
    }

    .sd-tl-num {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      flex-shrink: 0;
      background: linear-gradient(135deg, #059669, #10b981);
      color: #fff;
      font-size: .78rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(16, 185, 129, .3);
      z-index: 1;
    }

    .sd-tl-body {
      padding-top: .55rem;
    }

    .sd-tl-week {
      font-size: .7rem;
      font-weight: 700;
      color: #059669;
      margin-bottom: .15rem;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    .sd-tl-title {
      font-weight: 700;
      color: #0f172a;
      font-size: .95rem;
      margin-bottom: .2rem;
    }

    .sd-tl-text {
      font-size: .84rem;
      color: #64748b;
      line-height: 1.65;
    }

    /* Quote block */
    .sd-quote {
      background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
      border-left: 4px solid #34d399;
      border-radius: .3rem 1.1rem 1.1rem .3rem;
      padding: 1.75rem 2rem;
      margin: 2rem 0;
    }

    .sd-quote-text {
      font-size: 1.05rem;
      font-style: italic;
      color: #0f172a;
      line-height: 1.8;
      margin-bottom: .75rem;
    }

    .sd-quote-author {
      font-size: .78rem;
      font-weight: 700;
      color: #059669;
    }

    /* Success banner */
    .sd-success-banner {
      background: linear-gradient(135deg, #059669, #10b981);
      border-radius: 1.2rem;
      padding: 2rem 2.5rem;
      display: flex;
      align-items: center;
      gap: 1.5rem;
      flex-wrap: wrap;
      margin-top: 2rem;
      box-shadow: 0 12px 32px rgba(5, 150, 105, .3);
    }

    .sd-success-icon {
      width: 3.5rem;
      height: 3.5rem;
      flex-shrink: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, .2);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1.5rem;
    }

    .sd-success-banner h4 {
      color: #fff;
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      margin-bottom: .2rem;
    }

    .sd-success-banner p {
      color: rgba(255, 255, 255, .85);
      font-size: .88rem;
      margin: 0;
    }

    /* ── SIDEBAR ── */
    .sd-profile-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.2rem;
      padding: 1.5rem;
      box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
      position: sticky;
      top: 90px;
      margin-bottom: 1.5rem;
    }

    .sd-profile-av {
      width: 4.5rem;
      height: 4.5rem;
      border-radius: 50%;
      margin: 0 auto .85rem;
      background: linear-gradient(135deg, #059669, #10b981);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1.7rem;
    }

    .sd-profile-name {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: .1rem;
    }

    .sd-profile-sub {
      font-size: .78rem;
      color: #64748b;
      margin-bottom: 1.1rem;
    }

    .sd-profile-row {
      display: flex;
      align-items: flex-start;
      gap: .75rem;
      padding: .6rem 0;
      border-bottom: 1px solid #f1f5f9;
    }

    .sd-profile-row:last-of-type {
      border-bottom: none;
    }

    .sd-profile-row i {
      width: 1.8rem;
      height: 1.8rem;
      border-radius: .4rem;
      flex-shrink: 0;
      background: #f0fdf4;
      color: #059669;
      font-size: .78rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: .1rem;
    }

    .sd-profile-row strong {
      display: block;
      font-size: .72rem;
      color: #94a3b8;
      font-weight: 600;
    }

    .sd-profile-row span {
      font-size: .88rem;
      color: #0f172a;
      font-weight: 600;
    }

    /* CTA card */
    .sd-cta-card {
      background: linear-gradient(135deg, #0f172a, #1d4ed8);
      border-radius: 1.2rem;
      padding: 1.5rem;
      box-shadow: 0 12px 32px rgba(29, 78, 216, .2);
    }

    .sd-cta-card h5 {
      color: #fff;
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      margin-bottom: .4rem;
    }

    .sd-cta-card p {
      color: rgba(255, 255, 255, .72);
      font-size: .83rem;
      margin-bottom: 1.1rem;
    }

    .sd-cta-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: .5rem;
      background: #fff;
      color: #1d4ed8;
      font-weight: 700;
      font-size: .9rem;
      border-radius: .7rem;
      padding: .72rem;
      text-decoration: none;
      transition: background .2s;
    }

    .sd-cta-btn:hover {
      background: #eff6ff;
      color: #1d4ed8;
    }

    /* Section card wrapper */
    .sd-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 1.2rem;
      padding: 2rem;
      overflow: hidden;
      box-shadow: 0 6px 20px rgba(15, 23, 42, .05);
      margin-bottom: 1.5rem;
    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .sd-card .bd-featured-img {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  display: block;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  width: 100%;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  max-width: 100%;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  height: auto;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  border-radius: 1rem;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  object-fit: cover;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .sd-card img {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  max-width: 100%;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  height: auto;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

/* ================================================================
   revise-profile.php
   ================================================================ */

/* ── Header ── */
.rv-header {
  background: linear-gradient(135deg, #7c1d1d 0%, #9a3412 40%, #b45309 100%);
  padding: 2.25rem 0 2rem;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.rv-header .pf-hbs-1 { background: rgba(251,146,60,.18); }
.rv-header .pf-hbs-2 { background: rgba(239,68,68,.13); }
.rv-header .pf-hbs-3 { background: rgba(234,88,12,.1); }

.rv-header .pf-name  { color: #fff; }
.rv-header .pf-email { color: rgba(255,255,255,.72); }

.rv-status-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(239,68,68,.22);
  border: 1.5px solid rgba(239,68,68,.5);
  color: #fca5a5;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .22rem .75rem;
  border-radius: 50px;
}

.rv-stage-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,.13);
  color: rgba(255,255,255,.85);
  font-size: .76rem;
  font-weight: 500;
  padding: .2rem .7rem;
  border-radius: 50px;
  margin-left: .4rem;
}

/* ── Page body ── */
.rv-body {
  background: #f8fafc;
  padding: 2rem 0 6rem;
  min-height: 60vh;
}

/* ── Admin Message Card ── */
.rv-admin-card {
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
  border: 1.5px solid #fbbf24;
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.rv-admin-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #ef4444);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  flex-shrink: 0;
}
.rv-admin-meta {
  font-size: .72rem;
  color: #92400e;
  font-weight: 700;
  margin-bottom: .25rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
}
.rv-admin-meta span { font-weight: 400; color: #b45309; }
.rv-admin-msg {
  font-size: .875rem;
  color: #451a03;
  line-height: 1.6;
}

/* ── Progress wrap ── */
.rv-progress-wrap {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: .9rem 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.rv-progress-label {
  font-size: .8rem;
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
}
.rv-progress-track {
  flex: 1;
  min-width: 100px;
  height: 8px;
  background: #e2e8f0;
  border-radius: 50px;
  overflow: hidden;
}
.rv-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f97316, #ef4444);
  border-radius: 50px;
  transition: width .45s cubic-bezier(.4,0,.2,1);
}
.rv-progress-fill.complete { background: linear-gradient(90deg, #059669, #10b981); }
.rv-progress-count {
  font-size: .82rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
}

/* ── Sidebar nav items ── */
.rv-nav-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .75rem;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: all .18s;
  border: 1.5px solid transparent;
  margin-bottom: .3rem;
}
.rv-nav-item:hover { background: #f1f5f9; color: #1e293b; }
.rv-nav-item.needs { color: #c2410c; background: #fff7ed; border-color: #fed7aa; }
.rv-nav-item.done  { color: #15803d; background: #f0fdf4; border-color: #bbf7d0; }
.rv-nav-item.ok    { color: #94a3b8; }

.rv-nav-ic {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  color: #fff;
  flex-shrink: 0;
}
.rv-nav-badge {
  margin-left: auto;
  font-size: .68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .2rem;
}
.rv-nav-badge.red   { color: #ef4444; }
.rv-nav-badge.green { color: #16a34a; }
.rv-nav-badge.gray  { color: #94a3b8; font-weight: 500; }

/* ── Section cards ── */
.rv-sec {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  margin-bottom: 1.25rem;
  border: 1.5px solid #fecaca;
  transition: border-color .3s;
}
.rv-sec.is-updated { border-color: #86efac; }
.rv-sec.is-ok      { border-color: #e2e8f0; }

.rv-sec-head {
  padding: .9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  background: linear-gradient(to right, #fff7ed, #fffbeb);
  border-bottom: 1.5px solid #fde68a;
}
.rv-sec.is-updated .rv-sec-head {
  background: linear-gradient(to right, #f0fdf4, #dcfce7);
  border-bottom-color: #bbf7d0;
}
.rv-sec.is-ok .rv-sec-head {
  background: #f8fafc;
  border-bottom-color: #e2e8f0;
}

.rv-sec-title {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .93rem;
  font-weight: 700;
  color: #1e293b;
}
.rv-sec-ic {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .76rem;
  flex-shrink: 0;
}
.rv-sec-body { padding: 1.2rem 1.25rem; }

/* ── Admin comment bubble ── */
.rv-comment {
  background: #fff7ed;
  border-left: 4px solid #f97316;
  border-radius: 0 10px 10px 0;
  padding: .8rem 1rem;
  margin-bottom: 1.2rem;
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}
.rv-comment-ic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #ef4444);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .65rem;
  flex-shrink: 0;
}
.rv-comment-who {
  font-size: .7rem;
  font-weight: 700;
  color: #c2410c;
  margin-bottom: .18rem;
}
.rv-comment-text {
  font-size: .83rem;
  color: #451a03;
  line-height: 1.55;
}

/* ── Current value reference ── */
.rv-ref {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: .8rem 1rem;
  margin-bottom: 1.2rem;
}
.rv-ref-label {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: .55rem;
}
.rv-ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .55rem .75rem;
}
.rv-ref-item label {
  font-size: .7rem;
  color: #94a3b8;
  font-weight: 600;
  display: block;
}
.rv-ref-item span  {
  font-size: .82rem;
  color: #334155;
  font-weight: 600;
}

/* ── Edit form ── */
.rv-form-section {
  border-top: 1.5px dashed #fed7aa;
  padding-top: 1.1rem;
  margin-top: .2rem;
}
.rv-sec.is-updated .rv-form-section { border-top-color: #bbf7d0; }

.rv-form-label {
  font-size: .78rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: .3rem;
  display: block;
}
.rv-form-control {
  width: 100%;
  font-size: .84rem;
  font-family: inherit;
  border-radius: 9px;
  border: 1.5px solid #e2e8f0;
  padding: .5rem .8rem;
  background: #fff;
  color: #1e293b;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.rv-form-control:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249,115,22,.13);
}
textarea.rv-form-control { resize: vertical; min-height: 70px; }

.rv-anabin-select + .select2-container {
  display: block;
  width: 100% !important;
  font-family: inherit;
}
.rv-anabin-select + .select2-container--default .select2-selection--single {
  height: 39px;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
.rv-anabin-select + .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0 2.2rem 0 .8rem;
  line-height: 36px;
  color: #1e293b;
  font-size: .84rem;
}
.rv-anabin-select + .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 37px;
  right: .35rem;
}
.rv-anabin-select + .select2-container--open .select2-selection--single {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249,115,22,.13);
}
.anabin-select2-dropdown {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(15, 23, 42, .16);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.anabin-select2-dropdown .select2-search--dropdown {
  padding: .65rem;
}
.anabin-select2-dropdown .select2-search--dropdown .select2-search__field {
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: .55rem .7rem;
  outline: none;
  font-size: .85rem;
}
.anabin-select2-dropdown .select2-search--dropdown .select2-search__field:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .1);
}
.anabin-select2-dropdown .select2-results__options {
  max-height: 280px;
}
.anabin-select2-dropdown .select2-results__option {
  padding: .55rem .75rem;
  font-size: .84rem;
}

/* ── Buttons ── */
.btn-rv-save {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1.3rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity .18s, transform .15s;
  font-family: inherit;
}
.btn-rv-save:hover { opacity: .88; transform: translateY(-1px); }

.btn-rv-updated {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1.2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  border: none;
  cursor: default;
  font-family: inherit;
}

/* ── File drop in revision ── */
.rv-file-drop {
  border: 2px dashed #fed7aa;
  background: #fff7ed;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  font-size: .83rem;
  color: #b45309;
}
.rv-file-drop:hover { border-color: #f97316; background: #ffedd5; }
.rv-file-drop input { display: none; }
.rv-file-name {
  font-size: .76rem;
  color: #059669;
  font-weight: 700;
  margin-top: .3rem;
  display: none;
}

/* ── Updated success banner ── */
.rv-success-banner {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border-radius: 10px;
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .84rem;
  font-weight: 600;
  color: #15803d;
}

/* ── No-changes section ── */
.rv-ok-section {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.rv-ok-head {
  padding: .85rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  user-select: none;
}
.rv-ok-head i.chevron { margin-left: auto; transition: transform .25s; }
.rv-ok-head.open i.chevron { transform: rotate(180deg); }
.rv-ok-body { display: none; padding: .5rem 1.2rem 1rem; }
.rv-ok-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .45rem 0;
  font-size: .82rem;
  color: #64748b;
  border-bottom: 1px solid #f1f5f9;
}
.rv-ok-item:last-child { border: none; }
.rv-ok-ic {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  color: #fff;
  flex-shrink: 0;
}

/* ── Sticky submit footer ── */
.rv-submit-footer {
  position: sticky;
  bottom: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1.5px solid #e2e8f0;
  padding: .85rem 0;
  z-index: 55;
}
.btn-rv-submit {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem 2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #15803d, #16a34a);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity .18s, transform .15s;
  font-family: inherit;
}
.btn-rv-submit:hover:not(:disabled) { opacity: .9; transform: translateY(-1px); }
.btn-rv-submit:disabled {
  background: linear-gradient(135deg, #94a3b8, #cbd5e1);
  cursor: not-allowed;
  transform: none;
}
.rv-submit-hint {
  font-size: .77rem;
  color: #94a3b8;
  margin-top: .25rem;
}

/* ── Success state (full page) ── */
.rv-success-screen {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}
.rv-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 25px rgba(16,185,129,.3);
}
.rv-success-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: .5rem;
}
.rv-success-sub {
  font-size: .9rem;
  color: #64748b;
  max-width: 400px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}


/* ================================================================
   PROFILE CHAT FAB & WINDOW
   ================================================================ */

/* ── FAB button ── */
.chat-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #6d28d9);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(109,40,217,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
  outline: none;
}
.chat-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(109,40,217,.55);
}
.chat-fab:active { transform: scale(.95); }

.chat-fab-unread {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  transition: transform .2s;
}
.chat-fab-unread.hide { display: none; }

/* ── Chat window ── */
.chat-window {
  position: fixed;
  bottom: calc(1.5rem + 64px);
  right: 1.5rem;
  z-index: 1199;
  width: 360px;
  max-width: calc(100vw - 2rem);
  height: 500px;
  max-height: calc(100vh - 120px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 50px rgba(15,23,42,.2), 0 2px 8px rgba(15,23,42,.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(.85) translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), opacity .2s;
}
.chat-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* ── Chat header ── */
.chat-win-header {
  background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.chat-win-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.4);
}
.chat-win-info { flex: 1; min-width: 0; }
.chat-win-name {
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-win-status {
  font-size: .7rem;
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.chat-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(74,222,128,.35);
}
.chat-win-actions {
  display: flex;
  gap: .25rem;
}
.chat-win-act-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: none;
  color: rgba(255,255,255,.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  transition: background .15s;
}
.chat-win-act-btn:hover { background: rgba(255,255,255,.27); }

/* ── Messages area ── */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  background: #f8fafc;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

/* Date separator */
.chat-date-sep {
  text-align: center;
  font-size: .68rem;
  color: #94a3b8;
  font-weight: 600;
  margin: .4rem 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.chat-date-sep::before,
.chat-date-sep::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }

/* Message rows */
.chat-msg {
  display: flex;
  gap: .5rem;
  align-items: flex-end;
  max-width: 90%;
}
.chat-msg.from-admin { align-self: flex-start; }
.chat-msg.from-me    { align-self: flex-end; flex-direction: row-reverse; }

.chat-msg-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #6d28d9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  flex-shrink: 0;
}

.chat-bubble {
  padding: .55rem .85rem;
  border-radius: 16px;
  font-size: .83rem;
  line-height: 1.5;
  max-width: 240px;
  word-break: break-word;
  position: relative;
}
.from-admin .chat-bubble {
  background: #fff;
  color: #1e293b;
  border-radius: 4px 16px 16px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.from-me .chat-bubble {
  background: linear-gradient(135deg, #1d4ed8, #6d28d9);
  color: #fff;
  border-radius: 16px 4px 16px 16px;
}
.chat-bubble-time {
  font-size: .63rem;
  margin-top: .28rem;
  display: block;
  opacity: .6;
  text-align: right;
}
.from-admin .chat-bubble-time { text-align: left; }

/* Typing indicator */
.chat-typing {
  display: flex;
  align-items: flex-end;
  gap: .5rem;
  align-self: flex-start;
}
.chat-typing-dots {
  background: #fff;
  border-radius: 4px 16px 16px 16px;
  padding: .6rem .9rem;
  display: flex;
  gap: .3rem;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.chat-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
  animation: chatDotBounce 1.2s infinite ease-in-out;
}
.chat-typing-dot:nth-child(2) { animation-delay: .2s; }
.chat-typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes chatDotBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40%           { transform: translateY(-5px); }
}

/* ── Input area ── */
.chat-input-area {
  padding: .75rem .9rem;
  border-top: 1.5px solid #e2e8f0;
  display: flex;
  align-items: flex-end;
  gap: .5rem;
  background: #fff;
  flex-shrink: 0;
}
.chat-input-wrap {
  flex: 1;
  background: #f1f5f9;
  border-radius: 22px;
  display: flex;
  align-items: flex-end;
  padding: .4rem .85rem;
  gap: .4rem;
  border: 1.5px solid transparent;
  transition: border-color .18s;
}
.chat-input-wrap:focus-within {
  border-color: #6d28d9;
  background: #fff;
}
.chat-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: .84rem;
  font-family: inherit;
  color: #1e293b;
  resize: none;
  max-height: 100px;
  outline: none;
  line-height: 1.5;
  padding: .15rem 0;
}
.chat-input::placeholder { color: #94a3b8; }
.chat-emoji-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  font-size: .95rem;
  padding: 0;
  transition: color .15s;
  flex-shrink: 0;
}
.chat-emoji-btn:hover { color: #f59e0b; }
.chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #6d28d9);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
  transition: opacity .18s, transform .15s;
}
.chat-send-btn:hover { opacity: .87; transform: scale(1.07); }
.chat-send-btn:active { transform: scale(.93); }

/* ── Attachment button ── */
.chat-attach-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  font-size: .95rem;
  padding: 0 .1rem;
  transition: color .15s;
  flex-shrink: 0;
}
.chat-attach-btn:hover { color: #6d28d9; }

/* ── Emoji picker (simple) ── */
.chat-emoji-picker {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: .6rem;
  display: none;
  flex-wrap: wrap;
  gap: .2rem;
  width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 5;
}
.chat-emoji-picker.show { display: flex; }
.chat-emoji-picker span {
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 6px;
  padding: .15rem .25rem;
  transition: background .12s;
  line-height: 1;
}
.chat-emoji-picker span:hover { background: #f1f5f9; }

/* ── File attachment preview ── */
.chat-attach-preview {
  background: #f8fafc;
  border-top: 1.5px solid #e2e8f0;
  padding: .5rem .9rem;
  display: none;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  color: #475569;
}
.chat-attach-preview.show { display: flex; }
.chat-attach-ic {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .75rem;
  flex-shrink: 0;
}
.chat-attach-remove {
  margin-left: auto;
  border: none;
  background: none;
  cursor: pointer;
  color: #94a3b8;
  font-size: .8rem;
}
.chat-attach-remove:hover { color: #ef4444; }

/* ── Bubble with attachment ── */
.chat-bubble-file {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  border-radius: 8px;
  padding: .4rem .6rem;
  margin-top: .3rem;
  font-size: .76rem;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.from-admin .chat-bubble-file { background: #f1f5f9; color: #1e293b; }

/* ── Mobile responsive ── */
@media (max-width: 480px) {
  .chat-window {
    right: .75rem;
    left: .75rem;
    width: auto;
    bottom: calc(1.5rem + 64px);
  }
  .chat-fab { right: 1.25rem; bottom: 1.5rem; }
}
