/* ==========================================================================
   COMPONENTS — ONYX LEARN!
   Mobile-First: Compact, Elegant, Intuitive
   ========================================================================== */

/* ---- ARCHITECTURAL FLOATING ISLAND CAPSULE NAVBAR ---- */
.navbar-wrapper {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  pointer-events: none;
}
.navbar {
  pointer-events: auto;
  width: 100%;
  max-width: 1280px;
  height: clamp(60px, 4.2vw, 68px);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1.5px solid rgba(120, 40, 240, 0.16);
  border-radius: 9999px;
  box-shadow: 
    0 10px 32px -4px rgba(63, 10, 143, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 clamp(1rem, 2vw, 1.75rem);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(120, 40, 240, 0.28);
  box-shadow: 
    0 16px 42px -4px rgba(63, 10, 143, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.95) inset;
  transform: translateY(-2px);
}
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  padding: 0;
}


/* Profile Dropdown Hover Effects */
.dropdown-item#navProfileDashboard:hover {
  background: var(--bg-card-hover);
  color: var(--accent-primary) !important;
}
.dropdown-item#navProfileLogout:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444 !important;
}

.navbar-container {
  display: flex; align-items: center;
  justify-content: space-between; height: 100%;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 1.35rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--text-primary);
  line-height: 1.25;
}
.logo img {
  display: block;
  flex-shrink: 0;
}
.logo span {
  display: inline-flex;
  align-items: center;
  line-height: 1.25;
}
.logo-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 1rem;
  box-shadow: var(--shadow-glow);
}
.nav-links {
  display: flex; align-items: center; gap: clamp(1.25rem, 1.8vw, 2.2rem);
  position: relative;
}
.nav-link {
  font-weight: 600; font-size: clamp(0.88rem, 0.92vw, 0.98rem);
  color: var(--text-secondary); transition: var(--transition-fast);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-indicator {
  position: absolute;
  bottom: -5px;
  height: 2px;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}
.nav-actions { display: flex; align-items: center; gap: 0.65rem; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: var(--radius-full);
  background: rgba(120,40,240,0.08); border: 1px solid var(--border-color);
  color: var(--text-primary); display: flex; align-items: center;
  justify-content: center; transition: var(--transition-fast);
}
.theme-toggle:hover { background: rgba(120,40,240,0.15); transform: scale(1.05); }

/* Modern Pill CTA Button (Matching Footer USD Halo Style) */
.nav-pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--grad-primary);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9999px;
  padding: 0.38rem 0.45rem 0.38rem 1.15rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(120, 40, 240, 0.35);
  flex-shrink: 0;
  text-decoration: none;
}
.nav-pill-cta:hover {
  background: var(--grad-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(120, 40, 240, 0.55);
}
.nav-pill-cta-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s, color 0.2s;
}
.nav-pill-cta:hover .nav-pill-cta-icon {
  background: #ffffff;
  color: var(--accent-primary);
  transform: translateX(2px);
}

.btn-nav-cta { font-size: 0.9rem; padding: 0.6rem 1.2rem; }
.mobile-menu-btn {
  display: none;
  background: rgba(120,40,240,0.08);
  border: 1px solid var(--border-color);
  color: var(--text-primary); padding: 0.4rem 0.55rem;
  border-radius: var(--radius-md);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md); font-weight: 700;
  font-size: 0.95rem; transition: var(--transition-fast);
  cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 4px 18px rgba(120,40,240,0.35); }
.btn-primary:hover { background: var(--grad-primary-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(120,40,240,0.5); }
.btn-secondary { background: rgba(120,40,240,0.08); color: var(--text-primary); border: 1px solid var(--border-color); }
.btn-secondary:hover { background: rgba(120,40,240,0.15); border-color: rgba(120,40,240,0.3); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--accent-primary); border: 1.5px solid var(--accent-primary); }
.btn-outline:hover { background: rgba(120,40,240,0.1); }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ---- HERO ---- */
.hero { position: relative; padding: 100px 0 60px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-content { z-index: 1; }
.hero-title {
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  font-weight: 800; line-height: 1.18;
  letter-spacing: -0.03em; margin-bottom: 1rem;
}
.hero-desc { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 1.75rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  padding-top: 1.5rem; border-top: 1px solid var(--border-color); flex-wrap: wrap;
}
.stat-item h4 { 
  font-size: 1.65rem; 
  font-weight: 800; 
  letter-spacing: -0.02em;
  color: var(--accent-dark);
}
.stat-item p { 
  font-size: 0.84rem; 
  color: var(--text-secondary); 
  font-weight: 600;
}

/* ---- ASYMMETRIC SPLIT HERO PHOTOGRAPHY (ANTI-SLOP) ---- */
.hero-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 0.85rem;
}

.hero-accreditation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(120, 40, 240, 0.12);
  font-size: 0.82rem;
}
.accreditation-label {
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}
.accreditation-item {
  font-weight: 700;
  color: var(--text-secondary);
}
.accreditation-divider {
  color: rgba(120, 40, 240, 0.35);
  font-weight: 400;
}

.hero-visual { 
  position: relative; 
  z-index: 1; 
  display: flex;
  justify-content: flex-end;
}

/* ---- ANIMATED HERO STAGE & 3D PERSPECTIVE PHYSICS ---- */
.hero-stage {
  perspective: 1200px;
  position: relative;
  width: 100%;
  max-width: 530px;
}
.hero-photo-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: 
    0 24px 60px -12px rgba(63, 10, 143, 0.16),
    0 0 0 1px rgba(120, 40, 240, 0.14);
  background: #ffffff;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
}
.hero-photo-frame:hover {
  box-shadow: 
    0 32px 70px -12px rgba(63, 10, 143, 0.22),
    0 0 0 1.5px rgba(120, 40, 240, 0.28);
}
.hero-photo-inner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 450px;
  transform-style: preserve-3d;
}
.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Auxiliary Floating Widget: Audio Pronunciation (Popping forward in 3D) */
.hero-audio-widget {
  position: absolute;
  top: -18px;
  left: -22px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(120, 40, 240, 0.22);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  box-shadow: 0 16px 36px -4px rgba(63, 10, 143, 0.18);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.2s;
  user-select: none;
}
.hero-audio-widget:hover {
  box-shadow: 0 20px 42px -4px rgba(63, 10, 143, 0.28);
}
.audio-visualizer-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}
.soundbar {
  width: 3.5px;
  border-radius: 2px;
  background: var(--grad-primary);
  animation: soundbarPulse 1.2s ease-in-out infinite alternate;
}
.soundbar:nth-child(1) { height: 14px; animation-delay: 0.1s; }
.soundbar:nth-child(2) { height: 8px; animation-delay: 0.3s; }
.soundbar:nth-child(3) { height: 18px; animation-delay: 0.2s; }
.soundbar:nth-child(4) { height: 11px; animation-delay: 0.4s; }
@keyframes soundbarPulse {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}
.audio-text-group {
  display: flex;
  flex-direction: column;
}
.audio-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-primary);
}
.audio-word {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
}
.audio-phonetic {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* Auxiliary Floating Widget: Countdown Ticker (Popping forward in 3D) */
.hero-countdown-widget {
  position: absolute;
  top: 36px;
  right: -24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(120, 40, 240, 0.22);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  box-shadow: 0 16px 36px -4px rgba(63, 10, 143, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 10;
  transform-style: preserve-3d;
  will-change: transform;
}
.countdown-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.countdown-digits {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

@media (max-width: 992px) {
  .hero-audio-widget { left: 0; top: -14px; }
  .hero-countdown-widget { right: 0; top: auto; bottom: -20px; }
}

/* Glass Float Metric Card (Anchored bottom, popping forward in 3D) */
.hero-floating-glass {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-glass-metric {
  display: flex;
  flex-direction: column;
}
.hero-glass-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.hero-glass-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.hero-glass-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(5, 150, 105, 0.08);
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(5, 150, 105, 0.2);
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-glass-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
}

.text-emerald { color: var(--accent-emerald) !important; }
.text-cyan { color: var(--accent-secondary) !important; }
.text-pink { color: var(--accent-pink) !important; }
.fw-700 { font-weight: 700 !important; }
.font-mono { font-family: var(--font-mono) !important; }

/* ---- SECTIONS (Seamless Modern Atmosphere) ---- */
.section { 
  padding: 96px 0; 
  position: relative; 
  z-index: 2; 
}

.section-alt { 
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.35) 0%, rgba(241, 245, 254, 0.65) 15%, rgba(241, 245, 254, 0.65) 85%, rgba(248, 250, 252, 0.35) 100%);
  border-top: none; 
  border-bottom: none; 
  position: relative;
  z-index: 2;
}

html[data-theme="dark"] .section-alt,
body[data-theme="dark"] .section-alt {
  background: linear-gradient(180deg, rgba(14, 10, 26, 0.25) 0%, rgba(22, 16, 44, 0.52) 15%, rgba(22, 16, 44, 0.52) 85%, rgba(14, 10, 26, 0.25) 100%);
  border-top: none; 
  border-bottom: none; 
}

/* Seamless Ambient Blending for FAQ Section (Zero Harsh Boundary) */
#faq {
  padding-top: 85px;
  padding-bottom: 85px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.3) 0%, rgba(245, 243, 255, 0.5) 25%, rgba(245, 243, 255, 0.5) 75%, rgba(248, 250, 252, 0.2) 100%);
}

html[data-theme="dark"] #faq,
body[data-theme="dark"] #faq {
  background: linear-gradient(180deg, rgba(14, 10, 26, 0.2) 0%, rgba(24, 18, 48, 0.42) 25%, rgba(24, 18, 48, 0.42) 75%, rgba(14, 10, 26, 0.2) 100%);
}
.section-header-center { text-align: center; margin-bottom: 3.5rem; }
.section-title { 
  font-size: clamp(1.8rem, 4vw, 3rem); 
  font-weight: 800; 
  line-height: 1.2; 
  letter-spacing: -0.025em; 
  margin-bottom: 0.85rem; 
  color: var(--text-primary);
}
.section-subtitle { 
  font-size: clamp(0.95rem, 2vw, 1.15rem); 
  color: var(--text-secondary); 
  max-width: 620px; 
  margin: 0 auto; 
  line-height: 1.6;
}
.section-badge {
  display: inline-flex; 
  align-items: center; 
  gap: 0.5rem;
  padding: 0.4rem 1.1rem; 
  border-radius: var(--radius-full);
  background: rgba(120, 40, 240, 0.08); 
  border: 1px solid rgba(120, 40, 240, 0.2);
  color: var(--accent-primary); 
  font-size: 0.82rem; 
  font-weight: 700; 
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 8px rgba(120, 40, 240, 0.06);
}

/* ---- ABOUT ---- */
.about-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 3rem; align-items: center; }
.about-desc { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.about-mission { display: flex; flex-direction: column; gap: 0.85rem; }
.mission-item {
  display: flex; 
  align-items: flex-start; 
  gap: 0.75rem;
  font-size: 0.95rem; 
  font-weight: 600;
  color: var(--text-primary);
}
.mission-item svg { color: var(--accent-emerald); flex-shrink: 0; margin-top: 3px; }
.about-card { display: flex; flex-direction: column; gap: 1rem; }
.about-chip {
  background: #ffffff; 
  border: 1.5px solid rgba(120, 40, 240, 0.12);
  padding: 1.1rem 1.35rem; 
  border-radius: var(--radius-md); 
  display: flex; 
  flex-direction: column; 
  gap: 4px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}
.about-chip:hover {
  border-color: rgba(120, 40, 240, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.about-chip.accent-emerald { border-color: rgba(16, 185, 129, 0.25); background: #f0fdf4; }
.chip-label { font-weight: 800; color: var(--accent-dark); font-size: 1rem; }
.about-chip.accent-emerald .chip-label { color: var(--accent-emerald); }
.about-chip small { font-size: 0.84rem; color: var(--text-muted); font-weight: 500; }

/* ---- ASYMMETRIC BENTO GRID KEUNGGULAN (TASTE-SKILL ANTI-SLOP) ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card); 
  border: 1.5px solid rgba(120, 40, 240, 0.12);
  border-radius: var(--radius-xl); 
  padding: 2.25rem 2rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  border-color: rgba(120, 40, 240, 0.35);
  transform: translateY(-4px); 
  box-shadow: var(--shadow-lg);
}

/* Bento Photographic Card (Real Assets) */
.feature-card.bento-visual {
  color: #ffffff;
  border-color: rgba(120, 40, 240, 0.2);
}
.bento-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card.bento-visual:hover .bento-bg-img {
  transform: scale(1.04);
}
.bento-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(9, 13, 26, 0.94) 100%);
  z-index: 1;
}
.bento-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.feature-card.bento-visual .feature-title {
  color: #ffffff;
}
.feature-card.bento-visual .feature-desc {
  color: rgba(255, 255, 255, 0.84);
}

/* Bento Spans */
.feature-card.bento-col-8 {
  grid-column: span 8;
}
.feature-card.bento-col-4 {
  grid-column: span 4;
}
.feature-card.bento-col-6 {
  grid-column: span 6;
}
.feature-card.bento-col-12 {
  grid-column: span 12;
}

@media (max-width: 992px) {
  .feature-card.bento-col-8,
  .feature-card.bento-col-4,
  .feature-card.bento-col-6 {
    grid-column: span 12;
  }
}

.editorial-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: rgba(120, 40, 240, 0.08);
  padding: 4px 9px;
  border-radius: 4px;
  border-left: 2px solid var(--accent-primary);
  width: fit-content;
}
.editorial-tag.tag-emerald {
  color: var(--accent-emerald);
  background: rgba(5, 150, 105, 0.09);
  border-left-color: var(--accent-emerald);
}
.editorial-tag.tag-white {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-left-color: #ffffff;
  backdrop-filter: blur(8px);
}
.editorial-tag.tag-gold {
  color: var(--accent-gold);
  background: rgba(217, 119, 6, 0.09);
  border-left-color: var(--accent-gold);
}

.feature-icon-svg {
  width: 48px; 
  height: 48px; 
  border-radius: var(--radius-md);
  background: rgba(120, 40, 240, 0.08); 
  border: 1px solid rgba(120, 40, 240, 0.16);
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: var(--accent-primary); 
  margin-bottom: 1.25rem;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.feature-card:hover .feature-icon-svg { 
  background: var(--grad-primary); 
  color: #fff; 
  border-color: transparent;
  transform: scale(1.05);
}
.feature-title { 
  font-size: 1.25rem; 
  font-weight: 800; 
  margin-bottom: 0.6rem; 
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.feature-desc { 
  color: var(--text-secondary); 
  font-size: 0.92rem; 
  line-height: 1.65; 
}

/* Pricing Filters — Liquid Glass Capsules & Refined Typography */
.filter-container { display: flex; flex-direction: column; align-items: center; gap: 0.95rem; margin-bottom: 2.25rem; }
.filter-row { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; justify-content: center; }
.filter-label { 
  font-size: 0.78rem; 
  font-weight: 700; 
  color: #7c3aed; 
  text-transform: uppercase; 
  letter-spacing: 0.08em; 
  font-family: 'Plus Jakarta Sans', var(--font-sans), sans-serif; 
}
html[data-theme="dark"] .filter-label {
  color: #c084fc;
}
.filter-wrap {
  display: inline-flex; 
  align-items: center;
  background: rgba(255, 255, 255, 0.68); 
  padding: 4px;
  border-radius: 9999px; 
  gap: 4px;
  flex-wrap: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 6px 20px -2px rgba(99, 102, 241, 0.07),
    0 1px 3px rgba(0, 0, 0, 0.03),
    inset 0 1px 2px rgba(255, 255, 255, 0.95),
    0 0 0 1px rgba(124, 58, 237, 0.08);
  user-select: none;
  -webkit-user-select: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.25s ease;
}
html[data-theme="dark"] .filter-wrap {
  background: rgba(24, 18, 48, 0.65);
  border: 1px solid rgba(167, 139, 250, 0.22);
  box-shadow: 
    0 8px 24px -4px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}
.filter-btn {
  padding: 0.48rem 1.35rem; 
  border-radius: 9999px;
  font-size: 0.88rem; 
  font-weight: 600; 
  font-family: 'Plus Jakarta Sans', var(--font-sans), sans-serif;
  color: #475569;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.filter-btn:hover { 
  color: #1e1b4b; 
  background: rgba(124, 58, 237, 0.06); 
  transform: translateY(-1px); 
}
.filter-btn:active { 
  transform: scale(0.97); 
}
.filter-btn.active {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%); 
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 4px 14px rgba(124, 58, 237, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
}
html[data-theme="dark"] .filter-btn {
  color: #cbd5e1;
}
html[data-theme="dark"] .filter-btn:hover {
  color: #ffffff;
  background: rgba(167, 139, 250, 0.12);
}
html[data-theme="dark"] .filter-btn.active {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* Format Info Cards — Liquid Glass Sub-cards */
.format-comparison-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
.format-info-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md); 
  padding: 0.85rem 1.15rem;
  display: flex; 
  align-items: center; 
  gap: 0.75rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease,
              background 0.25s ease;
  box-shadow: 0 4px 16px -2px rgba(63, 10, 143, 0.05), inset 0 1px 2px rgba(255, 255, 255, 0.95);
  opacity: 0.55;
  transform: scale(0.985);
}
.format-info-card:hover { 
  opacity: 0.88; 
  transform: translateY(-2px); 
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px -4px rgba(63, 10, 143, 0.09), inset 0 1px 2px rgba(255, 255, 255, 1);
}
.format-info-card.active {
  opacity: 1;
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 8px 26px -4px rgba(124, 58, 237, 0.14), inset 0 1px 2px rgba(255, 255, 255, 1), 0 0 0 1px rgba(124, 58, 237, 0.12);
}
.format-info-card.active.format-is-reguler {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 8px 26px -4px rgba(6, 182, 212, 0.16), inset 0 1px 2px rgba(255, 255, 255, 1);
}
.format-info-card.active.format-is-private {
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 8px 26px -4px rgba(124, 58, 237, 0.18), inset 0 1px 2px rgba(255, 255, 255, 1);
}
html[data-theme="dark"] .format-info-card {
  background: rgba(24, 18, 48, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.3);
}
html[data-theme="dark"] .format-info-card.active {
  background: rgba(30, 22, 60, 0.8);
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 8px 26px -4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(124, 58, 237, 0.2);
}
.format-badge { display: inline-flex; font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-sm); flex-shrink: 0; }
.format-reguler { background: rgba(6,182,212,0.12); color: var(--accent-secondary); }
.format-private { background: rgba(120,40,240,0.12); color: var(--accent-primary); }
.format-info-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.4; margin: 0; }

/* ---- 4-COLUMN PRICING DECK (DESKTOP ALL 4 CARDS WITH 3D HOVER EXPANSION) ---- */
.pricing-grid-deck {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0 1rem;
  align-items: stretch;
  perspective: 1200px;
}
@media (max-width: 1180px) {
  .pricing-grid-deck {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 640px) {
  .pricing-grid-deck {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ---- 4-COLUMN PRICING DECK (Liquid Glass Architecture & Refined Typography) ---- */
.pricing-card {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  padding: 1.85rem 1.45rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 
    0 12px 36px -4px rgba(63, 10, 143, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.02),
    inset 0 1px 2px rgba(255, 255, 255, 0.95),
    0 0 0 1px rgba(124, 58, 237, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease;
  will-change: transform;
  user-select: none;
  z-index: 1;
  overflow: hidden;
}

/* Subtle top edge liquid specular sheen */
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  pointer-events: none;
}

/* Proportional 3D Hover: Card lifts gently forward with glowing liquid border */
.pricing-card:hover {
  transform: translateY(-8px) scale(1.015);
  z-index: 25;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 1);
  box-shadow: 
    0 24px 50px -8px rgba(63, 10, 143, 0.12),
    inset 0 1px 2px rgba(255, 255, 255, 1),
    0 0 0 1.5px rgba(124, 58, 237, 0.22);
}

/* Highlighted Recommended Card (B1) - Signature Liquid Glass Star Card */
.pricing-card.popular {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 246, 255, 0.82) 100%) !important;
  border: 1.5px solid rgba(124, 58, 237, 0.35) !important;
  box-shadow: 
    0 18px 48px -6px rgba(120, 40, 240, 0.16),
    inset 0 1px 2px rgba(255, 255, 255, 1),
    0 0 0 1px rgba(124, 58, 237, 0.14) !important;
}
.pricing-card.popular:hover {
  transform: translateY(-10px) scale(1.025);
  z-index: 26;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 242, 255, 0.9) 100%) !important;
  border-color: rgba(124, 58, 237, 0.55) !important;
  box-shadow: 
    0 28px 60px -8px rgba(120, 40, 240, 0.24),
    inset 0 1px 2px rgba(255, 255, 255, 1),
    0 0 24px rgba(120, 40, 240, 0.15) !important;
}
.pricing-card.popular .plan-name,
.pricing-card.popular .pricing-tier-title {
  color: var(--accent-dark) !important;
}
.pricing-card.popular .pricing-card-price .amount {
  color: var(--accent-dark) !important;
}
.pricing-card.popular .pricing-card-desc {
  color: var(--text-secondary) !important;
}
.pricing-card.popular .pricing-card-period {
  color: var(--accent-primary) !important;
  font-weight: 600;
}
.pricing-card.popular .pricing-card-features li,
.pricing-card.popular .pricing-card-features li span {
  color: var(--text-primary) !important;
  font-weight: 600;
}
.pricing-card.popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  box-shadow: 0 0 12px var(--accent-primary);
}

/* Card Header (Icon + Name + Most Popular Badge) */
.pricing-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.pricing-tier-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.pricing-tier-icon {
  display: none;
}
.pricing-tier-title {
  font-family: 'Plus Jakarta Sans', var(--font-sans), sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}
/* Thumb Badge: Compact recommended indicator for B1 */
.pricing-thumb-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(120, 40, 240, 0.08);
  border: 1px solid rgba(120, 40, 240, 0.24);
  color: var(--accent-primary);
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.pricing-card.popular:hover .pricing-thumb-badge {
  background: var(--accent-primary);
  color: #ffffff;
  transform: scale(1.1);
}

/* Refined Clean Price Typography (Balanced, not overly thick) */
.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}
.pricing-card-price .currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-primary);
  font-family: 'Plus Jakarta Sans', var(--font-sans), sans-serif;
}
.pricing-card-price .amount {
  font-family: 'Plus Jakarta Sans', var(--font-sans), sans-serif;
  font-size: clamp(1.65rem, 1.8vw, 1.95rem);
  font-weight: 600; /* Refined clean weight, not overly thick */
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.pricing-card-period {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  font-weight: 500;
}

/* Short Description */
.pricing-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.4rem;
  min-height: 48px;
}

/* Full Width Action Button (Directly below description — Liquid Glass Pill Style) */
.pricing-card-btn {
  width: 100%;
  padding: 0.72rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.92rem;
  font-family: 'Plus Jakarta Sans', var(--font-sans), sans-serif;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 1.5rem;
  text-align: center;
  display: block;
  text-decoration: none;
}
.btn-tier-default {
  background: rgba(120, 40, 240, 0.06);
  color: var(--accent-primary);
  border: 1px solid rgba(120, 40, 240, 0.2);
}
.btn-tier-default:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(120, 40, 240, 0.3);
}
.btn-tier-highlight {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 18px rgba(120, 40, 240, 0.35);
}
.btn-tier-highlight:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #4f46e5 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(120, 40, 240, 0.5);
}

/* Feature Checklist (Below the button, circular checkmarks) */
.pricing-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pricing-feature-item,
.pricing-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}
.pricing-feature-text {
  font-size: 0.86rem;
  color: #1e293b;
  line-height: 1.45;
  font-weight: 600;
}
.pricing-card.popular .pricing-feature-text {
  color: #090d1a;
  font-weight: 700;
}
.pricing-check-icon,
.pricing-feature-icon,
.pricing-card-features li svg,
.plan-features li svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  color: var(--accent-primary) !important;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Dark Mode Overrides for Pricing Deck */
html[data-theme="dark"] .pricing-card,
body[data-theme="dark"] .pricing-card {
  background: #181230;
  background: radial-gradient(circle at 50% 0%, rgba(120, 40, 240, 0.26) 0%, rgba(24, 18, 48, 0.96) 65%, #16102b 100%);
  color: #f8fafc;
  border-color: rgba(167, 139, 250, 0.22);
  box-shadow: 0 16px 40px -8px rgba(15, 10, 30, 0.55);
}
html[data-theme="dark"] .pricing-card:hover,
body[data-theme="dark"] .pricing-card:hover {
  border-color: rgba(192, 132, 252, 0.6);
  box-shadow: 0 24px 56px -8px rgba(120, 40, 240, 0.45), 0 0 24px rgba(167, 139, 250, 0.25);
}
html[data-theme="dark"] .pricing-card.popular,
body[data-theme="dark"] .pricing-card.popular {
  background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.42) 0%, rgba(30, 20, 62, 0.98) 65%, #191136 100%) !important;
  border-color: #a855f7 !important;
  box-shadow: 0 0 36px rgba(168, 85, 247, 0.35), 0 20px 48px -8px rgba(15, 10, 30, 0.65) !important;
}
html[data-theme="dark"] .pricing-card.popular .plan-name,
html[data-theme="dark"] .pricing-card.popular .pricing-tier-title,
html[data-theme="dark"] .pricing-card.popular .pricing-card-price .amount {
  color: #ffffff !important;
}
html[data-theme="dark"] .pricing-tier-title,
html[data-theme="dark"] .pricing-card-price .amount {
  color: #ffffff;
}
html[data-theme="dark"] .pricing-card-price .currency {
  color: #c084fc;
}
html[data-theme="dark"] .pricing-card-desc,
html[data-theme="dark"] .pricing-card-features li {
  color: #cbd5e1;
}
html[data-theme="dark"] .btn-tier-default {
  background: #1e2638;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
}
html[data-theme="dark"] .btn-tier-default:hover {
  background: #2b354d;
  border-color: #a78bfa;
}
.pricing-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s ease;
}
.pricing-dot.active {
  width: 28px;
  border-radius: 9999px;
  background: var(--accent-primary);
}

/* Responsive Card Widths */
@media (max-width: 1100px) {
  .pricing-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}
@media (max-width: 720px) {
  .pricing-card {
    flex: 0 0 100%;
  }
}

/* ---- ALUMNI TESTIMONIALS (ANTI-SLOP) ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 992px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: var(--bg-card);
  border: 1.5px solid rgba(120, 40, 240, 0.12);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
}
.testimonial-card:hover {
  border-color: rgba(120, 40, 240, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 2px solid rgba(120, 40, 240, 0.25);
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}
.testimonial-role {
  font-size: 0.82rem;
  color: var(--accent-primary);
  font-weight: 700;
}
.testimonial-quote {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.25rem;
}
.testimonial-city-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(120, 40, 240, 0.06);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

/* ---- FAQ (Liquid Glass Accordion Architecture) ---- */
.faq-grid { max-width: 820px; margin: 0 auto; }
.faq-item { 
  background: rgba(255, 255, 255, 0.68); 
  border: 1px solid rgba(255, 255, 255, 0.85); 
  border-radius: 20px; 
  margin-bottom: 0.95rem; 
  overflow: hidden; 
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 
    0 4px 20px -2px rgba(99, 102, 241, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.02),
    inset 0 1px 2px rgba(255, 255, 255, 0.95),
    0 0 0 1px rgba(124, 58, 237, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.faq-item:hover {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 
    0 12px 30px -4px rgba(99, 102, 241, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 1),
    0 0 0 1.5px rgba(124, 58, 237, 0.18);
}
.faq-item.active {
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(124, 58, 237, 0.28);
  box-shadow: 
    0 12px 32px -4px rgba(124, 58, 237, 0.12),
    inset 0 1px 2px rgba(255, 255, 255, 1),
    0 0 0 1px rgba(124, 58, 237, 0.08);
}
html[data-theme="dark"] .faq-item {
  background: rgba(24, 18, 48, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .faq-item:hover {
  background: rgba(30, 24, 58, 0.8);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 8px 26px -4px rgba(0, 0, 0, 0.5);
}
html[data-theme="dark"] .faq-item.active {
  background: rgba(32, 24, 62, 0.85);
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.55), 0 0 24px rgba(124, 58, 237, 0.25);
}
.faq-question {
  width: 100%; 
  padding: 1.2rem 1.5rem;
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  background: transparent; 
  color: #1e1b4b;
  font-family: 'Plus Jakarta Sans', var(--font-sans), sans-serif;
  font-weight: 700; 
  font-size: 1.02rem; 
  text-align: left;
  cursor: pointer;
  letter-spacing: -0.01em;
  border: none;
  outline: none;
}
html[data-theme="dark"] .faq-question {
  color: #f8fafc;
}
.faq-icon { 
  width: 20px; 
  height: 20px; 
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease; 
  color: #7c3aed; 
  flex-shrink: 0; 
  margin-left: 0.75rem; 
}
.faq-item.active .faq-icon { 
  transform: rotate(180deg); 
  color: #9333ea; 
}
.faq-answer { 
  max-height: 0; 
  overflow: hidden; 
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease; 
  padding: 0 1.5rem; 
  color: #475569; 
  font-family: 'Plus Jakarta Sans', var(--font-sans), sans-serif;
  font-size: 0.94rem; 
  line-height: 1.65; 
}
html[data-theme="dark"] .faq-answer {
  color: #cbd5e1;
}
.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.4rem;
}
.faq-item.active .faq-answer { 
  max-height: 380px; 
  padding: 0 1.35rem 1.25rem; 
}

/* ---- USD HALO TEMPLATE STYLE FOOTER (ONYX LINGO PALETTE) ---- */
.halo-footer {
  background: transparent;
  padding: 0 clamp(1rem, 2vw, 1.75rem) clamp(1.5rem, 2.5vw, 2.25rem);
  width: 100%;
  position: relative;
  z-index: 10;
}

.halo-footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

.halo-footer-card {
  border-radius: clamp(20px, 2.2vw, 28px);
  background: #181230;
  background: radial-gradient(circle at 85% 15%, rgba(120, 40, 240, 0.28) 0%, #16102b 65%);
  border: 1px solid rgba(167, 139, 250, 0.2);
  background-clip: padding-box;
  box-shadow: 0 24px 60px -12px rgba(15, 10, 30, 0.45);
  padding: clamp(2.2rem, 3.2vw, 3.25rem) clamp(1.5rem, 2.8vw, 3rem) clamp(1.5rem, 2vw, 2.25rem);
  position: relative;
  overflow: hidden;
}

/* Perpetual Living Aurora Glow inside Footer (Runs continuously without stopping) */
.halo-footer-card::after {
  content: '';
  position: absolute;
  top: -25%;
  right: -15%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.5) 0%, rgba(120, 40, 240, 0.32) 42%, rgba(99, 102, 241, 0.18) 60%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
  animation: footerAuroraPerpetual 11s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes footerAuroraPerpetual {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: translate3d(-75px, 45px, 0) scale(1.22) rotate(18deg);
    opacity: 1;
    filter: blur(42px);
  }
  100% {
    transform: translate3d(-30px, 95px, 0) scale(0.95) rotate(-12deg);
    opacity: 0.72;
    filter: blur(58px);
  }
}

/* Subtle top highlight glow - Perpetual Smooth Shimmer Beam */
.halo-footer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.9), transparent);
  animation: footerTopShimmer 5s ease-in-out infinite alternate;
  z-index: 3;
  pointer-events: none;
}

@keyframes footerTopShimmer {
  0% { transform: translateX(-15%); }
  100% { transform: translateX(95%); }
}

/* Top Row: Brand & CTA */
.halo-footer-top {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(1.25rem, 2vw, 2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: clamp(1.75rem, 2.5vw, 2.75rem);
}
@media (min-width: 768px) {
  .halo-footer-top {
    flex-direction: row;
    align-items: flex-end;
  }
}

.halo-footer-brand {
  max-width: 480px;
}
.halo-footer-logo-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  text-decoration: none;
}
.halo-footer-logo {
  height: clamp(44px, 4vw, 54px);
  width: auto;
}
.halo-footer-tagline {
  font-size: clamp(0.85rem, 0.92vw, 0.95rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* Signature Pill Button with Circular Arrow Chip (USD Halo style) */
.halo-footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  color: #16102b;
  font-size: clamp(0.88rem, 0.95vw, 1rem);
  font-weight: 700;
  border: none;
  border-radius: 9999px;
  padding: 0.45rem 0.5rem 0.45rem 1.6rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  text-decoration: none;
}
.halo-footer-cta-btn:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}
.halo-footer-cta-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #16102b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.2s;
}
.halo-footer-cta-btn:hover .halo-footer-cta-icon {
  background: var(--accent-primary);
  transform: translateX(2px);
}

/* Middle 4-Column Grid */
.halo-footer-nav-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 2vw, 2.5rem) 1.5rem;
  padding: clamp(1.75rem, 2.5vw, 2.75rem) 0;
}
@media (min-width: 768px) {
  .halo-footer-nav-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.5rem, 2vw, 2.5rem);
  }
}

.halo-footer-col-title {
  font-size: clamp(0.85rem, 0.9vw, 0.92rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.15rem;
  letter-spacing: -0.01em;
}

.halo-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.halo-footer-links a {
  font-size: clamp(0.82rem, 0.88vw, 0.88rem);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.halo-footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Footer Stay Connected Box (Liquid Glass Input) */
.footer-stay-connected-col {
  display: flex;
  flex-direction: column;
  position: relative;
}
.footer-stay-connected-desc {
  font-size: clamp(0.82rem, 0.88vw, 0.88rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  margin: 0 0 1rem 0;
}
.footer-newsletter-form {
  margin-top: 0.25rem;
  position: relative;
  max-width: 320px;
}
.footer-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.footer-newsletter-input {
  width: 100%;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 0.5rem 3.2rem 0.5rem 1.15rem;
  color: #ffffff;
  font-size: 0.88rem;
  font-family: 'Plus Jakarta Sans', var(--font-sans), sans-serif;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
  outline: none;
}
.footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.footer-newsletter-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(192, 132, 252, 0.7);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.35), inset 0 1px 2px rgba(0, 0, 0, 0.2);
}
.footer-newsletter-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
}
.footer-newsletter-btn:hover {
  transform: translateY(-50%) scale(1.08);
  background: linear-gradient(135deg, #8b5cf6 0%, #4f46e5 100%);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.6);
}
.footer-newsletter-btn:active {
  transform: translateY(-50%) scale(0.96);
}

/* Footer Follow Us & Social Icons */
.footer-follow-us-col {
  display: flex;
  flex-direction: column;
}
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(192, 132, 252, 0.6);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* Footer Theme Toggle Switch (Sun / Moon) */
.footer-theme-toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: fit-content;
}
.theme-sun-icon {
  color: #fbbf24;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.theme-moon-icon {
  color: #c084fc;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.theme-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  cursor: pointer;
  margin: 0;
}
.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.theme-switch-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.theme-switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.theme-switch input:checked + .theme-switch-slider {
  background-color: #7c3aed;
  border-color: rgba(167, 139, 250, 0.5);
}
.theme-switch input:checked + .theme-switch-slider:before {
  transform: translateX(16px);
  background-color: #ffffff;
}

/* Bottom Row: Copyright & Legal */
.halo-footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: clamp(1.25rem, 1.8vw, 1.75rem);
}
@media (min-width: 640px) {
  .halo-footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

.halo-footer-copy {
  font-size: clamp(0.8rem, 0.84vw, 0.85rem);
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.halo-footer-legal-notice {
  font-size: clamp(0.8rem, 0.84vw, 0.85rem);
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

@media (max-width: 640px) {
  .halo-footer {
    padding: 0 1rem 2rem;
  }
  .halo-footer-card {
    padding: 2rem 1.25rem 1.5rem;
    border-radius: 18px;
  }
  .halo-footer-top {
    padding-bottom: 1.75rem;
  }
  .halo-footer-nav-grid {
    padding: 1.75rem 0;
  }
}

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8,12,20,0.85); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 0.75rem; opacity: 0; visibility: hidden;
  transition: var(--transition-normal);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-card {
  background: var(--bg-modal); border: 1px solid var(--border-card);
  border-radius: var(--radius-lg); width: 100%; max-width: 860px;
  max-height: 92vh; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: translateY(20px) scale(0.95); transition: var(--transition-bounce);
}
.modal-card-sm { max-width: 520px; }
.modal-overlay.active .modal-card { transform: translateY(0) scale(1); }
.modal-header {
  padding: 1.2rem 1.25rem 0.9rem; border-bottom: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-modal); z-index: 10; flex-shrink: 0;
}
.modal-title { font-size: 1.2rem; font-weight: 800; }
.modal-close-btn { width: 32px; height: 32px; border-radius: var(--radius-full); background: rgba(255,255,255,0.05); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; transition: var(--transition-fast); }
.modal-close-btn:hover { background: rgba(255,255,255,0.15); color: var(--text-primary); }
.modal-body {
  padding: 1.25rem 1rem 0.5rem 1.25rem;
  margin: 0 4px 20px 0;
  overflow-y: auto; overflow-x: hidden; flex: 1;
  max-height: calc(92vh - 88px);
}
/* Modal Body Scrollbar Styling */
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb { background: var(--accent-primary); border-radius: var(--radius-full); }
.modal-body::-webkit-scrollbar-thumb:hover { background: var(--accent-primary-hover); }
.modal-body::-webkit-scrollbar-button { display: none !important; width: 0; height: 0; }

/* Registration Modal Card */
.modal-card-reg {
  max-width: 960px;
  width: 95%;
}

/* Step Wizard Navigation */
.reg-wizard-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  margin-bottom: 1.25rem;
  gap: 0.5rem;
}
.wizard-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  opacity: 0.5;
  transition: var(--transition-fast);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.wizard-step.active {
  opacity: 1;
  color: var(--accent-primary);
}
.wizard-step.completed {
  opacity: 0.9;
  color: var(--accent-emerald);
}
.wizard-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.wizard-step.active .wizard-step-num {
  background: var(--grad-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(120,40,240,0.4);
}
.wizard-step.completed .wizard-step-num {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #ffffff;
}
.wizard-step-divider {
  width: 20px;
  height: 1px;
  background: var(--border-color);
  flex-shrink: 0;
}

/* Registration Grid Layout (Balanced Rata Kanan-Kiri) */
.registration-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}
.form-left {
  position: relative;
  min-width: 0;
}
.form-right {
  min-width: 0;
  position: sticky;
  top: 0;
}

.form-group { margin-bottom: 0.9rem; min-width: 0; }
.form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}
.form-label-hint {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-secondary);
}
.form-control {
  width: 100%; min-width: 0; padding: 0.68rem 0.85rem; min-height: 44px;
  background: var(--bg-input); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); color: var(--text-primary); font-size: 0.9rem;
  transition: var(--transition-fast);
  box-sizing: border-box;
}
select.form-control { display: none; } /* hidden — replaced by CustomSelect */
.form-control:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(120,40,240,0.18);
  outline: none;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  min-width: 0;
  margin-bottom: 0;
}

/* Interactive Level Quick-Pick Pills */
.level-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.level-pill-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.3rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}
.level-pill-btn:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
  background: rgba(120,40,240,0.06);
}
.level-pill-btn.active {
  background: rgba(120,40,240,0.15);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 0 1px var(--accent-primary);
}
.level-pill-tag {
  font-size: 0.65rem;
  opacity: 0.8;
  font-weight: 400;
}

/* Coupon Input & Active Badge */
.coupon-input-group { display: flex; gap: 0.5rem; align-items: center; }
.coupon-input-group input { flex: 1; min-width: 0; }
.applied-coupon-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--accent-emerald);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 0.4rem;
}
.applied-coupon-tag button {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  padding: 0;
}

/* OTP Dedicated View */
.otp-dedicated-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.otp-icon-halo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(120,40,240,0.15);
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 20px rgba(120,40,240,0.25);
  animation: pulse 2s infinite ease-in-out;
}
.otp-target-email-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.75rem 0 1.5rem;
}
.otp-boxes-grid {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.otp-digit-box {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 1.6rem;
  font-family: monospace;
  font-weight: 800;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-input);
  color: var(--text-primary);
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.otp-digit-box:focus {
  border-color: var(--accent-primary);
  background: var(--bg-secondary);
  box-shadow: 0 0 0 3px rgba(120,40,240,0.25);
  outline: none;
  transform: translateY(-2px);
}
.otp-timer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.btn-resend-otp {
  background: transparent;
  border: none;
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.btn-resend-otp:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  text-decoration: none;
  opacity: 0.6;
}
.otp-test-box {
  background: rgba(16,185,129,0.08);
  border: 1px dashed var(--accent-emerald);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  text-align: center;
}

/* ---- CUSTOM SELECT DROPDOWN ---- */
.cselect-wrap { position: relative; width: 100%; }
.cselect-wrap.open { z-index: 9999; }
.cselect-wrap.closing { z-index: 9998; }
.cselect-trigger {
  position: relative; z-index: 210;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  text-align: left; cursor: pointer; gap: 0.5rem;
  padding: 0.68rem 0.85rem; min-height: 44px;
  background: var(--bg-input); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); color: var(--text-primary); font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cselect-trigger:hover { border-color: rgba(120,40,240,0.4); }
.cselect-wrap.open .cselect-trigger,
.cselect-wrap.closing .cselect-trigger {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: var(--accent-primary);
}
.cselect-wrap.open .cselect-trigger {
  box-shadow: 0 0 0 3px rgba(120,40,240,0.18);
}
.cselect-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect-arrow {
  color: var(--accent-primary); flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; align-items: center;
}
.cselect-wrap.open .cselect-arrow { transform: rotate(180deg); }
.cselect-dropdown {
  position: absolute; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--bg-modal);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  box-shadow: none;
  max-height: 0; overflow: hidden; opacity: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(124,58,237,0.45) transparent;
  transition: max-height 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  pointer-events: none;
}
.cselect-wrap.open .cselect-dropdown,
.cselect-wrap.closing .cselect-dropdown {
  opacity: 1;
  border-color: var(--accent-primary);
  box-shadow: 0 16px 36px rgba(0,0,0,0.38), 0 0 0 1px rgba(120,40,240,0.15);
}
.cselect-wrap.open .cselect-dropdown {
  pointer-events: auto;
  overflow-y: auto;
}
.cselect-wrap.closing .cselect-dropdown {
  pointer-events: none;
  overflow: hidden;
}
/* Scrollbar inside custom dropdown */
.cselect-dropdown::-webkit-scrollbar { width: 5px; }
.cselect-dropdown::-webkit-scrollbar-track { background: transparent; margin: 4px 0; }
.cselect-dropdown::-webkit-scrollbar-thumb {
  background: rgba(124,58,237,0.45);
  border-radius: var(--radius-full);
}
.cselect-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(124,58,237,0.75);
}
.cselect-option {
  padding: 0.65rem 1rem 0.65rem 0.95rem; font-size: 0.88rem; cursor: pointer;
  color: var(--text-secondary);
  transition: background 0.15s ease, color 0.15s ease;
  position: relative;
  word-break: break-word;
}
.cselect-option:hover {
  background: rgba(120,40,240,0.1);
  color: var(--text-primary);
}
.cselect-option.selected {
  background: rgba(120,40,240,0.15);
  color: var(--accent-primary); font-weight: 700;
}
.cselect-option.selected::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad-primary);
  border-radius: 0 2px 2px 0;
}
.cselect-option:last-child { border-radius: 0 0 var(--radius-md) var(--radius-md); }

/* Order Summary */
.order-summary-box { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-md); padding: 1.1rem; }
.summary-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.8rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--border-color); }
.summary-row { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 0.55rem; }
.summary-discount { color: var(--accent-pink); }
.summary-coupon { color: var(--accent-emerald); }
.summary-total { font-size: 1.05rem; font-weight: 800; color: var(--text-primary); padding-top: 0.6rem; border-top: 1px dashed var(--border-color); margin-top: 0.75rem; margin-bottom: 0; }
.selected-plan-badge { display: inline-block; padding: 0.2rem 0.6rem; background: rgba(120,40,240,0.15); border: 1px solid rgba(120,40,240,0.3); color: var(--accent-primary); font-weight: 700; border-radius: var(--radius-sm); font-size: 0.78rem; }
.summary-note { display: block; text-align: center; color: var(--text-muted); font-size: 0.72rem; margin-top: 0.5rem; }

/* Success Modal */
.success-card { text-align: center; padding: 1.75rem 1.25rem; }
.success-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(16,185,129,0.15); border: 2px solid var(--accent-emerald); color: var(--accent-emerald); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem; }
.success-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.4rem; }
.success-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.25rem; }
.success-invoice { background: var(--bg-card); border: 1px solid var(--border-card); padding: 1rem 1.1rem; border-radius: 12px; text-align: left; margin-bottom: 1.5rem; }
.success-actions { display: flex; flex-direction: column; gap: 0.65rem; }

/* Toast */
.toast-container { position: fixed !important; top: 1.5rem !important; right: 1.5rem !important; bottom: auto !important; left: auto !important; z-index: 9999999 !important; display: flex !important; flex-direction: column !important; gap: 0.6rem !important; pointer-events: none !important; max-width: 420px !important; }
.toast { pointer-events: auto !important; background: var(--bg-modal); border: 1px solid var(--border-card); padding: 0.85rem 1.25rem; border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(0,0,0,0.4); display: flex; align-items: center; gap: 0.75rem; color: var(--text-primary); font-size: 0.88rem; font-weight: 600; z-index: 9999999 !important; }

/* ============================================================
   RESPONSIVE — TABLET & MOBILE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* Mobile */
@media (max-width: 768px) {
  .container { padding: 0 1rem; }

  /* Navbar */
  .navbar { height: 62px; }
  .navbar.scrolled { height: 58px; }
  .logo { font-size: 1.15rem; }
  .logo-icon { width: 32px; height: 32px; font-size: 0.9rem; }
  .nav-links {
    display: none; position: absolute;
    top: 62px; left: 0; right: 0;
    background: var(--bg-modal); border-bottom: 1px solid var(--border-color);
    flex-direction: column; padding: 1rem; gap: 0.85rem;
    box-shadow: var(--shadow-lg); z-index: 999;
  }
  .nav-links.active { display: flex; }
  .nav-link { font-size: 1rem; padding: 0.35rem 0; }
  .mobile-menu-btn { display: flex; align-items: center; }
  .btn-nav-cta { display: none; }

  /* Sections */
  .section { padding: 36px 0; }
  .section-alt { padding: 36px 0; }
  .section-header-center { margin-bottom: 1.75rem; }
  .section-title { font-size: 1.5rem; }

  /* Hero — Full Single Column */
  .hero { padding: 78px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .hero-title { font-size: 1.6rem; margin-bottom: 0.75rem; }
  .hero-desc { font-size: 0.9rem; margin-bottom: 1.25rem; }
  .hero-actions { flex-direction: column; gap: 0.6rem; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.5rem; justify-items: center; padding-top: 1rem; }
  .stat-item h4 { font-size: 1.2rem; }
  .stat-item p { font-size: 0.7rem; }

  /* Hero Visual — Compact on Mobile */
  .hero-visual { padding: 0; }
  .hero-card { padding: 1.1rem 0.9rem; border-radius: var(--radius-md); }
  .hero-card-header { margin-bottom: 0.85rem; padding-bottom: 0.65rem; }
  .hero-card-cols { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .hero-card-col { padding: 0.55rem; }
  /* Stack floating badges as simple inline blocks on mobile */
  .floating-badge {
    position: static !important;
    top: auto !important; right: auto !important; bottom: auto !important; left: auto !important;
    animation: none !important;
    width: 100%; margin-top: 0.6rem;
    padding: 0.55rem 0.75rem; border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
  }

  /* About — Single Column */
  .about-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .about-text { order: 1; }
  .about-card { order: 2; flex-direction: row; gap: 0.65rem; }
  .about-chip { flex: 1; padding: 0.65rem 0.75rem; }
  .about-desc { font-size: 0.9rem; margin-bottom: 0.9rem; }

  /* Features — 2 Column on Mobile */
  .features-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .feature-card { padding: 0.9rem 0.75rem; border-radius: var(--radius-md); }
  .feature-icon-svg { width: 34px; height: 34px; margin-bottom: 0.65rem; }
  .feature-title { font-size: 0.9rem; margin-bottom: 0.3rem; }
  .feature-desc { font-size: 0.78rem; line-height: 1.35; }

  /* Pricing Filter — Horizontal Scroll-Friendly */
  .filter-container { gap: 0.6rem; margin-bottom: 1.5rem; }
  .filter-row { gap: 0.4rem; }
  .filter-label { font-size: 0.72rem; }
  .filter-wrap { border-radius: var(--radius-md); padding: 2px; }
  .filter-btn { padding: 0.4rem 0.75rem; font-size: 0.78rem; }

  /* Format Cards — Single Column on Mobile */
  .format-comparison-grid { grid-template-columns: 1fr; gap: 0.5rem; margin-bottom: 1.5rem; }
  .format-info-card { padding: 0.85rem; display: flex; align-items: center; gap: 0.75rem; }
  .format-info-title { font-size: 0.9rem; margin-bottom: 0.1rem; }
  .format-info-desc { font-size: 0.78rem; margin: 0; }

  /* Pricing Cards — Single Column on Mobile */
  .pricing-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pricing-card { padding: 1.5rem 1.1rem; border-radius: var(--radius-md); }
  .recommended-sticker { border-radius: 0 var(--radius-md) 0 var(--radius-sm); }
  .plan-name { font-size: 1.15rem; }

  /* FAQ */
  .faq-question { padding: 0.9rem 1rem; font-size: 0.9rem; }
  .faq-answer { padding: 0 1rem; font-size: 0.87rem; }
  .faq-item.active .faq-answer { padding: 0 1rem 1rem; }

  /* Footer — Compact Single Column */
  .footer { padding: 36px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.75rem; }
  .footer-brand-desc { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 0.6rem; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  /* Modal — Full Screen Style on Mobile */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-card {
    max-height: 92vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: none;
  }
  .modal-card-sm { align-self: center; max-height: 90vh; border-radius: var(--radius-lg); margin: 0.5rem; }
  .modal-header { padding: 1rem 1.25rem; }
  .modal-title { font-size: 1.05rem; }
  .modal-body { padding: 1rem 1.25rem 1.5rem; }
  .reg-wizard-steps { padding: 0.4rem 0.5rem; gap: 0.25rem; overflow-x: auto; }
  .wizard-step { font-size: 0.72rem; }
  .wizard-step-title { display: none; }
  .wizard-step-title-mobile { display: inline; }
  .registration-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-right { margin-top: 0.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .level-quick-grid { grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
  .order-summary-box { border-radius: var(--radius-md); padding: 1.1rem; }
  .otp-boxes-grid { gap: 0.35rem; }
  .otp-digit-box { width: 40px; height: 50px; font-size: 1.35rem; }
  .success-card { padding: 1.5rem 1rem; }
}

/* ==========================================================================
   DEWAN TUTOR & PENGAJAR SECTION
   ========================================================================== */
.tutors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.tutor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tutor-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-glow);
}

.tutor-avatar-wrap {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  padding: 4px;
  background: var(--grad-primary);
  position: relative;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.tutor-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--bg-secondary);
}

.tutor-badge-pill {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--accent-secondary);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.tutor-card-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.tutor-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-secondary);
  margin-bottom: 0.85rem;
}

.tutor-card-bio {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;

  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  width: 100%;
}


/* ==========================================================================
   FLOATING LIVE CHAT SUPPORT WIDGET (CS & Konsultan)
   ========================================================================== */
.live-chat-widget-wrap {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 990;
  font-family: var(--font-main);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}

.chat-launcher-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.4rem;
  border-radius: 24px;
  background: var(--grad-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  transform-origin: bottom right;
}

.chat-launcher-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 38px rgba(236, 72, 153, 0.55);
}

.launcher-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-unread-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  border: 2px solid #fff;
  position: absolute;
  top: -6px;
  right: 4px;
  animation: bounce-badge 1s infinite alternate;
}

@keyframes bounce-badge {
  from { transform: translateY(0); }
  to { transform: translateY(-4px); }
}

/* Chat Messenger Box */
.chat-messenger-box {
  width: 380px;
  height: 560px;
  max-height: 82vh;
  background: var(--bg-modal);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUpFade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: absolute;
  bottom: 0;
  right: 0;
  transform-origin: bottom right;
}

.chat-messenger-box.closing {
  animation: slideDownFade 0.27s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
  pointer-events: none;
}

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.92);
    border-radius: 32px;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    border-radius: 20px;
  }
}

@keyframes slideDownFade {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    border-radius: 20px;
  }
  100% {
    opacity: 0;
    transform: translateY(24px) scale(0.92);
    border-radius: 32px;
  }
}

.chat-box-header {
  padding: 1.1rem 1.4rem;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.header-brand-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-brand-info .status-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.chat-box-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-chat-reset {
  background: var(--bg-primary);
  color: #ef4444;
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(239, 68, 68, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-chat-reset:hover {
  background: rgba(239, 68, 68, 0.1);
}

.btn-chat-close {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-chat-close:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

/* State A: Intake Pane */
.chat-intake-pane {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
}

.intake-welcome-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

/* State B: Active Room Pane */
.chat-room-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  overflow: hidden;
}

.chat-messages-log {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.visitor-bubble {
  max-width: 82%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
  position: relative;
  word-break: break-word;
}

.v-bubble-cs {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-bottom-left-radius: 2px;
  box-shadow: var(--shadow-sm);
}

.v-bubble-user {
  align-self: flex-end;
  background: var(--grad-primary);
  color: #ffffff;
  border-bottom-right-radius: 2px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.v-bubble-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  opacity: 0.8;
}

.chat-input-bar {
  padding: 0.9rem 1rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-visitor-input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.7rem 1.25rem;
  color: var(--text-primary);
  font-size: 0.88rem;
}

.chat-visitor-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.btn-send-visitor {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--grad-emerald);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-send-visitor:hover {
  transform: scale(1.08);
}

@media (max-width: 480px) {
  .live-chat-widget-wrap {
    bottom: 1rem;
    right: 1rem;
  }
  .chat-messenger-box {
    width: calc(100vw - 2rem);
    height: 520px;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
  }
}

/* Fluid Animation for CS Button */
@keyframes fluidSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  70% {
    opacity: 1;
    transform: translateY(-3px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fluid-cs-btn-box {
  animation: fluidSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  padding: 0.65rem 0.85rem;
  text-align: center;
  background: rgba(120, 40, 240, 0.08);
  border-top: 1px solid rgba(120, 40, 240, 0.18);
}

.btn-request-human-cs {
  background: var(--grad-primary);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.1rem;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 4px 14px rgba(120, 40, 240, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-request-human-cs:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(63, 10, 143, 0.45);
}

/* ==========================================================================
   ENHANCED PASSWORD MANAGEMENT & SECURITY STYLES
   ========================================================================== */

.modal-card-password {
  max-width: 520px;
  width: 100%;
  border-radius: var(--radius-lg, 18px);
  background: var(--bg-card, #131127);
  border: 1px solid rgba(120, 40, 240, 0.25);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 30px rgba(120, 40, 240, 0.15);
  overflow: hidden;
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.password-modal-header {
  padding: 1.5rem 1.75rem 1.25rem;
  background: linear-gradient(180deg, rgba(120, 40, 240, 0.12) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.password-shield-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #7828f0 0%, #4338ca 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(120, 40, 240, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.password-modal-body {
  padding: 1.4rem 1.75rem 1.6rem;
}

.password-field-group {
  margin-bottom: 1rem;
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-wrapper input.form-control {
  padding-right: 2.85rem !important;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.password-toggle-btn {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted, #94a3b8);
  padding: 0.35rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
}

.password-toggle-btn:hover {
  color: var(--accent-primary, #7828f0);
  background: rgba(120, 40, 240, 0.08);
}

/* Password Strength Animated Meter */
.pw-strength-meter-wrap {
  margin-top: 0.55rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
}

.pw-strength-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
  font-size: 0.8rem;
}

.pw-strength-badge {
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.18rem 0.65rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Animated multi-segment bar */
.pw-strength-bar-track {
  height: 6px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.pw-strength-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 3px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.pw-strength-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: shineMeter 2.5s infinite;
}

@keyframes shineMeter {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Password Rules Checklist */
.pw-rules-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 0.75rem;
  margin-top: 0.75rem;
}

.pw-rule-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--text-muted, #94a3b8);
  transition: all 0.25s ease;
}

.pw-rule-item.valid {
  color: var(--accent-emerald, #10b981);
  font-weight: 600;
}

.pw-rule-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  font-size: 0.65rem;
  flex-shrink: 0;
}

.pw-rule-item.valid .pw-rule-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.pw-rule-item:not(.valid) .pw-rule-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

@media (max-width: 540px) {
  .pw-rules-checklist {
    grid-template-columns: 1fr;
  }
}

/* =======================================================
   UNIVERSAL UNIFIED TABLE & ACTION BUTTONS (SYSTEM WIDE)
   ======================================================= */
.btn-tbl-edit,
.btn-action-edit,
.btn-edit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: #f5f3ff !important;
  color: #7c3aed !important;
  border: 1.5px solid #d8b4fe !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  padding: 0.38rem 0.8rem !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 2px rgba(124, 58, 237, 0.05) !important;
  text-decoration: none !important;
}

.btn-tbl-edit:hover,
.btn-action-edit:hover,
.btn-edit:hover {
  background: #ede9fe !important;
  border-color: #c084fc !important;
  color: #5b21b6 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(124, 58, 237, 0.15) !important;
}

.btn-tbl-delete,
.btn-tbl-danger,
.btn-action-delete,
.btn-delete,
.btn-tbl-hapus {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border: 1.5px solid #fecaca !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  padding: 0.38rem 0.8rem !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 2px rgba(239, 68, 68, 0.05) !important;
  text-decoration: none !important;
}

.btn-tbl-delete:hover,
.btn-tbl-danger:hover,
.btn-action-delete:hover,
.btn-delete:hover,
.btn-tbl-hapus:hover {
  background: #fee2e2 !important;
  border-color: #f87171 !important;
  color: #991b1b !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(239, 68, 68, 0.18) !important;
}

.btn-tbl-manage,
.btn-action-view,
.btn-tbl-detail,
.btn-detail {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: #f8fafc !important;
  color: #334155 !important;
  border: 1.5px solid #cbd5e1 !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  padding: 0.38rem 0.8rem !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  text-decoration: none !important;
}

.btn-tbl-manage:hover,
.btn-action-view:hover,
.btn-tbl-detail:hover,
.btn-detail:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #1e1b4b !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08) !important;
}

.btn-tbl-save,
.btn-action-save,
.btn-save {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: #ecfdf5 !important;
  color: #059669 !important;
  border: 1.5px solid #a7f3d0 !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  padding: 0.38rem 0.8rem !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 2px rgba(5, 150, 105, 0.05) !important;
  text-decoration: none !important;
}

.btn-tbl-save:hover,
.btn-action-save:hover,
.btn-save:hover {
  background: #d1fae5 !important;
  border-color: #6ee7b7 !important;
  color: #047857 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(5, 150, 105, 0.15) !important;
}

.btn-tbl-video {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: #eff6ff !important;
  color: #2563eb !important;
  border: 1.5px solid #bfdbfe !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  padding: 0.38rem 0.8rem !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.05) !important;
  text-decoration: none !important;
}

.btn-tbl-video:hover {
  background: #dbeafe !important;
  border-color: #93c5fd !important;
  color: #1d4ed8 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.15) !important;
}

.btn-tbl-toggle,
.btn-action-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: #f8fafc !important;
  color: #334155 !important;
  border: 1.5px solid #e2e8f0 !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  padding: 0.38rem 0.8rem !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.btn-tbl-toggle:hover,
.btn-action-toggle:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #1e1b4b !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Centralized Subtab Navigation System */
.admin-subtab-nav,
.sub-tab-nav {
  display: inline-flex !important;
  align-items: center !important;
  background: var(--bg-card) !important;
  border: 1.5px solid var(--border-color) !important;
  border-radius: 14px !important;
  padding: 5px !important;
  gap: 5px !important;
  margin-bottom: 1.5rem !important;
  box-shadow: var(--shadow-sm) !important;
  flex-wrap: wrap !important;
}

.admin-subtab-btn,
.sub-tab-btn,
.admin-siswa-subtab,
.class-stage-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 0.5rem 1.15rem !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  color: var(--text-secondary) !important;
  background: transparent !important;
  border: none !important;
  border-radius: 9px !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  transform: translateY(0);
}

.admin-subtab-btn:hover,
.sub-tab-btn:hover,
.admin-siswa-subtab:hover,
.class-stage-pill:hover {
  color: var(--accent-primary) !important;
  background: var(--bg-card-hover) !important;
}

.admin-subtab-btn.active,
.sub-tab-btn.active,
.admin-siswa-subtab.active,
.class-stage-pill.active {
  background: linear-gradient(135deg, #7828F0, #3F0A8F) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(120, 40, 240, 0.4) !important;
  transform: translateY(-1px);
}

/* Centered Action Button Grid */
.tbl-action-grid,
.action-btns {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  margin: 0 auto !important;
  width: 100% !important;
}

.tbl-action-grid > button,
.tbl-action-grid > a {
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

.admin-table th,
.data-table th {
  text-align: left !important;
  vertical-align: middle !important;
}

.admin-table th:first-child,
.admin-table td:first-child,
.data-table th:first-child,
.data-table td:first-child {
  padding-left: 1.5rem !important;
}

.admin-table th:last-child,
.admin-table td:last-child,
.data-table th:last-child,
.data-table td:last-child {
  text-align: center !important;
  padding-right: 1.5rem !important;
}

.subtab-badge,
.badge-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2px 7px !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  border-radius: 9999px !important;
  line-height: 1 !important;
  background: #e2e8f0 !important;
  color: #475569 !important;
  transition: all 0.18s ease !important;
}

.admin-subtab-btn.active .subtab-badge,
.admin-subtab-btn.active .badge-count,
.sub-tab-btn.active .subtab-badge,
.sub-tab-btn.active .badge-count,
.admin-siswa-subtab.active .subtab-badge,
.admin-siswa-subtab.active .badge-count {
  background: rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
}

.modal-close-btn {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  padding: 0 !important;
  border-radius: 8px !important;
  background: #f1f5f9 !important;
  color: #64748b !important;
  border: 1px solid #e2e8f0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
}

.modal-close-btn:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #dc2626 !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   FLUID MODERN AMBIENT BACKGROUND & FLOATING TOKENS (TASTE-SKILL)
   Non-intrusive, GPU-accelerated fluid atmospheric system
   ========================================================================== */
.ambient-animated-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-fluid-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.ambient-orb-1 {
  top: -80px;
  left: 10%;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(120, 40, 240, 0.22) 0%, rgba(120, 40, 240, 0) 70%);
  filter: blur(60px);
  animation: fluidFloatOrb1 22s ease-in-out infinite alternate;
}

.ambient-orb-2 {
  top: 38%;
  right: -60px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(99, 102, 241, 0) 70%);
  filter: blur(80px);
  animation: fluidFloatOrb2 28s ease-in-out infinite alternate;
}

.ambient-orb-3 {
  bottom: 8%;
  left: 2%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.16) 0%, rgba(168, 85, 247, 0) 70%);
  filter: blur(70px);
  animation: fluidFloatOrb3 25s ease-in-out infinite alternate;
}

.ambient-mesh-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(167, 139, 250, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 45%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 45%, transparent 85%);
  opacity: 0.65;
}

.ambient-floating-token {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(120, 40, 240, 0.16);
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 700;
  font-family: var(--font-mono);
  box-shadow: 0 8px 24px rgba(63, 10, 143, 0.08);
  pointer-events: none;
  z-index: 1;
  opacity: 0.88;
}

html[data-theme="dark"] .ambient-floating-token,
body[data-theme="dark"] .ambient-floating-token {
  background: rgba(24, 18, 48, 0.72);
  border-color: rgba(167, 139, 250, 0.22);
  color: #c084fc;
  box-shadow: 0 10px 28px rgba(15, 10, 30, 0.45);
}

.token-pos-1 { top: 18%; left: 3%; animation: gentleDrift1 9s ease-in-out infinite alternate; }
.token-pos-2 { top: 42%; right: 4%; animation: gentleDrift2 11s ease-in-out infinite alternate; }
.token-pos-3 { top: 68%; left: 4%; animation: gentleDrift1 10s ease-in-out infinite alternate; }
.token-pos-4 { top: 88%; right: 5%; animation: gentleDrift2 12s ease-in-out infinite alternate; }

@media (max-width: 1024px) {
  .ambient-floating-token { display: none; }
}

@keyframes fluidFloatOrb1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(90px, 110px, 0) scale(1.15); }
  100% { transform: translate3d(-60px, 70px, 0) scale(0.92); }
}

@keyframes fluidFloatOrb2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-110px, -90px, 0) scale(1.1); }
  100% { transform: translate3d(50px, -50px, 0) scale(1.04); }
}

@keyframes fluidFloatOrb3 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(70px, -80px, 0) scale(1.12); }
  100% { transform: translate3d(-80px, -40px, 0) scale(0.94); }
}

@keyframes gentleDrift1 {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(0, -16px, 0) rotate(1.5deg); }
}

@keyframes gentleDrift2 {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(0, -18px, 0) rotate(-1.5deg); }
}

/* ==========================================================================
   ONYX LINGO ANIMATED OTP DIGIT SLOTS (InputOTP Luxury Pattern)
   ========================================================================== */
.onyx-otp-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0 1.25rem 0;
  position: relative;
  width: 100%;
}

.onyx-otp-slots-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  cursor: text;
  padding: 4px;
}

.onyx-otp-slot {
  position: relative;
  width: 44px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.45rem;
  font-weight: 800;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.onyx-otp-slot.has-value {
  border-color: #7828F0;
  background: #faf5ff;
  color: #7828F0;
  animation: otpDigitPop 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.onyx-otp-slot.is-active {
  border-color: #7828F0 !important;
  box-shadow: 0 0 0 3.5px rgba(120, 40, 240, 0.18), 0 4px 12px rgba(120, 40, 240, 0.12) !important;
  transform: translateY(-2px);
  background: #ffffff;
}

/* Caret blink animation */
@keyframes otpCaretBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.otp-caret {
  position: absolute;
  width: 2px;
  height: 22px;
  background: #7828F0;
  border-radius: 1px;
  animation: otpCaretBlink 1s infinite;
  pointer-events: none;
}

@keyframes otpDigitPop {
  0% { transform: scale(0.85); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* Dark Theme variant for Admin Portal */
#adminLoginOverlay .onyx-otp-slot,
html[data-theme="dark"] #adminLoginOverlay .onyx-otp-slot {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1.5px solid rgba(167, 139, 250, 0.25) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

#adminLoginOverlay .onyx-otp-slot.has-value {
  border-color: #c084fc !important;
  background: rgba(120, 40, 240, 0.18) !important;
  color: #ffffff !important;
}

#adminLoginOverlay .onyx-otp-slot.is-active {
  border-color: #a855f7 !important;
  box-shadow: 0 0 0 3.5px rgba(168, 85, 247, 0.3), 0 0 20px rgba(120, 40, 240, 0.4) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

#adminLoginOverlay .otp-caret {
  background: #c084fc !important;
}

/* Hidden Real Input capturing keystrokes & paste */
.onyx-otp-real-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
  caret-color: transparent;
}

.onyx-otp-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(120, 40, 240, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7828F0;
  margin: 0 auto 0.85rem auto;
  border: 1px solid rgba(120, 40, 240, 0.18);
  box-shadow: 0 4px 12px rgba(120, 40, 240, 0.08);
}

#adminLoginOverlay .onyx-otp-badge-icon {
  background: rgba(168, 85, 247, 0.15) !important;
  color: #c084fc !important;
  border-color: rgba(168, 85, 247, 0.3) !important;
  box-shadow: 0 4px 16px rgba(120, 40, 240, 0.25) !important;
}

/* ==========================================================================
   SESSION TIMEOUT BOTTOM SHEET (INACTIVITY AUTO LOGOUT & SLIDE-UP DRAWER)
   Mobile-First, Swipeable Bottom Sheet with Onyx Glassmorphism Aesthetics
   ========================================================================== */
.onyx-timeout-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(6, 4, 18, 0.78) !important;
  backdrop-filter: blur(12px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
  z-index: 9999999 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.38s !important;
}

.onyx-timeout-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.onyx-timeout-sheet {
  width: 100% !important;
  max-width: 540px !important;
  margin: 0 auto !important;
  background: linear-gradient(180deg, rgba(28, 20, 58, 0.98) 0%, rgba(13, 9, 30, 0.99) 100%) !important;
  border: 1.5px solid rgba(168, 85, 247, 0.38) !important;
  border-bottom: none !important;
  border-radius: 28px 28px 0 0 !important;
  padding: 1rem 1.75rem 2.25rem 1.75rem !important;
  box-shadow: 
    0 -14px 50px rgba(120, 40, 240, 0.35),
    0 -2px 10px rgba(0, 0, 0, 0.6),
    0 1px 0 rgba(255, 255, 255, 0.12) inset !important;
  transform: translateY(100%) !important;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  touch-action: pan-y !important;
  user-select: none !important;
}

.onyx-timeout-backdrop.active .onyx-timeout-sheet {
  transform: translateY(0%) !important;
}

/* Drag / Swipe pill handle */
.onyx-timeout-handle-wrap {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  padding: 0.25rem 0 1rem 0 !important;
  cursor: grab !important;
}

.onyx-timeout-drag-pill {
  width: 46px !important;
  height: 5px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.32) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.2s ease !important;
}

.onyx-timeout-handle-wrap:hover .onyx-timeout-drag-pill,
.onyx-timeout-handle-wrap:active .onyx-timeout-drag-pill {
  background: #c084fc !important;
  transform: scaleX(1.2) !important;
}

/* Header & Icon */
.onyx-timeout-header {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 1.25rem !important;
}

.onyx-timeout-icon-badge {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: rgba(234, 179, 8, 0.15) !important;
  border: 1.5px solid rgba(234, 179, 8, 0.45) !important;
  color: #facc15 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 0 24px rgba(234, 179, 8, 0.25) !important;
  animation: onyxPulseWarn 2.5s infinite ease-in-out !important;
}

@keyframes onyxPulseWarn {
  0%, 100% {
    box-shadow: 0 0 16px rgba(234, 179, 8, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 28px rgba(234, 179, 8, 0.45);
    transform: scale(1.05);
  }
}

.onyx-timeout-title-wrap {
  text-align: left !important;
}

.onyx-timeout-title {
  margin: 0 0 0.25rem 0 !important;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
}

.onyx-timeout-desc {
  margin: 0 !important;
  font-size: 0.86rem !important;
  color: #cbd5e1 !important;
  line-height: 1.45 !important;
}

/* User Account Info Box */
.onyx-timeout-user-box {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  padding: 0.85rem 1.15rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 1.4rem !important;
  gap: 0.75rem !important;
}

.onyx-timeout-user-left {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  overflow: hidden !important;
}

.onyx-timeout-avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #7828F0 0%, #9333ea 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 10px rgba(120, 40, 240, 0.35) !important;
}

.onyx-timeout-user-details {
  text-align: left !important;
  overflow: hidden !important;
}

.onyx-timeout-name {
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.onyx-timeout-role-pill {
  font-size: 0.75rem !important;
  color: #c084fc !important;
  font-weight: 600 !important;
}

.onyx-timeout-badge-expired {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: rgba(239, 68, 68, 0.15) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  padding: 0.25rem 0.65rem !important;
  border-radius: 8px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* Action Buttons */
.onyx-timeout-actions {
  display: flex !important;
  gap: 0.85rem !important;
  width: 100% !important;
}

.onyx-timeout-btn-cancel {
  flex: 1 !important;
  min-height: 46px !important;
  padding: 0.65rem 1.25rem !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #e2e8f0 !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.onyx-timeout-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.onyx-timeout-btn-login {
  flex: 1.35 !important;
  min-height: 46px !important;
  padding: 0.65rem 1.25rem !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #7828F0 0%, #9333ea 50%, #c026d3 100%) !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-shadow: 0 4px 18px rgba(120, 40, 240, 0.45) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.onyx-timeout-btn-login:hover {
  filter: brightness(1.1) !important;
  box-shadow: 0 6px 24px rgba(120, 40, 240, 0.6) !important;
  transform: translateY(-1px) !important;
}



