/* Customer UI v2 — dark purple theme (all pages) */
:root {
  --v2-purple: #7c5cff;
  --v2-purple-light: #b794ff;
  --v2-bg-deep: #0d0818;
  --v2-surface: rgba(255, 255, 255, 0.08);
  --v2-border: rgba(255, 255, 255, 0.12);
  --v2-glow: rgba(124, 92, 255, 0.45);
}

body.customer-v2 {
  background:
    radial-gradient(900px 500px at 85% 95%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(700px 400px at 10% 0%, rgba(91, 77, 158, 0.25), transparent 55%),
    linear-gradient(165deg, #1a1033 0%, #120a24 45%, #0d0818 100%) !important;
  background-attachment: fixed !important;
  color: #f4f0ff !important;
  min-height: 100vh;
  height: auto !important;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Ambient floating orbs — desktop only (mobile par band = fast load) */
@media (min-width: 769px) {
  body.customer-v2::before,
  body.customer-v2::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    animation: v2-float 18s ease-in-out infinite alternate;
  }

  body.customer-v2::before {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -80px;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.35), transparent 70%);
  }

  body.customer-v2::after {
    width: 360px;
    height: 360px;
    bottom: 10%;
    right: -60px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.18), transparent 70%);
    animation-delay: -6s;
    animation-duration: 22s;
  }
}

@keyframes v2-float {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, -18px) scale(1.08); }
}

body.customer-v2 #appHeader.glass {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 0;
  border-radius: 0 0 18px 18px !important;
  background: linear-gradient(135deg, rgba(91, 77, 158, 0.92) 0%, rgba(61, 50, 120, 0.95) 55%, rgba(45, 35, 100, 0.97) 100%) !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

body.customer-v2 #appHeader .h-wrap {
  margin-top: 0;
  margin-bottom: 0;
}

/* Header glow overlay band — buttons zyada clear dikhen */
body.customer-v2 #appHeader.glass::before {
  display: none !important;
}

/* Nav chips — high contrast on purple header */
body.customer-v2 #appHeader .chip {
  font-weight: 800 !important;
  text-shadow: none !important;
}

body.customer-v2 #appHeader .chip.secondary {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

body.customer-v2 #appHeader .chip.secondary:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
}

/* Premium / non-secondary chip — gold accent, clearly visible */
body.customer-v2 #appHeader .chip:not(.secondary) {
  background: linear-gradient(135deg, #ffc857, #ff9f43) !important;
  color: #1a1033 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 6px 18px rgba(255, 159, 67, 0.45) !important;
}

body.customer-v2 #appHeader .chip:not(.secondary):hover {
  filter: brightness(1.06);
}

/* Active page — white pill, purple text (purple-on-purple nahi) */
body.customer-v2 #appHeader .chip.active {
  background: #ffffff !important;
  color: #4a3d8a !important;
  border: 1.5px solid #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28) !important;
  outline: none !important;
}

body.customer-v2 #appHeader .chip.active:hover {
  background: #f5f0ff !important;
}

body.customer-v2 #appHeader .h-title .welcome {
  color: #fff !important;
  font-weight: 700 !important;
}

body.customer-v2 main,
body.customer-v2 .container,
body.customer-v2 .page {
  position: relative;
  z-index: 1;
}

body.customer-v2 .muted,
body.customer-v2 .subtle,
body.customer-v2 .small {
  color: #c4b8e8 !important;
}

body.customer-v2 h1,
body.customer-v2 h2,
body.customer-v2 h3,
body.customer-v2 .title,
body.customer-v2 .hero-title {
  color: #fff !important;
}

/* Index / Home */
body.customer-v2 .hero {
  padding: 56px 0 40px;
  position: relative;
}

body.customer-v2 .hero-deco-top {
  position: fixed;
  left: -40px;
  top: 80px;
  width: min(320px, 50vw);
  height: min(320px, 50vw);
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.4), transparent 68%);
}

body.customer-v2 .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #e8deff;
  background: rgba(124, 92, 255, 0.18);
  border: 1px solid rgba(124, 92, 255, 0.35);
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.2);
  margin-bottom: 4px;
}

body.customer-v2 .hero-title {
  background: linear-gradient(135deg, #fff 0%, #e8deff 45%, #c4b0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px rgba(124, 92, 255, 0.35));
}

body.customer-v2 .gradient-text {
  background: linear-gradient(135deg, #fff, #b794ff, #7c5cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.customer-v2 .hero-subtitle {
  color: #d4c4ff !important;
  text-shadow: 0 2px 16px rgba(124, 92, 255, 0.35);
  font-style: italic;
}

body.customer-v2 .hero-copy {
  color: #c4b8e8 !important;
}

body.customer-v2 .hero-copy .link {
  color: #b794ff !important;
}

body.customer-v2 .exam-ticker {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.customer-v2 .ticker-track span {
  color: #f0ebff !important;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.35), rgba(91, 77, 158, 0.5)) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

body.customer-v2 .about {
  padding: 32px 0 64px;
}

body.customer-v2 .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

body.customer-v2 .feature-card {
  padding: 20px 18px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.customer-v2 .feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

body.customer-v2 .feature-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

body.customer-v2 .feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
}

body.customer-v2 .feature-card p {
  margin: 0;
  color: #c4b8e8 !important;
  font-size: 14px;
  line-height: 1.55;
}

body.customer-v2 .about-points {
  display: none;
}

body.customer-v2 .about h2 {
  text-align: center;
  margin-bottom: 8px;
  font-size: clamp(22px, 3vw, 30px);
}

body.customer-v2 .stat {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 20px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.customer-v2 .stat:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

body.customer-v2 .stat-number {
  color: #fff !important;
  font-size: clamp(28px, 4vw, 36px);
  background: linear-gradient(135deg, #fff, #c4b0ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.customer-v2 .stat-label {
  color: #b8aad8 !important;
}

/* Buttons — clear, high contrast (override premium.css / auth.css orange) */
body.customer-v2 .btn {
  background: linear-gradient(135deg, #7c5cff, #9a7bff) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 22px rgba(124, 92, 255, 0.4) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

body.customer-v2 .btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 28px rgba(124, 92, 255, 0.5) !important;
}

body.customer-v2 .btn.primary,
body.customer-v2 .btn.hero-cta-main {
  background: linear-gradient(135deg, #7c5cff, #9a7bff) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 10px 28px rgba(124, 92, 255, 0.5) !important;
}

body.customer-v2 .btn.ghost,
body.customer-v2 .btn.soft,
body.customer-v2 .btn.secondary {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: none !important;
}

body.customer-v2 .btn.ghost:hover,
body.customer-v2 .btn.soft:hover,
body.customer-v2 .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

/* Premium page — Choose Plan buttons */
body.customer-v2 .cta .btn,
body.customer-v2 .grid .card .btn {
  background: linear-gradient(135deg, #7c5cff, #9a7bff) !important;
  color: #ffffff !important;
  border: none !important;
}

/* Cards (profile, help, premium, checkout wrapper) */
body.customer-v2 .card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35) !important;
  color: #f4f0ff !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.customer-v2 .card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 92, 255, 0.3) !important;
}

body.customer-v2 .grid .card.featured {
  border-color: rgba(124, 92, 255, 0.5) !important;
  box-shadow: 0 20px 48px rgba(124, 92, 255, 0.25), 0 14px 32px rgba(0, 0, 0, 0.35) !important;
  position: relative;
}

body.customer-v2 .grid .card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.6), rgba(52, 211, 153, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

body.customer-v2 .card h3,
body.customer-v2 .card .price.amount {
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: unset !important;
}

body.customer-v2 .notice {
  color: #d4c4ff !important;
  text-align: center;
  font-weight: 600;
  margin: 16px 0;
}

/* Auth */
body.customer-v2 .auth-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

body.customer-v2 .auth-side.primary {
  background: linear-gradient(135deg, #7c5cff, #5b4d9e) !important;
  color: #fff !important;
}

body.customer-v2 .auth-title,
body.customer-v2 .auth-subtitle {
  color: #fff !important;
}

body.customer-v2 .auth-form input {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}

body.customer-v2 .auth-form input::placeholder {
  color: #9b8fc4;
}

body.customer-v2 .auth-form .btn {
  background: linear-gradient(135deg, #7c5cff, #9a7bff) !important;
  color: #fff !important;
}

/* Premium plans */
body.customer-v2 .grid .card .badge {
  background: linear-gradient(135deg, #7c5cff, #9a7bff);
  color: #fff;
}

body.customer-v2 .grid .card .features {
  color: #d8cff5 !important;
}

body.customer-v2 .grid .card .price.duration {
  color: #b8aad8 !important;
}

/* Profile */
body.customer-v2 .kpi {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

body.customer-v2 .kpi .num {
  color: #fff !important;
}

body.customer-v2 .avatar {
  background: linear-gradient(135deg, #7c5cff, #5b4d9e) !important;
  color: #fff !important;
}

body.customer-v2 table thead th {
  color: #d4c4ff !important;
}

body.customer-v2 table tbody td {
  color: #f0ebff !important;
}

/* Help */
body.customer-v2 .help-card a {
  color: #b794ff !important;
}

/* Page hero (exams, sets) */
body.customer-v2 .page-hero {
  text-align: center;
  padding: 20px 16px 8px;
  max-width: 720px;
  margin: 0 auto 16px;
}

body.customer-v2 .page-hero h1,
body.customer-v2 .exams-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 900;
  background: linear-gradient(135deg, #fff, #d4c4ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.customer-v2 .page-hero p {
  margin: 0;
  color: #c4b8e8 !important;
  font-size: 15px;
  line-height: 1.5;
}

body.customer-v2 .back-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: #f0ebff !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

body.customer-v2 .back-btn:hover {
  background: rgba(124, 92, 255, 0.2);
  border-color: rgba(124, 92, 255, 0.45);
}

/* Demo tabs (exams) */
body.customer-v2 .exams-hero {
  text-align: center;
  padding: 28px 16px 8px;
  max-width: 720px;
  margin: 0 auto 20px;
}

body.customer-v2 .demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}

body.customer-v2 .demo-tabs .tab-label {
  color: #b8aad8 !important;
  font-size: 13px;
  font-weight: 700;
}

body.customer-v2 .demo-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

body.customer-v2 .demo-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

body.customer-v2 .demo-tab.active {
  background: #ffffff !important;
  color: #4a3d8a !important;
  border-color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

body.customer-v2 .demo-tab.game {
  background: rgba(52, 211, 153, 0.2) !important;
  border-color: rgba(52, 211, 153, 0.55) !important;
  color: #a7f3d0 !important;
}

/* Exam grids & cards */
body.customer-v2 .exam-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

body.customer-v2 .exam-card-v2::before,
body.customer-v2 .exam-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--v2-purple), var(--v2-purple-light), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

body.customer-v2 .exam-card-v2:hover::before,
body.customer-v2 .exam-card:hover::before {
  opacity: 1;
}

body.customer-v2 .exam-card-v2,
body.customer-v2 .exam-card {
  position: relative;
  border-radius: 18px;
  padding: 18px 16px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

body.customer-v2 .exam-card-v2:hover,
body.customer-v2 .exam-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 92, 255, 0.45) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

body.customer-v2 .exam-card-v2 .exam-logo,
body.customer-v2 .exam-card .exam-logo {
  height: 110px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.1), transparent 65%);
  border-radius: 14px;
}

body.customer-v2 .exam-card-v2 .exam-icon,
body.customer-v2 .exam-card .exam-icon {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

body.customer-v2 .exam-card-v2 .badge,
body.customer-v2 .exam-card .badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  color: #1a1033;
  background: linear-gradient(135deg, #fff, #e8e0ff);
  border: 3px solid rgba(255, 255, 255, 0.25);
}

body.customer-v2 .exam-card-v2 .exam-name,
body.customer-v2 .exam-card .exam-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff !important;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.customer-v2 .exam-card-v2 .exam-cta {
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  color: #b794ff !important;
}

body.customer-v2 .skel-card {
  height: 180px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

body.customer-v2 .empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #c4b8e8 !important;
  padding: 32px;
}

body.customer-v2 .exams-deco {
  position: fixed;
  right: -20px;
  bottom: -20px;
  width: min(320px, 45vw);
  height: min(320px, 45vw);
  pointer-events: none;
  opacity: 0.45;
  z-index: 0;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.4), transparent 70%);
  animation: v2-pulse 6s ease-in-out infinite alternate;
}

@keyframes v2-pulse {
  from { opacity: 0.35; transform: scale(1); }
  to { opacity: 0.55; transform: scale(1.06); }
}

/* Footer — full-bleed bar (not a floating card) */
body.customer-v2 #appFooter.glass {
  margin: auto 0 0 !important;
  width: 100%;
  max-width: none;
  flex: 0 0 auto;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: linear-gradient(180deg, rgba(45, 35, 90, 0.95), rgba(22, 16, 48, 0.98)) !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

body.customer-v2 #appFooter.glass::before {
  display: none !important;
}

body.customer-v2 #appFooter .f-wrap {
  margin: 0 auto;
  max-width: 1100px;
  padding: 16px 20px;
  min-height: 0;
  align-items: center;
}

body.customer-v2 #appFooter .f-brand {
  font-weight: 900;
  color: #fff;
  font-size: 15px;
  line-height: 1.3;
}

body.customer-v2 #appFooter .f-tagline {
  color: #c4b8e8;
  font-size: 13px;
  margin-top: 2px;
  line-height: 1.3;
}

body.customer-v2 #appFooter .f-links {
  align-items: center;
}

body.customer-v2 #appFooter .f-links a {
  color: #e8e0ff;
  font-weight: 600;
  font-size: 13px;
}

body.customer-v2 .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.customer-v2 .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  body.customer-v2::before,
  body.customer-v2::after,
  body.customer-v2 .exams-deco {
    animation: none;
  }
  body.customer-v2 main,
  body.customer-v2 .reveal {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Checkout — keep payment boxes light for readability */
body.customer-v2 .steps .dot {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f0ebff;
}

body.customer-v2 .steps .item.active .dot {
  background: linear-gradient(135deg, #7c5cff, #9a7bff);
  color: #fff;
  border-color: transparent;
}

body.customer-v2 .steps .bar {
  background: rgba(255, 255, 255, 0.12);
}

body.customer-v2 .qr-box,
body.customer-v2 .proof-box {
  background: #fff !important;
  color: #0b1324 !important;
  border-color: #e2e8f0 !important;
}

body.customer-v2 .qr-box h2,
body.customer-v2 .proof-box h2,
body.customer-v2 .qr-box .muted,
body.customer-v2 .proof-box .muted {
  color: #334155 !important;
}

/* Checkout white cards — dedicated classes (global .btn must not win) */
body.customer-v2 .checkout .btn-checkout,
body.customer-v2 .checkout #applyReferral,
body.customer-v2 .checkout #submitProof {
  background: linear-gradient(135deg, #5b21b6, #7c3aed) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(91, 33, 182, 0.4) !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.customer-v2 .checkout .btn-checkout-ghost,
body.customer-v2 .checkout #clearFile {
  background: #334155 !important;
  color: #ffffff !important;
  border: 1px solid #475569 !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.customer-v2 .checkout .btn-checkout-ghost:hover,
body.customer-v2 .checkout #clearFile:hover {
  background: #475569 !important;
}

/* Legacy qr/proof .btn selectors */
body.customer-v2 .qr-box .btn,
body.customer-v2 .proof-box .btn {
  background: linear-gradient(135deg, #7c5cff, #9a7bff) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(124, 92, 255, 0.35) !important;
}

body.customer-v2 .qr-box .btn:hover,
body.customer-v2 .proof-box .btn:hover {
  filter: brightness(1.06);
}

body.customer-v2 .qr-box .btn.secondary,
body.customer-v2 .proof-box .btn.secondary {
  background: #e2e8f0 !important;
  color: #1e293b !important;
  border: 1px solid #94a3b8 !important;
  box-shadow: none !important;
}

body.customer-v2 .qr-box .btn.secondary:hover,
body.customer-v2 .proof-box .btn.secondary:hover {
  background: #cbd5e1 !important;
  color: #0f172a !important;
}

/* Profile — secondary buttons on dark card */
body.customer-v2 .profile-actions .btn.secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: none !important;
}

/* Test history pagination */
body.customer-v2 .history-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  margin-bottom: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.customer-v2 .sets-pager-top,
body.customer-v2 #historyPagerTop {
  margin-top: 0;
  margin-bottom: 14px;
  padding-top: 0;
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
}

body.customer-v2 .page-badge {
  font-size: 14px;
  font-weight: 700;
  color: #a78bfa;
}

/* Profile page layout — sidebar + full-width history */
body.customer-v2 .profile-page {
  padding-top: 20px;
  padding-bottom: 100px;
}

body.customer-v2 .profile-hero {
  margin-bottom: 18px;
}

body.customer-v2 .profile-grid {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

body.customer-v2 .profile-sidebar {
  position: sticky;
  top: 76px;
}

body.customer-v2 .profile-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

body.customer-v2 .profile-history {
  min-width: 0;
}

body.customer-v2 .profile-history-title {
  margin: 0 0 10px;
  font-size: 18px;
}

body.customer-v2 .profile-history-meta {
  margin: 0 0 12px;
}

body.customer-v2 .profile-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.customer-v2 .profile-history table {
  width: 100%;
  min-width: 680px;
  margin: 0;
}

body.customer-v2 .profile-pager {
  margin-top: 14px;
  margin-bottom: 8px;
  padding: 12px 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(124, 92, 255, 0.22);
}

body.customer-v2 #historyPagerTop.profile-pager {
  margin-top: 0;
  margin-bottom: 14px;
  border-top: none;
  padding-top: 0;
}

@media (max-width: 860px) {
  body.customer-v2 .profile-grid {
    grid-template-columns: 1fr;
  }

  body.customer-v2 .profile-sidebar {
    position: static;
  }
}

body.customer-v2 .history-pager.is-hidden {
  display: none !important;
}

body.customer-v2 .history-showing {
  margin: 10px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #b8aad8 !important;
}

body.customer-v2 .pager-pages {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

body.customer-v2 .history-pager .pager-btn.pager-num {
  min-width: 36px;
  padding: 8px 10px;
}

body.customer-v2 .history-pager .pager-info {
  font-size: 14px;
  font-weight: 600;
  color: #c4b8e8;
}

body.customer-v2 .history-pager .pager-btn {
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.15s ease;
}

body.customer-v2 .history-pager .pager-btn:hover:not(:disabled) {
  background: rgba(124, 92, 255, 0.35);
  border-color: rgba(124, 92, 255, 0.5);
}

body.customer-v2 .history-pager .pager-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

body.customer-v2 .history-pager .pager-btn.active-page {
  background: linear-gradient(135deg, #7c5cff, #9a7bff);
  border-color: transparent;
}

/* Play page — dark page, light test card */
body.customer-v2 .play-wrap .card,
body.customer-v2 #playRoot .card {
  background: #fff !important;
  color: #1a1a2e !important;
}

/* Standalone demo test page (test.html) */
body.customer-v2 .wrap .card {
  background: #fff !important;
  color: #1a1a2e !important;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

body.customer-v2 .wrap .topbar {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

body.customer-v2 .wrap .topbar .timer,
body.customer-v2 .wrap .topbar .stats {
  color: #f0ebff !important;
}

body.customer-v2 .wrap .muted {
  color: #5a5a72 !important;
}

body.customer-v2 .wrap .btn {
  background: linear-gradient(135deg, #7c5cff, #9a7bff) !important;
  color: #fff !important;
}

@media (max-width: 1100px) {
  body.customer-v2 .exam-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  body.customer-v2 .exam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  body.customer-v2 .exam-grid { grid-template-columns: 1fr; }
  body.customer-v2 .auth-card { grid-template-columns: 1fr; }
  body.customer-v2 .feature-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   HOME PAGE — fast, Hindi-English, user-friendly
   ============================================================ */
body.customer-v2 .home-page {
  padding-bottom: 24px;
}

body.customer-v2 .home-hero {
  padding: 32px 0 28px;
  text-align: center;
}

body.customer-v2 .home-tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #e0d4ff;
  background: rgba(124, 92, 255, 0.2);
  border: 1px solid rgba(124, 92, 255, 0.35);
}

body.customer-v2 .home-title {
  margin: 0 0 10px;
  font-size: clamp(30px, 6vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  color: #fff !important;
}

body.customer-v2 .home-title span {
  background: linear-gradient(135deg, #b794ff, #7c5cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.customer-v2 .home-hindi {
  margin: 0 0 10px;
  font-size: clamp(15px, 2.5vw, 18px);
  color: #d4c4ff !important;
  font-weight: 600;
}

body.customer-v2 .home-lead {
  margin: 0 auto 22px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.65;
  color: #c4b8e8 !important;
}

body.customer-v2 .home-main-cta {
  margin-bottom: 22px;
}

body.customer-v2 .btn-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.customer-v2 .btn-home.primary {
  background: linear-gradient(135deg, #7c5cff, #9a7bff) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 10px 28px rgba(124, 92, 255, 0.55) !important;
  font-size: 17px;
  padding: 16px 32px;
  width: min(100%, 360px);
}

body.customer-v2 .btn-home.outline {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
}

body.customer-v2 .btn-home:hover {
  transform: translateY(-2px);
}

body.customer-v2 .btn-home-icon {
  font-size: 14px;
}

body.customer-v2 .home-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

body.customer-v2 .quick-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 10px;
  border-radius: 16px;
  text-decoration: none;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f4f0ff;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

body.customer-v2 .quick-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 92, 255, 0.4);
}

body.customer-v2 .quick-tile.highlight {
  border-color: rgba(124, 92, 255, 0.35);
  background: rgba(124, 92, 255, 0.12);
}

body.customer-v2 .quick-tile .qt-icon {
  font-size: 26px;
}

body.customer-v2 .quick-tile strong {
  font-size: 13px;
  font-weight: 800;
}

body.customer-v2 .quick-tile small {
  font-size: 11px;
  color: #b8aad8;
  line-height: 1.3;
}

body.customer-v2 .home-section {
  padding: 28px 0;
}

body.customer-v2 .home-section.alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.customer-v2 .section-title {
  margin: 0 0 18px;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  text-align: center;
  color: #fff !important;
}

body.customer-v2 .section-hi {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #b8aad8 !important;
  margin-top: 4px;
}

body.customer-v2 .exam-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

body.customer-v2 .exam-pill {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  color: #f0ebff;
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(124, 92, 255, 0.3);
  transition: background 0.15s ease;
}

body.customer-v2 .exam-pill:hover {
  background: rgba(124, 92, 255, 0.3);
}

body.customer-v2 .steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

body.customer-v2 .steps-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.customer-v2 .step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(135deg, #7c5cff, #9a7bff);
}

body.customer-v2 .steps-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: #fff;
}

body.customer-v2 .steps-list p {
  margin: 0;
  font-size: 14px;
  color: #c4b8e8 !important;
  line-height: 1.5;
}

body.customer-v2 .stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}

body.customer-v2 .stat-box {
  text-align: center;
  padding: 18px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.customer-v2 .stat-num {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  color: #fff;
}

body.customer-v2 .stat-lab {
  font-size: 12px;
  color: #b8aad8;
  margin-top: 4px;
  font-weight: 600;
}

body.customer-v2 .benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}

body.customer-v2 .benefit-card {
  padding: 18px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.customer-v2 .benefit-card span {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
}

body.customer-v2 .benefit-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
}

body.customer-v2 .benefit-card p {
  margin: 0;
  font-size: 13px;
  color: #c4b8e8 !important;
  line-height: 1.5;
}

body.customer-v2 .home-bottom-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Mobile bottom nav */
body.customer-v2 #mobileNav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(20, 12, 40, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

body.customer-v2 #mobileNav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  color: #d4c4ff;
  transition: background 0.12s ease, color 0.12s ease;
}

body.customer-v2 #mobileNav a .mn-icon {
  font-size: 20px;
  line-height: 1;
}

body.customer-v2 #mobileNav a.active {
  color: #4a3d8a;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Page tip banner (exams, sets, etc.) */
body.customer-v2 .page-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #e8deff;
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(124, 92, 255, 0.25);
}

@media (max-width: 768px) {
  body.customer-v2 #mobileNav {
    display: grid;
  }

  body.customer-v2.has-mobile-nav {
    padding-bottom: 76px;
  }

  body.customer-v2 #appHeader .h-nav {
    display: none !important;
  }

  body.customer-v2 .home-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.customer-v2 .stats-row {
    grid-template-columns: 1fr;
  }

  body.customer-v2 .benefit-grid {
    grid-template-columns: 1fr;
  }

  body.customer-v2 #appFooter .f-wrap {
    padding: 14px 16px 18px;
  }
}

@media (max-width: 400px) {
  body.customer-v2 .btn-home.primary {
    width: 100%;
    font-size: 15px;
    padding: 14px 20px;
  }
}

/* ── Exams / Sets search (centered) ── */
body.customer-v2 .exam-search-wrap {
  margin: 0 auto 16px;
  max-width: 520px;
  width: 100%;
  text-align: center;
}

body.customer-v2 .exam-search-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #c4b8e8;
  letter-spacing: 0.02em;
  text-align: center;
}

body.customer-v2 .sets-search-wrap {
  margin-left: auto;
  margin-right: auto;
}

body.customer-v2 .exam-search-empty {
  margin: 0 auto 14px;
  max-width: 520px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #b7c4d6;
  font-size: 14px;
  text-align: center;
}

body.customer-v2 .sets-page-pager {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0;
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(124, 92, 255, 0.35);
}

body.customer-v2 .sets-page-pager.pager-active {
  display: flex !important;
}

body.customer-v2 .sets-page-meta {
  margin: 0 0 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #c4b8e8 !important;
}

body.customer-v2 .sets-count-line {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: #a78bfa !important;
}

body.customer-v2 .exam-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(124, 92, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: #eaf2ff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.customer-v2 .exam-search-input::placeholder {
  color: rgba(183, 196, 214, 0.75);
}

body.customer-v2 .exam-search-input:focus {
  border-color: #7c5cff;
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.25);
}

body.customer-v2 .exam-search-empty {
  margin: 0 auto 14px;
  max-width: 520px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #b7c4d6;
  font-size: 14px;
  text-align: center;
}

/* ── Exam language chooser ── */
body.customer-v2 .language-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(4, 6, 18, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 120;
}

body.customer-v2 .language-modal.show {
  display: flex;
}

body.customer-v2 .language-dialog {
  position: relative;
  width: min(560px, 94vw);
  padding: 26px;
  border-radius: 22px;
  background:
    radial-gradient(420px 180px at 50% -20%, rgba(167, 139, 250, 0.26), transparent 70%),
    linear-gradient(180deg, rgba(28, 20, 58, 0.98), rgba(14, 10, 34, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
  text-align: center;
  color: #eaf2ff;
}

body.customer-v2 .language-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

body.customer-v2 .language-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #7c5cff, #a78bfa);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(124, 92, 255, 0.36);
}

body.customer-v2 .language-kicker {
  margin: 0 0 6px;
  color: #c4b8e8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.customer-v2 .language-dialog h2 {
  margin: 0;
  font-size: 28px;
}

body.customer-v2 .language-exam-name {
  margin: 8px 0 20px;
  color: #b7c4d6;
  font-weight: 700;
}

body.customer-v2 .language-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.customer-v2 .language-choice-basics {
  grid-column: 1 / -1;
  min-height: 88px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.18), rgba(124, 92, 255, 0.18));
  border-color: rgba(52, 211, 153, 0.45);
}

@media (max-width: 520px) {
  body.customer-v2 .language-actions {
    grid-template-columns: 1fr;
  }
  body.customer-v2 .language-choice-basics {
    grid-column: auto;
  }
}

body.customer-v2 .language-choice {
  min-height: 112px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

body.customer-v2 .language-choice:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.7);
  background: rgba(124, 92, 255, 0.2);
}

body.customer-v2 .language-choice span {
  display: block;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 8px;
}

body.customer-v2 .language-choice small {
  display: block;
  color: #c4b8e8;
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 520px) {
  body.customer-v2 .language-actions {
    grid-template-columns: 1fr;
  }
}

/* ── Profile WPM chart ── */
body.customer-v2 .wpm-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  min-height: 140px;
  padding: 12px 8px 4px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(124, 92, 255, 0.2);
}

body.customer-v2 .wpm-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  height: 120px;
}

body.customer-v2 .wpm-bar {
  width: 100%;
  max-width: 36px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #a78bfa 0%, #7c5cff 55%, #5b21b6 100%);
  box-shadow: 0 4px 14px rgba(124, 92, 255, 0.35);
  transition: height 0.3s ease;
}

body.customer-v2 .wpm-bar-val {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #c4b5fd;
}

/* ── Help WhatsApp CTA ── */
body.customer-v2 .btn-whatsapp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 360px;
  padding: 18px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.customer-v2 .btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

body.customer-v2 .btn-whatsapp .wa-icon {
  font-size: 28px;
  line-height: 1;
}

body.customer-v2 .btn-whatsapp .wa-sub {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.92;
}

body.customer-v2 .help-whatsapp-card {
  padding: 20px 16px !important;
}

/* ── Play page polish ── */
body.customer-v2.play-page {
  padding-bottom: 24px;
}

body.customer-v2.play-page .wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px 24px;
}

body.customer-v2.play-page .wrap .card {
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(15, 27, 45, 0.18), 0 0 0 1px rgba(91, 77, 158, 0.12);
  overflow: hidden;
}

body.customer-v2.play-page .wrap .card .midbar {
  background: linear-gradient(180deg, #f8f7fc 0%, #f0eef8 100%);
}

body.customer-v2.play-page .wrap .card .midbar button,
body.customer-v2.play-page .wrap .card .midbar .btn {
  min-height: 44px;
  min-width: 44px;
  padding: 10px 16px;
  border-radius: 10px;
}

body.customer-v2.play-page .wrap .input-area #typing {
  border-radius: 0 0 12px 12px;
  font-size: 16px;
  line-height: 1.6;
}

/* ── Mobile polish (extra) ── */
@media (max-width: 768px) {
  body.customer-v2 .exam-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.customer-v2 .exam-card-v2 {
    padding: 14px 10px !important;
    min-height: 0;
  }

  body.customer-v2 .exam-card-v2 .exam-name {
    font-size: 13px !important;
    line-height: 1.35;
  }

  body.customer-v2 .exam-search-input {
    font-size: 16px;
    padding: 12px 14px;
  }

  body.customer-v2 .card {
    padding: 16px 14px !important;
  }

  body.customer-v2 .history-pager .pager-btn {
    min-height: 44px;
    padding: 10px 14px;
  }

  body.customer-v2 #historyPager,
  body.customer-v2 #setsPager,
  body.customer-v2 #setsPagerTop {
    margin-bottom: 88px;
  }

  body.customer-v2 .auth-card {
    margin: 12px;
  }

  body.customer-v2 .wpm-bar {
    max-width: 28px;
  }

  body.customer-v2.play-page .wrap .card-with-sidebar {
    margin: 0 -4px;
  }
}

@media (max-width: 400px) {
  body.customer-v2 .exam-grid {
    grid-template-columns: 1fr !important;
  }

  body.customer-v2 #mobileNav a {
    font-size: 11px;
    padding: 8px 4px;
  }
}
