/* =============================================
   VIDESA ONLINE — Custom CSS (Bootstrap 5 Override)
   Primary Brand: #4361EE
   Fonts: Syne (display) + DM Sans (body)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── Root Variables ── */
:root {
  --vo-primary:        #4361EE;
  --vo-primary-dark:   #2D47C9;
  --vo-primary-light:  #7B93F5;
  --vo-primary-xlight: #EEF1FD;
  --vo-accent:         #3A0CA3;
  --vo-secondary:      #4CC9F0;
  --vo-success:        #4CAF50;
  --vo-warning:        #FFC107;
  --vo-danger:         #EF233C;
  --vo-bg:             #F4F6FF;
  --vo-surface:        #FFFFFF;
  --vo-text:           #1A1A2E;
  --vo-muted:          #6C757D;
  --vo-border:         #E2E8F8;
  --vo-shadow-sm:      0 2px 10px rgba(67,97,238,0.08);
  --vo-shadow-md:      0 8px 32px rgba(67,97,238,0.13);
  --vo-shadow-lg:      0 20px 60px rgba(67,97,238,0.18);
  --vo-radius:         12px;
  --vo-radius-lg:      20px;
  --vo-radius-xl:      32px;
  --vo-font-display:   'Sora', sans-serif;
  --vo-font-body:      'DM Sans', sans-serif;
  --vo-transition:     0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ── Bootstrap Overrides ── */
body {
  font-family: var(--vo-font-body);
  background-color: var(--vo-bg);
  color: var(--vo-text);
}

h1, h2, h3, h4, h5, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--vo-font-display);
}

.btn {
  font-family: var(--vo-font-body);
  font-weight: 600;
  border-radius: 100px;
  transition: var(--vo-transition);
}

.btn-primary {
  background-color: var(--vo-primary);
  border-color: var(--vo-primary);
  box-shadow: 0 4px 18px rgba(67,97,238,0.32);
  padding: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--vo-primary-dark);
  border-color: var(--vo-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(67,97,238,0.42);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline-primary {
  color: var(--vo-primary);
  border-color: var(--vo-primary);
  padding: 10px;
}
.btn-outline-primary:hover {
  background-color: var(--vo-primary);
  border-color: var(--vo-primary);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--vo-primary);
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding: 10px;
}
.btn-light:hover {
  background: #f0f3ff;
  color: var(--vo-primary-dark);
  transform: translateY(-2px);
}

.card {
  border: 1px solid var(--vo-border);
  border-radius: var(--vo-radius);
  box-shadow: var(--vo-shadow-sm);
  transition: var(--vo-transition);
}
.card:hover { box-shadow: var(--vo-shadow-md); }

.form-control, .form-select {
  border-color: var(--vo-border);
  border-radius: var(--vo-radius);
  font-family: var(--vo-font-body);
  padding: 0.72rem 1rem;
  font-size: 0.92rem;
  color: var(--vo-text);
  transition: var(--vo-transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--vo-primary);
  box-shadow: 0 0 0 4px rgba(67,97,238,0.12);
}

.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--vo-text);
  margin-bottom: 6px;
}

.badge {
  font-family: var(--vo-font-body);
  font-weight: 600;
  border-radius: 100px;
}

.nav-pills .nav-link {
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--vo-muted);
  transition: var(--vo-transition);
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: var(--vo-primary);
  color: #fff;
  box-shadow: 0 3px 12px rgba(67,97,238,0.3);
}

/* ── Utility Classes ── */
.text-primary    { color: var(--vo-primary) !important; }
.bg-primary      { background-color: var(--vo-primary) !important; }
.border-primary  { border-color: var(--vo-primary) !important; }
.bg-primary-xlight { background-color: var(--vo-primary-xlight) !important; }

.font-display    { font-family: var(--vo-font-display); }
.shadow-vo-sm    { box-shadow: var(--vo-shadow-sm) !important; }
.shadow-vo-md    { box-shadow: var(--vo-shadow-md) !important; }
.shadow-vo-lg    { box-shadow: var(--vo-shadow-lg) !important; }
.rounded-vo      { border-radius: var(--vo-radius) !important; }
.rounded-vo-lg   { border-radius: var(--vo-radius-lg) !important; }
.rounded-vo-xl   { border-radius: var(--vo-radius-xl) !important; }

/* ── Section Tag ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vo-primary);
  background: var(--vo-primary-xlight);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--vo-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ════════════════════════════════
   NAVBAR
   ════════════════════════════════ */
.vo-navbar {
  transition: var(--vo-transition);
  padding-top: 12px;
  padding-bottom: 12px;
}
.vo-navbar.scrolled {
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(18px);
  box-shadow: var(--vo-shadow-sm);
}

.vo-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--vo-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--vo-font-display);
  font-weight: 800;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}
.vo-logo-name {
  font-family: var(--vo-font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--vo-text);
  line-height: 1.1;
}
.vo-logo-sub {
  font-size: 0.68rem;
  color: var(--vo-muted);
  letter-spacing: 0.03em;
}

.navbar-nav .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--vo-muted) !important;
  padding: 6px 2px !important;
  position: relative;
  transition: color var(--vo-transition);
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--vo-primary);
  border-radius: 2px;
  transition: width var(--vo-transition);
}
.navbar-nav .nav-link:hover { color: var(--vo-primary) !important; }
.navbar-nav .nav-link:hover::after { width: 100%; }

/* ════════════════════════════════
   HERO
   ════════════════════════════════ */
.vo-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(150deg, #ECF0FF 0%, var(--vo-bg) 50%, #E8F4FF 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.vo-hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -180px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(67,97,238,0.09) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.vo-hero::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -120px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(76,201,240,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(67,97,238,0.1);
  border: 1px solid rgba(67,97,238,0.2);
  color: var(--vo-primary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-badge .pulse-dot {
  width: 7px; height: 7px;
  background: var(--vo-secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(1.4); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--vo-text);
  margin-bottom: 20px;
}
.hero-title .highlight {
  color: var(--vo-primary);
  position: relative;
}
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 0; right: 0;
  height: 8px;
  background: rgba(67,97,238,0.12);
  border-radius: 4px;
  z-index: -1;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--vo-muted);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 36px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--vo-border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--vo-muted);
  margin-top: 24px;
  backdrop-filter: blur(8px);
}
.trust-avatars { display: flex; }
.trust-avatars span {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--vo-primary-xlight);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--vo-primary);
  margin-left: -8px;
}
.trust-avatars span:first-child { margin-left: 0; }

/* Hero Card */
.hero-card {
  background: #fff;
  border-radius: var(--vo-radius-lg);
  padding: 28px;
  box-shadow: var(--vo-shadow-lg);
  position: relative;
  z-index: 2;
  animation: fadeInRight 0.8s ease 0.2s both;
}

.hero-class-thumb {
  height: 130px;
  background: linear-gradient(135deg, var(--vo-primary), var(--vo-accent));
  border-radius: var(--vo-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.hero-class-thumb::before {
  content: '';
  position: absolute;
  top:-40%; right:-20%;
  width: 180px; height: 180px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.play-circle {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-chip {
  position: absolute;
  background: #fff;
  border-radius: var(--vo-radius);
  padding: 10px 14px;
  box-shadow: var(--vo-shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 4;
  animation: floatY 4s ease-in-out infinite;
}
.float-chip-1 { top: -16px; right: -20px; animation-delay: 0s; }
.float-chip-2 { bottom: 30px; left: -28px; animation-delay: 2s; }

@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.float-chip-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.float-chip-text { line-height: 1.2; }
.float-chip-text small { font-size: 0.7rem; color: var(--vo-muted); display: block; }
.float-chip-text strong { font-size: 0.85rem; color: var(--vo-text); }

/* ════════════════════════════════
   STATS BAR
   ════════════════════════════════ */
.stats-bar {
  background: var(--vo-primary);
  border-radius: var(--vo-radius-lg);
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top:-60%; right:-5%;
  width: 350px; height: 350px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--vo-font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); }
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
  margin: 6px 0;
}

/* ════════════════════════════════
   FEATURE CARDS
   ════════════════════════════════ */
.feature-card {
  background: #fff;
  border-radius: var(--vo-radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--vo-border);
  height: 100%;
  transition: var(--vo-transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--vo-primary), var(--vo-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--vo-transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--vo-shadow-md);
  border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 52px; height: 52px;
  background: var(--vo-primary-xlight);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  transition: var(--vo-transition);
}
.feature-card:hover .feature-icon {
  background: var(--vo-primary);
  transform: scale(1.08);
}
.feature-card:hover .feature-icon span { filter: brightness(0) invert(1); }

.feature-title {
  font-family: var(--vo-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--vo-text);
}
.feature-desc { font-size: 0.88rem; color: var(--vo-muted); line-height: 1.7; }

/* ════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════ */
.vo-dark-section {
  background: linear-gradient(140deg, #1A1A2E 0%, #16213E 100%);
  position: relative;
  overflow: hidden;
}
.vo-dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%234361EE' fill-opacity='0.06'/%3E%3C/g%3E%3C/svg%3E");
}

.step-circle-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(67,97,238,0.12);
  border: 2px solid rgba(67,97,238,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--vo-font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--vo-primary-light);
  position: relative;
  z-index: 1;
  transition: var(--vo-transition);
}
.step-circle-wrap::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(67,97,238,0.18);
}

.hiw-step:hover .step-circle-wrap {
  background: var(--vo-primary);
  color: #fff;
  transform: scale(1.08);
  border-color: var(--vo-primary);
}

/* ════════════════════════════════
   SUBJECTS GRID
   ════════════════════════════════ */
.subject-card {
  background: #fff;
  border: 1px solid var(--vo-border);
  border-radius: var(--vo-radius);
  padding: 24px 18px;
  text-align: center;
  transition: var(--vo-transition);
  cursor: pointer;
  height: 100%;
}
.subject-card:hover {
  border-color: var(--vo-primary);
  box-shadow: var(--vo-shadow-md);
  transform: translateY(-4px);
}
.subject-emoji { font-size: 2rem; margin-bottom: 10px; }
.subject-name {
  font-family: var(--vo-font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--vo-text);
  margin-bottom: 4px;
}
.subject-grade { font-size: 0.78rem; color: var(--vo-muted); }

/* ════════════════════════════════
   TEACHER CARDS
   ════════════════════════════════ */
.teacher-card {
  background: #fff;
  border: 1px solid var(--vo-border);
  border-radius: var(--vo-radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--vo-transition);
}
.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--vo-shadow-md);
}
.teacher-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--vo-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 14px;
  position: relative;
}
.teacher-avatar::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(67,97,238,0.25);
}
.teacher-name {
  font-family: var(--vo-font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--vo-text);
  margin-bottom: 4px;
}
.teacher-subject {
  font-size: 0.83rem;
  color: var(--vo-primary);
  font-weight: 600;
}
.teacher-stat-num {
  font-family: var(--vo-font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--vo-text);
}
.teacher-stat-lbl { font-size: 0.73rem; color: var(--vo-muted); }

/* ════════════════════════════════
   CTA SECTION
   ════════════════════════════════ */
.vo-cta {
  background: linear-gradient(135deg, var(--vo-primary) 0%, var(--vo-accent) 100%);
  border-radius: var(--vo-radius-xl);
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.vo-cta::before {
  content: '';
  position: absolute;
  top:-100px; right:-100px;
  width: 380px; height: 380px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.vo-cta::after {
  content: '';
  position: absolute;
  bottom:-80px; left:-80px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.vo-cta h2, .vo-cta p { position: relative; z-index: 1; }
.vo-cta h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 12px; }
.vo-cta p  { color: rgba(255,255,255,0.72); font-size: 1rem; margin-bottom: 36px; }

/* ════════════════════════════════
   LIVE BADGE
   ════════════════════════════════ */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239,35,60,0.12);
  color: var(--vo-danger);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.live-badge::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--vo-danger);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* ════════════════════════════════
   FOOTER
   ════════════════════════════════ */
.vo-footer {
  background: var(--vo-text);
  color: rgba(255,255,255,0.55);
}
.vo-footer h6 {
  font-family: var(--vo-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-link {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--vo-transition);
  display: block;
  margin-bottom: 8px;
}
.footer-link:hover { color: var(--vo-primary-light); }
.footer-divider { border-color: rgba(255,255,255,0.08) !important; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ════════════════════════════════
   AUTH PAGES
   ════════════════════════════════ */
.auth-layout { min-height: 100vh; display: flex; }

.auth-sidebar {
  width: 420px;
  min-width: 420px;
  background: linear-gradient(145deg, var(--vo-primary) 0%, var(--vo-accent) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
}
.auth-sidebar::before {
  content: '';
  position: absolute;
  top:-100px; right:-100px;
  width:380px; height:380px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.auth-sidebar::after {
  content: '';
  position: absolute;
  bottom:-80px; left:60px;
  width:280px; height:280px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.auth-sidebar-logo-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--vo-font-display);
  font-weight: 800;
  color: #fff;
  font-size: 1.05rem;
}
.auth-sidebar-brand-name {
  font-family: var(--vo-font-display);
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.1;
}
.auth-sidebar-brand-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
}

.auth-sidebar h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.auth-sidebar p {
  color: rgba(255,255,255,0.62);
  font-size: 0.92rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.auth-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.auth-feature-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.auth-feature-title { font-size: 0.88rem; font-weight: 600; color: #fff; display: block; }
.auth-feature-sub   { font-size: 0.76rem; color: rgba(255,255,255,0.5); }

.auth-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 64px;
  overflow-y: auto;
}
.auth-content-inner { max-width: 460px; width: 100%; }

.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vo-muted);
  text-decoration: none;
  transition: color var(--vo-transition);
  margin-bottom: 36px;
}
.auth-back-link:hover { color: var(--vo-primary); }

.auth-heading {
  font-family: var(--vo-font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--vo-text);
  margin-bottom: 6px;
}
.auth-subtext { font-size: 0.9rem; color: var(--vo-muted); margin-bottom: 28px; line-height: 1.6; }

/* Role tabs for login */
.role-tab-group {
  background: var(--vo-primary-xlight);
  border-radius: 10px;
  padding: 5px;
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
}
.role-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 7px;
  padding: 9px 8px;
  font-family: var(--vo-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--vo-muted);
  cursor: pointer;
  transition: var(--vo-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.role-tab-btn:hover { color: var(--vo-primary); }
.role-tab-btn.active {
  background: var(--vo-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(67,97,238,0.3);
}

/* Input icon wrapper */
.input-icon-wrap { position: relative; }
.input-icon-wrap .bi {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--vo-muted);
  font-size: 1rem;
  pointer-events: none;
}
.input-icon-wrap .form-control,
.input-icon-wrap .form-select { 
  padding-left: 40px; 
padding-right: 45px; }

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--vo-muted);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  width: 36px;
  height: 36px;
  pointer-events: auto;
  z-index: 10;
}

.toggle-password:hover {
  color: var(--vo-primary);
}

/* Step indicator for register */
.step-indicator {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}
.step-node { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; position: relative; }
.step-node:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--vo-border);
  z-index: 0;
  transition: background var(--vo-transition);
}
.step-node.done:not(:last-child)::after { background: var(--vo-primary); }
.step-bubble {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--vo-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--vo-muted);
  position: relative;
  z-index: 1;
  transition: var(--vo-transition);
}
.step-node.active .step-bubble {
  background: var(--vo-primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(67,97,238,0.15);
}
.step-node.done .step-bubble {
  background: var(--vo-primary);
  color: #fff;
}
.step-node-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--vo-muted);
  white-space: nowrap;
}
.step-node.active .step-node-label,
.step-node.done  .step-node-label { color: var(--vo-primary); }

/* Step panels */
.step-panel { display: none; animation: stepIn 0.3s ease; }
.step-panel.active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Info alert styled */
.vo-info-alert {
  background: var(--vo-primary-xlight);
  border: 1px solid rgba(67,97,238,0.15);
  border-radius: var(--vo-radius);
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--vo-primary-dark);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Password strength */
.strength-bars { display: flex; gap: 4px; height: 3px; margin-top: 7px; }
.strength-bar { flex: 1; border-radius: 3px; background: var(--vo-border); transition: background var(--vo-transition); }
.strength-bar.weak   { background: var(--vo-danger); }
.strength-bar.medium { background: var(--vo-warning); }
.strength-bar.strong { background: var(--vo-success); }
.strength-text { font-size: 0.75rem; color: var(--vo-muted); margin-top: 4px; }

/* Success screen */
.auth-success { display: none; text-align: center; padding: 40px 0; }
.success-icon-circle {
  width: 80px; height: 80px;
  background: rgba(76,175,80,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}
.auth-success h2 { font-family: var(--vo-font-display); font-weight: 800; font-size: 1.6rem; margin-bottom: 10px; color: var(--vo-text); }
.auth-success p  { font-size: 0.9rem; color: var(--vo-muted); max-width: 340px; margin: 0 auto 28px; line-height: 1.7; }

/* App info box */
.app-info-box {
  background: #F8F9FF;
  border: 1px solid var(--vo-border);
  border-radius: var(--vo-radius);
  padding: 14px 16px;
  margin-top: 20px;
}
.app-info-box p { font-size: 0.8rem; color: var(--vo-muted); margin: 0; line-height: 1.7; }
.app-info-box a { color: var(--vo-primary); font-weight: 600; text-decoration: none; }

/* ════════════════════════════════
   ANIMATIONS
   ════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}

.anim-up-1 { animation: fadeInUp 0.6s ease 0.1s both; }
.anim-up-2 { animation: fadeInUp 0.6s ease 0.2s both; }
.anim-up-3 { animation: fadeInUp 0.6s ease 0.3s both; }
.anim-up-4 { animation: fadeInUp 0.6s ease 0.4s both; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════
   RESPONSIVE
   ════════════════════════════════ */
@media (max-width: 991px) {
  .auth-sidebar { display: none; }
  .auth-content { padding: 40px 32px; justify-content: flex-start; padding-top: 48px; }
  .vo-hero { padding: 100px 0 60px; }
  .hero-card, .float-chip { display: none; }
  .vo-cta { padding: 56px 28px; }
}

@media (max-width: 767px) {
  .stats-bar { padding: 28px 20px; }
  .stat-divider { display: none; }
  .auth-content { padding: 32px 20px; }
}

@media (max-width: 575px) {
  .vo-cta { border-radius: var(--vo-radius-lg); }
  .auth-content-inner { max-width: 100%; }
}
