/* ------------------------------------------------------------- */
/* SHRENI (श्रेणी) MASTER BUNDLED PRODUCTION STYLESHEET          */
/* Self-contained bundle: Zero external @import dependencies     */
/* ------------------------------------------------------------- */
@import url('mobile.css');

/* === FILE: variables.css === */
/* ------------------------------------------------------------- */
/* DESIGN TOKENS & THEME VARIABLES (LIGHT & DARK MODES)          */
/* ------------------------------------------------------------- */

:root {
  --bg-base: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-header: #FFFFFF;
  --bg-table-header: #F1F5F9;
  --bg-input: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --brand-blue: #2563EB;
  --brand-blue-hover: #1D4ED8;
  --status-green: #16A34A;
  --status-purple: #7C3AED;
  --status-red: #DC2626;
  --status-amber: #D97706;
  --badge-blue-bg: #DBEAFE;
  --badge-blue-text: #1D4ED8;
  --badge-blue-border: #BFDBFE;
}

[data-theme="dark"] {
  --bg-base: #0B1120;
  --bg-card: #1E293B;
  --bg-header: #08261E;
  --bg-table-header: #0F172A;
  --bg-input: #0F172A;
  --bg-subtle: #0F172A;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --border-color: #334155;
  --brand-blue: #3B82F6;
  --brand-blue-hover: #60A5FA;
  --status-green: #22C55E;
  --status-purple: #A855F7;
  --status-red: #EF4444;
  --status-amber: #F59E0B;
  --badge-blue-bg: rgba(59, 130, 246, 0.18);
  --badge-blue-text: #93C5FD;
  --badge-blue-border: rgba(59, 130, 246, 0.35);
}


/* === FILE: layout.css === */
/* ------------------------------------------------------------- */
/* GLOBAL RESET, BASE TYPOGRAPHY, NAVBAR, TABS & SITE FOOTER     */
/* ------------------------------------------------------------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
  overflow-x: clip;
  max-width: 100vw;
}

/* Top Navbar (Medium Emerald Tint Green Theme) */
header {
  background: #A7F3D0;
  border-bottom: 1px solid #6EE7B7;
  padding: 0.5rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 95;
  gap: 0.75rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
}

[data-theme="dark"] header {
  background: #08261E;
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
}

[data-theme="dark"] .brand-subtitle,
[data-theme="dark"] .brand-text span:not(.brand-up-accent) {
  color: #A7F3D0;
  opacity: 0.85;
}

[data-theme="dark"] header .exam-selector-group {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

[data-theme="dark"] header .exam-selector-label {
  color: #A7F3D0;
}

[data-theme="dark"] header .select-exam {
  color: #6EE7B7;
}

[data-theme="dark"] header .select-exam option {
  background: #08261E;
  color: #F8FAFC;
}

[data-theme="dark"] header .btn-tour-trigger {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
  color: #A7F3D0;
}

[data-theme="dark"] header .btn-tour-trigger svg {
  stroke: #34D399;
}

[data-theme="dark"] header .user-profile-pill {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
  color: #F8FAFC;
}

[data-theme="dark"] header .btn-theme-toggle {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-emblem-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-sapphire, #2563EB) 0%, var(--brand-sapphire-deep, #1D4ED8) 100%);
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  gap: 1.5px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1.2px rgba(147, 197, 253, 0.45);
  user-select: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  padding: 0 4px;
  box-sizing: border-box;
  overflow: hidden;
}

.brand-emblem-badge:hover {
  transform: scale(1.05);
  box-shadow: inset 0 0 0 1.5px rgba(147, 197, 253, 0.7), 0 2px 8px rgba(37, 99, 235, 0.35);
}

.brand-emblem-badge .emblem-shreni {
  font-family: var(--font-devanagari, system-ui, -apple-system, sans-serif);
  font-size: 9.5px;
  font-weight: 900;
  color: #FFFFFF !important;
  line-height: 36px;
  letter-spacing: 0.1px;
  display: inline-block;
}

.brand-emblem-badge .emblem-up {
  font-family: var(--font-heading, system-ui, -apple-system, sans-serif);
  font-size: 8px;
  font-weight: 900;
  color: var(--gold-sovereign, #F59E0B) !important;
  line-height: 36px;
  letter-spacing: 0.5px;
  display: inline-block;
}

.logo-badge {
  background: var(--brand-blue);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.25rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  letter-spacing: -0.5px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title,
.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  margin: 0;
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.3px;
}

.brand-up-accent {
  color: var(--brand-blue);
  font-weight: 900;
  letter-spacing: 0.2px;
  margin-left: 2px;
}

[data-theme="dark"] .brand-up-accent {
  color: #38BDF8;
}

.brand-subtitle,
.brand-text span:not(.brand-up-accent) {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 1;
  min-width: 0;
  white-space: nowrap;
}

.header-actions .btn-theme-toggle {
  flex-shrink: 0 !important;
}

#user-profile-group {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 1;
  min-width: 0;
}

#header-refund-btn,
#header-upgrade-btn {
  height: 36px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.exam-selector-group {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 36px;
  padding: 0 0.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-sizing: border-box;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
}

.exam-selector-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.select-exam {
  height: 34px;
  padding: 0 0.15rem;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  background: transparent;
  color: var(--brand-blue);
  outline: none;
  cursor: pointer;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  max-width: 130px;
  text-overflow: ellipsis;
  overflow: hidden;
}

.select-exam:disabled {
  cursor: not-allowed !important;
  color: var(--text-muted);
  opacity: 0.65;
}

.exam-selector-group.disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.cadre-dropdown-caret {
  color: var(--text-muted);
  margin-left: auto;
  flex-shrink: 0;
  pointer-events: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.exam-selector-group:hover .cadre-dropdown-caret {
  color: var(--brand-blue);
}

.exam-selector-group.disabled .cadre-dropdown-caret {
  color: var(--text-muted);
  opacity: 0.65;
}

/* Unified Aspirant Profile Capsule & Dropdown */
.profile-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.user-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 36px;
  padding: 0 0.65rem 0 0.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  font-family: inherit;
  color: var(--text-main);
  flex-shrink: 1;
  min-width: 0;
}

.user-profile-pill .badge-plan {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-profile-pill:hover,
.user-profile-pill.active {
  border-color: var(--brand-blue);
  background: var(--bg-hover, #f8fafc);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.dropdown-caret {
  transition: transform 0.2s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

.user-profile-pill.active .dropdown-caret {
  transform: rotate(180deg);
}

.user-profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 290px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.18), 0 6px 12px -4px rgba(0, 0, 0, 0.08);
  padding: 0.85rem;
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  animation: dropdownFadeIn 0.18s ease-out;
}

.user-profile-dropdown.open {
  display: flex !important;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-user-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-color);
}

.dropdown-user-header .user-avatar-initials {
  width: 38px;
  height: 38px;
  font-size: 0.95rem;
  box-shadow: 0 2px 5px rgba(37, 99, 235, 0.25);
}

.dropdown-user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  gap: 0.15rem;
}

.dropdown-user-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-user-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-status-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.35rem 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  user-select: none;
}

.dropdown-item:hover {
  background: var(--bg-hover, #f1f5f9);
  color: var(--brand-blue);
}

.dropdown-item-danger {
  color: var(--text-main, #0F172A);
}

.dropdown-item-danger:hover {
  background: var(--bg-hover, #f1f5f9);
  color: var(--brand-blue);
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 0.15rem 0;
}

.user-avatar-initials {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.user-display-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-verified-mini {
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-blue);
  border: 1px solid rgba(37, 99, 235, 0.25);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.capsule-divider {
  width: 1px;
  height: 16px;
  background: var(--border-color);
  flex-shrink: 0;
}

.user-validity-text {
  font-size: 0.76rem;
  font-weight: 600;
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

/* App Layout Container (Left Sidebar + Main Content) */
.app-layout-container {
  display: flex;
  min-height: calc(100vh - 65px);
  width: 100%;
  align-items: stretch;
}

/* Left Navigation Sidebar (Sovereign Emerald Palette) */
.nav-sidebar {
  width: 250px;
  min-width: 250px;
  background: #F0FDF4;
  border-right: 1px solid #A7F3D0;
  border-bottom: 1px solid #A7F3D0;
  border-bottom-right-radius: 12px;
  padding: 0.85rem 0.75rem 0.75rem 0.75rem;
  flex-shrink: 0;
  box-sizing: border-box;
  align-self: flex-start;
  transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1), min-width 0.22s cubic-bezier(0.4, 0, 0.2, 1), padding 0.22s ease, background-color 0.2s ease, border-color 0.2s ease;
}

[data-theme="dark"] .nav-sidebar {
  background: #08261E;
  border-right: 1px solid rgba(16, 185, 129, 0.25);
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
}

/* Sidebar Header & Collapse Toggle Button */
.sidebar-header-toggle {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(5, 150, 105, 0.2);
}

.btn-sidebar-collapse {
  background: transparent;
  border: 1px solid #A7F3D0;
  border-radius: 6px;
  color: #065F46;
  padding: 0.3rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  line-height: 1;
}

.btn-sidebar-collapse:hover {
  background: #D1FAE5;
  border-color: #059669;
  color: #064E3B;
}

[data-theme="dark"] .sidebar-header-toggle {
  border-bottom: 1px dashed rgba(16, 185, 129, 0.2);
}

[data-theme="dark"] .btn-sidebar-collapse {
  border-color: rgba(16, 185, 129, 0.3);
  color: #A7F3D0;
}

[data-theme="dark"] .btn-sidebar-collapse:hover {
  background: rgba(16, 185, 129, 0.2);
  color: #FFFFFF;
}

/* Collapsed Mini-Rail State (~62px) */
.nav-sidebar.collapsed {
  width: 62px !important;
  min-width: 62px !important;
  padding: 0.75rem 0.35rem;
}

.nav-sidebar.collapsed .sidebar-header-toggle {
  justify-content: center;
  padding-bottom: 0.4rem;
}

.nav-sidebar.collapsed .btn-sidebar-collapse {
  width: 36px;
  height: 32px;
  padding: 0;
  justify-content: center;
}

.nav-sidebar.collapsed .sidebar-toggle-text {
  display: none !important;
}

.nav-sidebar.collapsed .icon-collapse {
  display: none !important;
}

.nav-sidebar.collapsed .icon-expand {
  display: block !important;
  margin: 0 auto;
}

.nav-sidebar.collapsed .nav-tab-btn {
  justify-content: center;
  padding: 0.72rem 0;
  gap: 0;
}

.nav-sidebar.collapsed .nav-tab-btn span {
  display: none !important;
}

.nav-sidebar.collapsed .nav-tab-btn svg {
  margin: 0 auto;
  width: 17px;
  height: 17px;
}

/* Nav Tabs inside Left Sidebar */
.nav-tabs-bar {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  background: transparent;
  border-bottom: none;
  padding: 0;
  overflow-x: visible;
}

.nav-tab-btn {
  background: none;
  border: 1px solid transparent;
  border-left: 3.5px solid transparent;
  padding: 0.72rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #065F46;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.15s ease;
  white-space: normal;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
}

[data-theme="dark"] .nav-tab-btn {
  color: #A7F3D0;
}

.nav-tab-btn svg {
  flex-shrink: 0;
  stroke: #059669 !important; /* Matches green theme */
  transition: stroke 0.15s ease, transform 0.15s ease;
}

[data-theme="dark"] .nav-tab-btn svg {
  stroke: #34D399 !important;
}

.nav-tab-btn:hover {
  color: #064E3B;
  background: rgba(16, 185, 129, 0.1);
}

[data-theme="dark"] .nav-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(16, 185, 129, 0.15);
}

.nav-tab-btn:hover svg {
  stroke: #047857 !important;
  transform: translateX(2px);
}

[data-theme="dark"] .nav-tab-btn:hover svg {
  stroke: #6EE7B7 !important;
}

.nav-tab-btn.active {
  color: #064E3B !important; /* Selected menu item: deep forest green */
  background: #D1FAE5 !important; /* Rich mint pill background */
  border-left: 3.5px solid #059669 !important; /* Solid emerald left border */
  font-weight: 700;
}

.nav-tab-btn.active svg {
  stroke: #059669 !important; /* Selected menu item: icon is emerald */
}

[data-theme="dark"] .nav-tab-btn.active {
  color: #FFFFFF !important;
  background: rgba(16, 185, 129, 0.22) !important;
  border-left: 3.5px solid #34D399 !important;
}

[data-theme="dark"] .nav-tab-btn.active svg {
  stroke: #34D399 !important;
}

/* Main Container */
main {
  flex: 1;
  min-width: 0;
  max-width: 1280px;
  margin: 1.5rem auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ------------------------------------------------------------- */
/* RESPONSIVE DESKTOP & LAPTOP ADAPTATION                        */
/* ------------------------------------------------------------- */

/* 1. Below 1600px - Clean breakpoint hide for long brand subtitle to reclaim ~540px */
@media (max-width: 1600px) {
  .brand-subtitle,
  .brand-text span:not(.brand-up-accent) {
    display: none !important;
  }
}

/* 2. Below 1366px - Standard Laptops & Compact Desktops */
@media (max-width: 1366px) {
  .brand-container {
    gap: 0.45rem;
  }

  header {
    padding: 0.45rem 1rem;
    gap: 0.5rem;
  }

  .header-actions {
    gap: 0.35rem;
  }

  /* Compact exam selector */
  .exam-selector-group {
    padding: 0 0.5rem;
    gap: 0.35rem;
  }

  .select-exam {
    max-width: 130px;
    text-overflow: ellipsis;
  }

  /* Lean profile capsule */
  .user-profile-pill {
    max-width: 220px;
    padding: 0 0.5rem 0 0.3rem;
    gap: 0.35rem;
  }

  .user-display-name {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .user-profile-pill .badge-plan {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.68rem !important;
    padding: 0.1rem 0.35rem !important;
  }

  #header-refund-btn,
  #header-upgrade-btn {
    padding: 0 0.55rem;
    font-size: 0.76rem;
    height: 36px;
    box-sizing: border-box;
  }

  /* Progressive compaction: shorten 'Upgrade to Tier 3' to 'Upgrade' */
  .upgrade-btn-extra {
    display: none !important;
  }

  /* Compact navigation sidebar on laptops */
  .nav-sidebar {
    width: 220px;
    min-width: 220px;
    padding: 1rem 0.5rem;
  }

  .nav-tab-btn {
    padding: 0.65rem 0.65rem;
    font-size: 0.82rem;
    gap: 0.5rem;
  }

  .nav-tab-btn svg {
    width: 14px;
    height: 14px;
  }
}

/* 3. Below 1200px - Small Laptops & Medium Screens */
@media (max-width: 1200px) {
  /* Hide label text on medium screens - temple icon + dropdown are self-evident */
  .exam-selector-label {
    display: none !important;
  }

  .select-exam {
    max-width: 110px;
  }

  /* Compact Product Tour to icon-only with preserved 36px height & width */
  .btn-tour-trigger .tour-trigger-text,
  .btn-tour-trigger span {
    display: none !important;
  }

  .btn-tour-trigger {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
  }

  /* Compact Refund button label: hide '100% ' prefix */
  .refund-btn-prefix {
    display: none !important;
  }

  .user-profile-pill {
    max-width: 180px;
    gap: 0.25rem;
  }

  .user-display-name {
    max-width: 75px;
  }

  .user-profile-pill .badge-plan {
    max-width: 60px;
  }

  #header-refund-btn,
  #header-upgrade-btn {
    padding: 0 0.45rem;
    font-size: 0.72rem;
    height: 36px;
  }

  .nav-sidebar {
    width: 210px;
    min-width: 210px;
    padding: 0.85rem 0.4rem;
  }

  .nav-tab-btn {
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
    gap: 0.45rem;
  }
}


/* === FILE: components.css === */
/* ------------------------------------------------------------- */
/* UI COMPONENTS: CARDS, TABLES, BUTTONS, BADGES, TOASTS         */
/* ------------------------------------------------------------- */

/* Card System */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.card-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Table System */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

th, td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

th {
  background: var(--bg-table-header);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Buttons */
.btn {
  height: 36px;
  padding: 0 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  flex-shrink: 0;
  line-height: 1;
}

.btn-primary {
  background: var(--brand-blue);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
}

.btn-outline {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--brand-blue);
}

.btn-upgrade {
  background: linear-gradient(135deg, #7C3AED, #2563EB);
  color: #FFFFFF;
  border: none;
}

.btn-upgrade:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* Theme Toggle Switch */
.btn-theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--brand-blue);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
  box-sizing: border-box;
}

.btn-theme-toggle:hover {
  background: var(--bg-subtle);
  border-color: var(--brand-blue);
  transform: scale(1.05);
}

.btn-theme-toggle svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

[data-theme="dark"] .sun-icon { display: block !important; stroke: #F59E0B; }
[data-theme="dark"] .moon-icon { display: none !important; }
[data-theme="light"] .sun-icon { display: none !important; }
[data-theme="light"] .moon-icon { display: block !important; stroke: var(--brand-blue); }

/* Badges */
.badge-verified {
  background: var(--badge-blue-bg);
  color: var(--badge-blue-text);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--badge-blue-border);
  white-space: nowrap;
}

.badge-plan {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  line-height: 1.2;
}

.badge-plan-tier-1 {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #CBD5E1;
}

.badge-plan-tier-2 {
  background: var(--badge-blue-bg);
  color: var(--badge-blue-text);
  border: 1px solid var(--badge-blue-border);
}

.badge-plan-tier-3 {
  background: #EDE9FE;
  color: #6D28D9;
  border: 1px solid #DDD6FE;
}

[data-theme="dark"] .badge-plan-tier-1 {
  background: rgba(148, 163, 184, 0.15);
  color: #CBD5E1;
  border-color: #334155;
}

[data-theme="dark"] .badge-plan-tier-3 {
  background: rgba(168, 85, 247, 0.18);
  color: #D8B4FE;
  border-color: rgba(168, 85, 247, 0.35);
}

/* Status Pill Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-status-live {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

.badge-status-announced {
  background: var(--badge-blue-bg);
  color: var(--badge-blue-text);
  border: 1px solid var(--badge-blue-border);
}

.badge-status-released {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.badge-status-active {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
}

[data-theme="dark"] .badge-status-live {
  background: rgba(34, 197, 94, 0.18);
  color: #86EFAC;
  border-color: rgba(34, 197, 94, 0.35);
}

[data-theme="dark"] .badge-status-released {
  background: rgba(245, 158, 11, 0.18);
  color: #FDE68A;
  border-color: rgba(245, 158, 11, 0.35);
}

[data-theme="dark"] .badge-status-active {
  background: rgba(148, 163, 184, 0.18);
  color: #CBD5E1;
  border-color: rgba(148, 163, 184, 0.35);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: currentColor;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

/* Scorecard Visuals */
.score-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0F172A;
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  z-index: 20000 !important;
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-left: 4px solid var(--brand-blue);
  animation: toastSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastSlide {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ------------------------------------------------------------- */
/* TEST SERIES LIBRARY & CARDS SYSTEM                            */
/* ------------------------------------------------------------- */

.test-library-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.test-progress-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(248, 250, 252, 0.9) 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

[data-theme="dark"] .test-progress-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-color: rgba(37, 99, 235, 0.3);
}

.progress-bar-track {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 0.5rem;
}

[data-theme="dark"] .progress-bar-track {
  background: #334155;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563EB, #10B981);
  border-radius: 9999px;
  transition: width 0.4s ease;
}

.filter-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.filter-chips-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 4px;
}

.filter-chip {
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-chip svg {
  stroke: #2563EB;
  color: #2563EB;
  flex-shrink: 0;
  transition: stroke 0.15s ease, fill 0.15s ease;
}

.filter-chip:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.filter-chip.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #FFFFFF;
}

.filter-chip.active svg {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
}

.filter-chip.active svg[fill="#2563EB"] {
  fill: #FFFFFF !important;
  stroke: #FFFFFF !important;
}

.filter-dropdowns-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-dropdowns-row select {
  height: 38px;
  padding: 0 2.25rem 0 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 14px 14px;
  color: var(--brand-blue);
  font-size: 0.85rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  max-width: none !important;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.filter-dropdowns-row select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.filter-dropdowns-row select:hover {
  border-color: var(--brand-blue);
}

.filter-dropdowns-row select option {
  background-color: var(--bg-card);
  color: var(--text-main);
  font-weight: 500;
}

[data-theme="dark"] .filter-dropdowns-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2360A5FA' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.search-input-wrap {
  flex: 1;
  min-width: 240px;
  position: relative;
}

.search-input-wrap input {
  width: 100%;
  height: 38px;
  padding: 0 1rem 0 2.2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.85rem;
}

.search-input-wrap input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.search-icon-fixed {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  stroke: #2563EB !important;
}

.test-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.test-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.star-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: transform 0.15s ease;
  color: #2563EB;
}

.star-btn svg {
  stroke: #2563EB;
  color: #2563EB;
}

.star-btn:hover {
  transform: scale(1.2);
}

.star-btn.starred svg {
  fill: #2563EB;
  stroke: #2563EB;
}

.attempt-status-box {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 8px;
  padding: 8px 12px;
  margin: 10px 0;
}

[data-theme="dark"] .attempt-status-box {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
}

.locked-card-overlay {
  opacity: 0.85;
}

/* Mobile palette drawer hidden by default on desktop */
.mobile-palette-drawer-backdrop {
  display: none;
}



/* === FILE: quote-carousel.css === */
/* ------------------------------------------------------------- */
/* MOTIVATIONAL & STRATEGIC ASPIRANT QUOTE CAROUSEL              */
/* ------------------------------------------------------------- */

.quote-carousel-card {
  background: #FFFFFF;
  color: #1E293B;
  border-radius: 12px;
  padding: 1.5rem 1.85rem 1.15rem 1.85rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  transition: all 0.25s ease;
}

[data-theme="dark"] .quote-carousel-card {
  background: #1E293B;
  color: #F8FAFC;
  border-color: #334155;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
}

.quote-carousel-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 95px;
}

.quote-content-col {
  width: 100%;
}

.quote-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #EFF6FF;
  color: #2563EB;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 0.75rem;
  border: 1px solid #BFDBFE;
}

[data-theme="dark"] .quote-badge-tag {
  background: rgba(37, 99, 235, 0.2);
  color: #93C5FD;
  border-color: rgba(59, 130, 246, 0.35);
}

.quote-text-wrapper {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 0.25rem;
}

.quote-text {
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.55;
  color: #0F172A;
  letter-spacing: -0.2px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

[data-theme="dark"] .quote-text {
  color: #F8FAFC;
}

.quote-author-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 0.25rem;
}

.quote-author {
  font-size: 0.92rem;
  font-weight: 700;
  color: #2563EB;
}

[data-theme="dark"] .quote-author {
  color: #60A5FA;
}

.quote-carousel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #F1F5F9;
}

[data-theme="dark"] .quote-carousel-footer {
  border-top-color: #334155;
}

.quote-pagination-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.quote-dot {
  width: 20px;
  height: 4px;
  border-radius: 2px;
  background: #CBD5E1;
  cursor: pointer;
  transition: all 0.25s ease;
}

[data-theme="dark"] .quote-dot {
  background: rgba(255, 255, 255, 0.25);
}

.quote-dot.active {
  width: 36px;
  background: #2563EB;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

.quote-nav-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quote-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

[data-theme="dark"] .quote-arrow-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.quote-arrow-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: scale(1.08);
}

[data-theme="dark"] .quote-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.quote-arrow-btn:active {
  transform: scale(0.95);
}


/* === FILE: simulator.css === */
/* ------------------------------------------------------------- */
/* AUTHENTIC EXAM SIMULATOR CONSOLE & PALETTE LAYOUT             */
/* ------------------------------------------------------------- */

.simulator-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 860px) {
  .simulator-container {
    grid-template-columns: 1fr;
  }
}

.question-pane {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.q-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.lang-toggle {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border: 1.5px solid rgba(37, 99, 235, 0.4);
  border-radius: 6px;
  cursor: pointer;
  background: rgba(37, 99, 235, 0.05);
  color: var(--brand-blue);
  transition: all 0.15s ease;
}

.lang-toggle:hover {
  background: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
}

.question-body {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.1s ease;
  background: var(--bg-card);
  color: var(--text-main);
}

.option-item:hover {
  background: var(--bg-subtle);
  border-color: var(--brand-blue);
}

.option-item.selected {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--brand-blue);
  color: var(--text-main);
  font-weight: 600;
}

.q-actions-bar, .q-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  margin-top: 2rem;
  width: 100%;
}

.q-actions-left {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.btn-sim-blue-outline {
  border: 1.5px solid #2563EB !important;
  color: #2563EB !important;
  background: rgba(37, 99, 235, 0.04) !important;
  font-weight: 700 !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.85rem !important;
}

.btn-sim-blue-outline:hover {
  background: rgba(37, 99, 235, 0.12) !important;
  border-color: #1D4ED8 !important;
  color: #1D4ED8 !important;
  transform: translateY(-1px);
}

/* Flag Error Button States: Unchecked & Checked Visual Differentiation */
.btn-sim-flag-outline {
  border: 1.5px solid #DC2626 !important;
  color: #DC2626 !important;
  background: rgba(220, 38, 38, 0.04) !important;
  font-weight: 700 !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.85rem !important;
}

.btn-sim-flag-outline:hover {
  background: rgba(220, 38, 38, 0.12) !important;
  border-color: #B91C1C !important;
  color: #B91C1C !important;
  transform: translateY(-1px);
}

.btn-sim-flag-active {
  border: 1.5px solid #991B1B !important;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  font-weight: 800 !important;
  padding: 0.55rem 1.15rem !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.85rem !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.45), 0 0 0 3px rgba(220, 38, 38, 0.22) !important;
  animation: flagPulse 0.3s ease-out;
}

@keyframes flagPulse {
  0% { transform: scale(0.96); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.btn-sim-flag-active:hover {
  background: linear-gradient(135deg, #B91C1C 0%, #991B1B 100%) !important;
  border-color: #7F1D1D !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.55), 0 0 0 4px rgba(220, 38, 38, 0.3) !important;
  transform: translateY(-1px);
}

.btn-sim-blue-primary {
  background: #2563EB !important;
  color: #FFFFFF !important;
  border: 1.5px solid #2563EB !important;
  font-weight: 700 !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.85rem !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25) !important;
}

.btn-sim-blue-primary:hover {
  background: #1D4ED8 !important;
  border-color: #1D4ED8 !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
  transform: translateY(-1px);
}

/* Palette Sidebar */
.palette-pane {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
}

.timer-card {
  background: #0F172A;
  border: 1px solid var(--border-color);
  color: #FFFFFF;
  padding: 0.75rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  margin-bottom: 1rem;
}

.palette-grid, .q-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  max-height: 270px;
  overflow-y: auto;
  padding: 4px;
}

.palette-btn {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F9;
  color: #334155;
  transition: all 0.15s ease;
}

.palette-btn.not-visited {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #475569 !important;
}

.palette-btn.active {
  outline: 2.5px solid #2563EB !important;
  outline-offset: 1px;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
  font-weight: 800;
}

.palette-btn.answered {
  background: #16A34A !important;
  color: #FFFFFF !important;
  border-color: #16A34A !important;
}

.palette-btn.not-answered {
  background: #DC2626 !important;
  color: #FFFFFF !important;
  border-color: #DC2626 !important;
}

.palette-btn.marked-review {
  background: #7C3AED !important;
  color: #FFFFFF !important;
  border-color: #7C3AED !important;
}

/* Palette button with error flagged badge */
.palette-btn.has-flagged-error {
  position: relative !important;
  box-shadow: 0 0 0 2px #DC2626 !important;
}

.palette-btn.has-flagged-error::after {
  content: '🚩';
  position: absolute;
  top: -6px;
  right: -5px;
  font-size: 10px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.palette-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}


/* === FILE: modals.css === */
/* ------------------------------------------------------------- */
/* PRICING GRIDS, MODALS, AUTH WIZARD & CHECKOUT STYLES          */
/* ------------------------------------------------------------- */

/* Tier Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.2s ease;
}

.plan-card.featured {
  border: 2px solid var(--brand-blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

[data-theme="dark"] .plan-card.featured {
  border-color: var(--brand-blue);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 1.25rem;
  background: var(--brand-blue);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.plan-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0.5rem 0 1rem 0;
}

.plan-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.plan-features li {
  font-size: 0.85rem;
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

/* Modals & Dialogs */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem;
  box-sizing: border-box;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  margin: auto;
}

.welcome-modal-dialog {
  max-width: 520px;
  width: 100%;
  margin: auto;
  border: 1px solid var(--border-color);
  max-height: min(92vh, calc(100dvh - 2rem));
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.welcome-modal-dialog::-webkit-scrollbar {
  width: 5px;
}

.welcome-modal-dialog::-webkit-scrollbar-track {
  background: transparent;
}

.welcome-modal-dialog::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.25);
  border-radius: 4px;
}

.welcome-modal-dialog::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.45);
}

[data-theme="dark"] #welcome-modal-backdrop .welcome-modal-dialog {
  background: var(--bg-card);
  border-color: #334155;
}


@keyframes modalPop {
  0% { opacity: 0; transform: scale(0.96) translateY(8px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-subtle);
  flex-shrink: 0;
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
  padding: 0.25rem;
  border-radius: 4px;
}

.modal-close-btn:hover {
  color: var(--text-main);
  background: var(--bg-subtle);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  flex: 1 1 auto;
  min-height: 0;
}

.auth-tab-switch {
  display: flex;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 0.25rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}

.auth-tab-btn {
  flex: 1;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.auth-tab-btn.active {
  background: var(--bg-card);
  color: var(--brand-blue);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.9rem;
  outline: none;
  background: var(--bg-input);
  color: var(--text-main);
  transition: border-color 0.15s ease;
}

.form-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover, 
.form-input:-webkit-autofill:focus, 
.form-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--bg-input, #FFFFFF) inset !important;
  -webkit-text-fill-color: var(--text-main, #0F172A) !important;
  transition: background-color 5000s ease-in-out 0s;
}

[data-theme="dark"] .form-input:-webkit-autofill,
[data-theme="dark"] .form-input:-webkit-autofill:hover, 
[data-theme="dark"] .form-input:-webkit-autofill:focus, 
[data-theme="dark"] .form-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #1E293B inset !important;
  -webkit-text-fill-color: #F8FAFC !important;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.step-dot {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.step-dot.active {
  color: var(--brand-blue);
}

.step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E2E8F0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.step-dot.active .step-num {
  background: var(--brand-blue);
  color: #FFFFFF;
}

/* Modal Plan Selection Cards */
.tier-select-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.tier-select-option {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.15s ease;
  color: var(--text-main);
}

.tier-select-option:hover {
  border-color: var(--brand-blue);
  background: var(--bg-subtle);
}

.tier-select-option.selected {
  border-color: var(--brand-blue);
  background: var(--badge-blue-bg);
}

/* Promo Code Input Bar */
.promo-box-container {
  background: var(--bg-subtle);
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  padding: 0.85rem;
  margin-bottom: 1.25rem;
}

.promo-input-group {
  display: flex;
  gap: 0.5rem;
}

.promo-input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: var(--bg-input);
  color: var(--text-main);
}

.promo-tag-applied {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: #DCFCE7;
  color: var(--status-green);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  margin-top: 0.5rem;
  border: 1px solid #BBF7D0;
}

[data-theme="dark"] .promo-tag-applied {
  background: rgba(34, 197, 94, 0.18);
  color: #86EFAC;
  border-color: rgba(34, 197, 94, 0.35);
}

.price-summary-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
}

.price-row.total {
  border-top: 1px solid var(--border-color);
  margin-top: 0.35rem;
  padding-top: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pay-method-btn {
  padding: 0.65rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.pay-method-btn.active {
  border-color: var(--brand-blue);
  background: var(--badge-blue-bg);
  color: var(--brand-blue);
}

/* ------------------------------------------------------------- */
/* SITE STANDARD CUSTOM CONFIRMATION & ALERT DIALOG MODALS       */
/* ------------------------------------------------------------- */
.custom-dialog-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.custom-dialog-backdrop.open {
  display: flex !important;
}

.custom-dialog-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  animation: modalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-dialog-header {
  padding: 1.5rem 1.5rem 0.75rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.custom-dialog-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.custom-dialog-icon-wrap.warning {
  background: #FEF3C7;
  border: 1.5px solid #FDE68A;
  color: #D97706;
}

[data-theme="dark"] .custom-dialog-icon-wrap.warning {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.4);
  color: #FBBF24;
}

.custom-dialog-icon-wrap.info,
.custom-dialog-icon-wrap.primary {
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  color: var(--brand-blue);
}

[data-theme="dark"] .custom-dialog-icon-wrap.info,
[data-theme="dark"] .custom-dialog-icon-wrap.primary {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  color: #93C5FD;
}

.custom-dialog-icon-wrap.danger {
  background: #FEE2E2;
  border: 1.5px solid #FECACA;
  color: #DC2626;
}

[data-theme="dark"] .custom-dialog-icon-wrap.danger {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #F87171;
}

.custom-dialog-header-text {
  flex: 1;
  min-width: 0;
}

.custom-dialog-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.custom-dialog-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 0.35rem 0;
  letter-spacing: -0.2px;
}

.custom-dialog-close {
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
  border-radius: 4px;
}

.custom-dialog-close:hover {
  color: var(--text-main);
}

.custom-dialog-message {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.custom-dialog-preview-box {
  margin: 0.5rem 1.5rem 1.25rem 1.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.custom-dialog-footer {
  padding: 1rem 1.5rem 1.25rem 1.5rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.custom-dialog-btn-cancel {
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.custom-dialog-btn-cancel:hover {
  background: var(--border-color);
}

.custom-dialog-btn-confirm {
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  border: 1.5px solid var(--brand-blue);
  background: var(--brand-blue);
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.custom-dialog-btn-confirm:hover {
  background: var(--brand-blue-hover);
  border-color: var(--brand-blue-hover);
}

.custom-dialog-btn-confirm.danger {
  background: var(--status-red);
  border-color: var(--status-red);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}

.custom-dialog-btn-confirm.danger:hover {
  background: #B91C1C;
  border-color: #B91C1C;
}



/* === FILE: reviews.css === */
/* ------------------------------------------------------------- */
/* ASPIRANT REVIEWS, STRATEGIES & "प्रेरणा WALL" STYLES           */
/* ------------------------------------------------------------- */

/* Inspiration Wall Header Banner */
.inspiration-hero-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.inspiration-hero-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.4rem;
}

.inspiration-hero-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.inspiration-hero-tag {
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.inspiration-hero-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.45;
  margin: 0;
}

.inspiration-stats-row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.inspiration-stat-item {
  text-align: right;
}

.inspiration-stat-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.2;
}

.inspiration-stat-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

/* Review Filter Controls Bar */
.reviews-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
}

.reviews-filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.review-filter-pill {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.review-filter-pill:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
  border-color: var(--brand-blue);
}

.review-filter-pill.active {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.reviews-secondary-filters {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.reviews-select-input {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

/* Grid of Review Cards */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(37, 99, 235, 0.35);
}

.review-card-featured {
  border: 1.5px solid #F59E0B;
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(245, 158, 11, 0.03) 100%);
  position: relative;
}

.review-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0.85rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #7C3AED 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.review-user-meta {
  flex: 1;
  min-width: 0;
}

.review-user-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}

.review-user-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-spotlight-pill {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
}

.badge-percentile-pill {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 8px;
}

.review-badges-row {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.review-stars-col {
  text-align: right;
  flex-shrink: 0;
}

.review-stars-val {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 1px;
}

.review-cadre-tag-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.review-cadre-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.review-category-pill {
  font-size: 0.73rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

/* Golden Tip Box */
.review-golden-tip-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.07) 0%, rgba(251, 191, 36, 0.05) 100%);
  border-left: 3.5px solid #F59E0B;
  border-radius: 0 8px 8px 0;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.85rem;
}

.review-golden-tip-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 800;
  color: #B45309;
  margin-bottom: 3px;
}

.review-golden-tip-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
  margin: 0;
  font-style: italic;
}

.review-body-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.review-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

.review-date-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-upvote-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.review-upvote-btn:hover {
  background: #FEF3C7;
  border-color: #FCD34D;
  color: #92400E;
  transform: scale(1.03);
}

.review-upvote-btn.active {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #92400E;
}

/* Home Spotlight Ribbon */
.home-spotlight-section {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.home-spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-spotlight-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-spotlight-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.home-spotlight-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.spotlight-story-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spotlight-story-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.spotlight-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.spotlight-cadre-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 2px 7px;
  border-radius: 5px;
}

.spotlight-stars {
  font-size: 0.75rem;
  font-weight: 700;
  color: #D97706;
}

.spotlight-tip-quote {
  font-size: 0.83rem;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.spotlight-author-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spotlight-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spotlight-author-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.spotlight-badge-line {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Interactive Star Rating Component in Modal */
.star-picker-container {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0.5rem 0 0.25rem;
}

.star-picker-star {
  font-size: 1.8rem;
  color: #CBD5E1;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
  user-select: none;
}

.star-picker-star:hover,
.star-picker-star.selected {
  color: #F59E0B;
}

.star-picker-star:hover {
  transform: scale(1.18);
}

.star-rating-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 8px;
}

/* Scorecard Reflection Banner */
.scorecard-reflection-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1.5px solid #93C5FD;
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.reflection-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reflection-icon {
  font-size: 1.8rem;
}

.reflection-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 2px;
}

.reflection-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .inspiration-hero-banner {
    padding: 1.25rem 1.25rem;
  }
  .reviews-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .reviews-secondary-filters {
    justify-content: space-between;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* Review Submission Modal Styles & Overlay Fix */
#review-submission-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.7) !important;
  backdrop-filter: blur(4px) !important;
  z-index: 10050 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;
  box-sizing: border-box !important;
}

#review-submission-modal.open {
  display: flex !important;
}

#review-submission-modal .modal-dialog {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 14px;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 10051;
}

#review-submission-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
}

#review-submission-modal .modal-close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted, #64748b);
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s ease;
}

#review-submission-modal .modal-close-btn:hover {
  color: var(--text-main, #0f172a);
}



/* === FILE: mobile.css === */
/* ------------------------------------------------------------------ */
/* ShreniUP - Universal Mobile & Tablet Responsive Stylesheet         */
/* Cross-Platform Compatibility: iOS Safari, Android, Samsung, iPad    */
/* ------------------------------------------------------------------ */

/* 1. Root & Safe-Area Inset Support */
:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --mobile-bottom-nav-height: 60px;
}

/* Prevent horizontal page blowout across entire viewport without breaking position: sticky */
html, body {
  overflow-x: clip !important;
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

/* 2. Global Mobile Base & iOS Safari 16px Auto-Zoom Fix */
@media (max-width: 768px) {
  /* Prevent iOS Safari from auto-zooming on input focus when font-size < 16px */
  input, select, textarea, .form-control, .select-exam {
    font-size: 16px !important;
  }

  body {
    padding-bottom: calc(var(--mobile-bottom-nav-height) + var(--safe-bottom) + 8px);
    -webkit-tap-highlight-color: transparent;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
  }

  /* When arena is active, remove body padding so test is edge-to-edge */
  body.arena-active {
    padding-bottom: 0 !important;
  }

  /* Math & KaTeX equations touch scroll container */
  .katex-display, .katex, .math-scroll-wrapper {
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 4px 2px;
  }

  /* Responsive Data Tables */
  .table-responsive {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin-bottom: 0.75rem;
  }

  .card {
    max-width: 100% !important;
    box-sizing: border-box;
    overflow-x: auto;
  }

  table {
    display: table !important;
    width: 100% !important;
    min-width: 520px;
    border-collapse: collapse;
  }

  /* Ensure touch targets meet minimum 44x44px */
  button, .btn, .nav-tab-btn, .filter-chip, .option-item {
    min-height: 40px;
  }
}

/* 3. Responsive Header & Top Bar (Phones <= 768px) */
@media (max-width: 768px) {
  header {
    padding: 0.45rem 0.6rem;
    padding-top: max(0.45rem, var(--safe-top));
    gap: 0.35rem;
    flex-wrap: nowrap;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    overflow: visible !important;
  }

  .brand-container {
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .brand-emblem-badge {
    width: 32px !important;
    height: 32px !important;
    padding: 0 3px !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 1px !important;
  }

  .brand-emblem-badge .emblem-shreni {
    font-size: 8.5px !important;
    line-height: 32px !important;
  }

  .brand-emblem-badge .emblem-up {
    font-size: 7px !important;
    line-height: 32px !important;
  }

  .brand-container img {
    width: 32px !important;
    height: 32px !important;
  }

  .logo-badge {
    font-size: 1.05rem;
    padding: 0.2rem 0.4rem;
  }

  .brand-title,
  .brand-text h1 {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    display: inline-flex !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }

  .brand-up-accent {
    display: inline !important;
    font-weight: 900 !important;
  }

  .brand-subtitle,
  .brand-text > span {
    display: none !important; /* Hide long subtitle on phones to preserve horizontal space */
  }

  .header-actions {
    gap: 0.3rem;
    max-width: calc(100% - 40px);
    flex-shrink: 1;
    overflow: visible !important;
  }

  .exam-selector-group {
    height: 32px;
    padding: 0 0.35rem;
    gap: 0.2rem;
    max-width: 125px;
    flex-shrink: 1;
    min-width: 0;
  }

  .exam-selector-label {
    display: none !important; /* Hide label text on mobile, icon + dropdown are self-evident */
  }

  .select-exam {
    font-size: 0.75rem !important;
    max-width: 95px;
    text-overflow: ellipsis;
  }

  /* Guest Auth buttons on mobile */
  #auth-buttons-group {
    gap: 0.25rem !important;
  }

  #auth-buttons-group .btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.74rem;
  }

  /* Hide redundant upgrade & refund action buttons on mobile header; bottom nav / profile drawer has them */
  #nav-upgrade-btn,
  #header-upgrade-btn,
  #header-refund-btn {
    display: none !important;
  }

  /* User Profile Pill on mobile - compact avatar + name */
  .user-profile-pill {
    height: 32px;
    padding: 0 0.35rem 0 0.2rem;
    gap: 0.25rem;
    max-width: 110px;
    flex-shrink: 1;
    min-width: 0;
  }

  .user-avatar-initials {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.65rem !important;
  }

  .user-display-name {
    max-width: 55px;
    font-size: 0.74rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Hide secondary badges specifically from the compact header pill on mobile */
  .user-profile-pill .badge-plan,
  .user-profile-pill .badge-verified-mini,
  .user-profile-pill .capsule-divider,
  .user-profile-pill .user-validity-text {
    display: none !important;
  }

  .btn-theme-toggle {
    width: 32px;
    height: 32px;
    padding: 4px;
    flex-shrink: 0;
  }

  .user-profile-dropdown {
    width: min(320px, calc(100vw - 1.25rem));
    max-width: calc(100vw - 1rem);
    right: -36px;
    z-index: 1000;
  }

  .user-profile-dropdown.open {
    display: flex !important;
  }

  .user-profile-dropdown .badge-verified-mini,
  .user-profile-dropdown .user-validity-text {
    display: inline-flex !important;
  }

  /* Desktop Nav Sidebar: Hide on phones when bottom nav is active */
  .app-layout-container {
    display: block !important;
  }

  .nav-sidebar,
  .nav-tabs-bar {
    display: none !important;
  }

  main {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0.75rem auto;
    padding: 0 0.75rem;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .tab-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
}

/* Tablets (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  header {
    padding: 0.5rem 1rem;
  }
  .exam-selector-group {
    max-width: 220px;
  }
  .nav-sidebar {
    width: 200px;
    min-width: 200px;
    padding: 0.85rem 0.4rem;
  }
  .nav-tab-btn {
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
    gap: 0.45rem;
  }
}

/* 4. Sticky Bottom Navigation Bar (Modern EdTech Mobile Standard) */
.mobile-bottom-nav {
  display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(var(--mobile-bottom-nav-height) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    background: var(--bg-header, #ffffff);
    border-top: 1px solid var(--border-color, #e2e8f0);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  }

  /* Automatically hide bottom nav when active mock test is running or modal is open */
  body.arena-active .mobile-bottom-nav,
  body.modal-open .mobile-bottom-nav,
  .mobile-bottom-nav.nav-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    color: var(--text-muted, #64748b);
    text-decoration: none;
    background: none;
    border: none;
    padding: 4px 0;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.1s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav-item svg {
    stroke: var(--text-muted, #64748b);
    transition: stroke 0.15s ease, transform 0.15s ease;
  }

  .mobile-nav-label {
    font-size: 0.68rem;
    font-weight: 600;
    margin-top: 3px;
    letter-spacing: -0.2px;
  }

  .mobile-nav-item:active {
    transform: scale(0.92);
  }

  .mobile-nav-item.active {
    color: var(--brand-blue, #2563eb) !important;
  }

  .mobile-nav-item.active svg {
    stroke: var(--brand-blue, #2563eb) !important;
    transform: translateY(-1px);
  }
}

/* 5. Test Series Library Toolbar & Filter Controls on Mobile */
@media (max-width: 768px) {
  .filter-toolbar {
    margin-bottom: 1rem;
  }

  .filter-dropdowns-row {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
  }

  .search-input-wrap {
    flex: 1;
    min-width: 0;
  }

  #library-search-input {
    width: 100%;
    height: 42px;
    padding-left: 36px;
    font-size: 0.88rem;
    border-radius: 8px;
  }

  /* Desktop inline filter selects: Hide inline on mobile, accessed via Mobile Filter Button */
  #library-exam-filter,
  #library-type-filter,
  #library-diff-filter {
    display: none !important;
  }

  /* Mobile Filter Drawer Button */
  .btn-mobile-filter-trigger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 42px;
    padding: 0 0.85rem;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-color, #cbd5e1);
    border-radius: 8px;
    color: var(--text-main, #1e293b);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }

  .btn-mobile-filter-trigger.has-filters {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    background: rgba(37, 99, 235, 0.06);
  }

  /* Quick status filter chips row: Smooth horizontal carousel */
  .filter-chips-row {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0.5rem 0 0.25rem 0 !important;
    gap: 0.45rem !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .filter-chips-row::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex-shrink: 0;
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
    border-radius: 9999px;
    white-space: nowrap;
  }

  /* All Tab Card Grids: 1 Column & 100% Width on Mobile */
  #test-series-cards-grid,
  #live-shifts-container,
  .diagnostic-grid,
  .pricing-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .test-card,
  .test-paper-card,
  .plan-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 1rem !important;
  }

  .filter-toolbar {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .filter-chips-row {
    max-width: 100% !important;
    box-sizing: border-box;
  }
}

/* Hide Mobile Filter button on desktop */
.btn-mobile-filter-trigger {
  display: none;
}

/* 6. Mobile Filter Slide-Up Sheet Modal */
.mobile-filter-sheet-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mobile-filter-sheet-backdrop.open {
  display: flex;
  opacity: 1;
}

.mobile-filter-sheet {
  background: var(--bg-card, #ffffff);
  width: 100%;
  max-height: 85vh;
  border-radius: 16px 16px 0 0;
  border-top: 1px solid var(--border-color, #cbd5e1);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
  padding: 1.25rem 1.25rem calc(1.25rem + var(--safe-bottom)) 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-filter-sheet-backdrop.open .mobile-filter-sheet {
  transform: translateY(0);
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.sheet-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sheet-close-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.sheet-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sheet-filter-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.sheet-select {
  width: 100%;
  height: 44px;
  padding: 0 0.85rem;
  border: 1.5px solid var(--border-color, #cbd5e1);
  border-radius: 8px;
  background: var(--bg-card, #ffffff);
  color: var(--text-main);
  font-size: 16px !important; /* iOS zoom fix */
  font-weight: 600;
  outline: none;
}

.sheet-actions-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.sheet-actions-row .btn {
  flex: 1;
  height: 44px;
  font-weight: 700;
  border-radius: 8px;
}

/* 7. Live Exam Arena Mobile Architecture (Sticky Top/Bottom + Palette Drawer) */
@media (max-width: 860px) {
  #exam-arena-view {
    position: relative;
    padding-bottom: calc(68px + var(--safe-bottom)) !important;
  }

  .simulator-container {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* Top sticky arena bar: Timer, Section pill, Language toggle, Palette trigger */
  .arena-header-sticky-mobile {
    position: sticky;
    top: 0;
    z-index: 45;
    background: var(--bg-card, #ffffff);
    border-bottom: 1.5px solid var(--border-color, #cbd5e1);
    padding: 0.6rem 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .arena-mobile-timer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0f172a;
    color: #38bdf8;
    padding: 5px 10px;
    border-radius: 6px;
    font-family: monospace;
    font-weight: 800;
    font-size: 0.95rem;
  }

  .arena-mobile-actions-top {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .btn-mobile-palette-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(37, 99, 235, 0.08);
    border: 1.5px solid var(--brand-blue);
    border-radius: 6px;
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
  }

  /* Question Pane on mobile */
  .question-pane {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0.85rem 0.25rem !important;
    min-height: calc(100vh - 200px);
  }

  .q-header-meta {
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
  }

  .question-body {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  .option-item {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  /* Bottom sticky thumb controls */
  .q-actions-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--bg-card, #ffffff);
    border-top: 1.5px solid var(--border-color, #cbd5e1);
    padding: 0.6rem 0.75rem calc(0.6rem + var(--safe-bottom)) 0.75rem;
    margin: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08);
  }

  .q-actions-left {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    flex-shrink: 1;
    overflow-x: auto;
  }

  .btn-sim-blue-outline,
  .btn-sim-flag-outline,
  .btn-sim-flag-active {
    padding: 0.5rem 0.65rem !important;
    font-size: 0.76rem !important;
    white-space: nowrap;
  }

  .btn-sim-blue-primary {
    padding: 0.5rem 0.95rem !important;
    font-size: 0.82rem !important;
    flex-shrink: 0;
  }

  /* Desktop inline palette pane: Transform into bottom sheet drawer */
  .palette-pane {
    display: none; /* Managed by mobile sheet drawer */
  }

  /* Mobile Question Palette Bottom Sheet Drawer */
  .mobile-palette-drawer-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 250;
    display: none;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .mobile-palette-drawer-backdrop.open {
    display: flex;
    opacity: 1;
  }

  .mobile-palette-drawer {
    background: var(--bg-card, #ffffff);
    width: 100%;
    max-height: 82vh;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    padding: 1rem 1rem calc(1rem + var(--safe-bottom)) 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-palette-drawer-backdrop.open .mobile-palette-drawer {
    transform: translateY(0);
  }

  .palette-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
  }

  .palette-grid-mobile {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 8px !important;
    max-height: 240px !important;
    overflow-y: auto !important;
    padding: 4px;
  }

  .palette-btn {
    height: 40px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
  }
}

/* Hide mobile palette button on desktop */
.btn-mobile-palette-toggle {
  display: none;
}

/* 8. Responsive Modals & Auth Dialogs */
@media (max-width: 640px) {
  .modal-backdrop {
    align-items: flex-start !important;
    padding: 0.5rem 0.5rem calc(1.5rem + env(safe-area-inset-bottom, 16px)) 0.5rem !important;
    z-index: 1050 !important;
  }

  .modal-dialog {
    width: 96% !important;
    max-width: 520px !important;
    margin: 0.5rem auto !important;
    max-height: calc(100dvh - 1.25rem - env(safe-area-inset-bottom, 16px)) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 14px !important;
  }

  .modal-header {
    flex-shrink: 0 !important;
    padding: 0.9rem 1.1rem !important;
  }

  .modal-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    padding: 1rem !important;
    padding-bottom: calc(2.25rem + env(safe-area-inset-bottom, 16px)) !important;
    min-height: 0 !important;
  }

  .verification-grid-cols {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem !important;
  }

  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .plan-card {
    padding: 1.25rem !important;
  }
}

@media (max-width: 380px) {
  .verification-grid-cols {
    grid-template-columns: 1fr !important;
  }
}

/* 9. Admin Suite Responsive Styles (admin.html) */
@media (max-width: 768px) {
  .admin-container {
    padding: 12px !important;
  }

  .admin-card {
    padding: 16px !important;
    margin-bottom: 16px !important;
  }

  .admin-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .grid-2, .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .admin-actions-bar {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .admin-actions-bar .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ------------------------------------------------------------- */
/* INTERACTIVE WALKTHROUGH & APPLICATION TOUR STYLES              */
/* ------------------------------------------------------------- */

#walkthrough-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  z-index: 1050;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: auto;
}

#walkthrough-backdrop.active {
  display: block;
  opacity: 1;
}

.walkthrough-highlight-target {
  position: relative !important;
  z-index: 1055 !important;
  outline: none !important;
  border-radius: 8px;
  background: var(--bg-card, #FFFFFF) !important;
  box-shadow: 0 0 0 3.5px #2563EB, 0 0 24px rgba(37, 99, 235, 0.6) !important;
  animation: walkthrough-beacon-pulse 2s infinite ease-in-out;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  cursor: pointer !important;
}

@keyframes walkthrough-beacon-pulse {
  0% {
    box-shadow: 0 0 0 3px #2563EB, 0 0 16px rgba(37, 99, 235, 0.45);
  }
  50% {
    box-shadow: 0 0 0 5px #1D4ED8, 0 0 28px rgba(37, 99, 235, 0.75);
  }
  100% {
    box-shadow: 0 0 0 3px #2563EB, 0 0 16px rgba(37, 99, 235, 0.45);
  }
}

/* High-contrast visibility for nav tabs when highlighted in walkthrough tour */
.nav-tab-btn.walkthrough-highlight-target {
  background: #FFFFFF !important;
  color: #1D4ED8 !important;
  font-weight: 700 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px !important;
  border-bottom: none !important;
}

.nav-tab-btn.walkthrough-highlight-target svg {
  stroke: #1D4ED8 !important;
  stroke-width: 2.3 !important;
}

[data-theme="dark"] .nav-tab-btn.walkthrough-highlight-target {
  background: #1E293B !important;
  color: #60A5FA !important;
}

[data-theme="dark"] .nav-tab-btn.walkthrough-highlight-target svg {
  stroke: #60A5FA !important;
}

/* Exam selector group when highlighted */
.exam-selector-group.walkthrough-highlight-target {
  background: #FFFFFF !important;
  border-radius: 8px !important;
  padding: 0.25rem 0.6rem !important;
}

[data-theme="dark"] .exam-selector-group.walkthrough-highlight-target {
  background: #1E293B !important;
}

#walkthrough-card {
  position: fixed;
  z-index: 1060;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: var(--bg-card, #FFFFFF);
  color: var(--text-main, #0F172A);
  border: 1.5px solid var(--brand-blue, #2563EB);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(37, 99, 235, 0.2);
  padding: 1.15rem 1.25rem;
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  font-family: var(--font-main, 'Inter', -apple-system, sans-serif);
}

#walkthrough-card.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

[data-theme="dark"] #walkthrough-card {
  background: var(--bg-card, #1E293B);
  color: var(--text-main, #F8FAFC);
  border-color: #3B82F6;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.walkthrough-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.walkthrough-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-blue, #2563EB);
  border: 1px solid rgba(37, 99, 235, 0.3);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-feature-settings: 'tnum' 1;
}

[data-theme="dark"] .walkthrough-step-badge {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  border-color: rgba(96, 165, 250, 0.4);
}

.walkthrough-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted, #64748B);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
}

.walkthrough-close-btn:hover {
  color: var(--brand-blue, #2563EB);
  background: rgba(37, 99, 235, 0.08);
}

.walkthrough-title {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 0.45rem 0;
  color: var(--brand-blue, #2563EB);
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-theme="dark"] .walkthrough-title {
  color: #60A5FA;
}

.walkthrough-description {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted, #475569);
  margin: 0 0 0.85rem 0;
}

[data-theme="dark"] .walkthrough-description {
  color: #94A3B8;
}

.walkthrough-action-prompt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px dashed var(--brand-blue, #2563EB);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  margin-bottom: 0.95rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-blue, #1D4ED8);
  line-height: 1.4;
}

[data-theme="dark"] .walkthrough-action-prompt {
  background: rgba(37, 99, 235, 0.12);
  border-color: #60A5FA;
  color: #93C5FD;
}

.walkthrough-action-prompt svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-blue, #2563EB);
}

.walkthrough-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--border-color, #E2E8F0);
}

[data-theme="dark"] .walkthrough-footer {
  border-top-color: #334155;
}

.walkthrough-dots-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
}

.walkthrough-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #CBD5E1;
  transition: all 0.2s ease;
}

[data-theme="dark"] .walkthrough-dot {
  background: #475569;
}

.walkthrough-dot.active {
  width: 18px;
  background: var(--brand-blue, #2563EB);
}

.walkthrough-nav-btns {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-walkthrough-prev {
  background: transparent;
  color: var(--brand-blue, #2563EB);
  border: 1px solid var(--brand-blue, #2563EB);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-walkthrough-prev:hover:not(:disabled) {
  background: rgba(37, 99, 235, 0.08);
}

.btn-walkthrough-prev:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-walkthrough-next {
  background: var(--brand-blue, #2563EB);
  color: #FFFFFF;
  border: 1px solid var(--brand-blue, #2563EB);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-walkthrough-next:hover {
  background: #1D4ED8;
  border-color: #1D4ED8;
}

.btn-tour-trigger {
  background: var(--bg-card, #FFFFFF);
  color: var(--brand-blue, #2563EB);
  border: 1px solid var(--brand-blue, #2563EB);
  font-weight: 600;
  height: 36px;
  padding: 0 0.75rem;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
}

.btn-tour-trigger:hover {
  background: rgba(37, 99, 235, 0.08);
}

[data-theme="dark"] .btn-tour-trigger {
  color: #60A5FA;
  border-color: #60A5FA;
}

[data-theme="dark"] .btn-tour-trigger:hover {
  background: rgba(59, 130, 246, 0.12);
}

@media (max-width: 768px) {
  #walkthrough-card {
    position: fixed !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    border-radius: 16px 16px 0 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-top: 2px solid var(--brand-blue, #2563EB) !important;
    padding: 1rem 1.15rem !important;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  }

  #walkthrough-card.active {
    transform: translateY(0) !important;
  }

  .btn-tour-trigger span {
    display: none;
  }

  .btn-tour-trigger {
    padding: 0.42rem;
  }
}

/* ------------------------------------------------------------- */
/* INTERACTIVE HELP HUB & FEATURE GUIDE STYLES                   */
/* ------------------------------------------------------------- */

/* 1. Floating Help Hub Trigger Button (Bottom-Right) */
#btn-floating-help-hub {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-blue, #2563EB);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  padding: 0.65rem 1.15rem;
  font-family: var(--font-main, 'Inter', -apple-system, sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35), 0 2px 6px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background-color 0.15s ease;
  user-select: none;
}

#btn-floating-help-hub:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45), 0 4px 8px rgba(0, 0, 0, 0.15);
}

#btn-floating-help-hub:active {
  transform: translateY(0);
}

#btn-floating-help-hub svg {
  flex-shrink: 0;
  stroke: #FFFFFF;
}

/* Auto-hide Help Hub trigger during active live exam sessions per GEMINI.md Rule 7.B */
body.arena-active #btn-floating-help-hub {
  display: none !important;
}

/* 2. Backdrop Overlay */
#help-hub-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1060;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

#help-hub-backdrop.active {
  display: block;
  opacity: 1;
}

/* 3. Slide-Over Drawer (Desktop: Right Slide-In Panel) */
#help-hub-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px;
  max-width: 92vw;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-card, #FFFFFF);
  color: var(--text-main, #0F172A);
  border-left: 2px solid var(--brand-blue, #2563EB);
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.25);
  z-index: 1070;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-main, 'Inter', -apple-system, sans-serif);
}

#help-hub-drawer.active {
  transform: translateX(0);
}

[data-theme="dark"] #help-hub-drawer {
  background: var(--bg-card, #1E293B);
  color: var(--text-main, #F8FAFC);
  border-left-color: #3B82F6;
  box-shadow: -12px 0 45px rgba(0, 0, 0, 0.55);
}

/* Drawer Header */
.help-hub-header {
  padding: 1.25rem 1.35rem 1rem 1.35rem;
  border-bottom: 1px solid var(--border-color, #E2E8F0);
  background: var(--bg-card, #FFFFFF);
  flex-shrink: 0;
}

[data-theme="dark"] .help-hub-header {
  background: var(--bg-card, #1E293B);
  border-bottom-color: #334155;
}

.help-hub-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.help-hub-title-group {
  display: flex;
  align-items: center;
  gap: 9px;
}

.help-hub-title-group svg {
  stroke: var(--brand-blue, #2563EB);
}

.help-hub-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--brand-blue, #2563EB);
  letter-spacing: -0.2px;
}

[data-theme="dark"] .help-hub-title {
  color: #60A5FA;
}

.help-hub-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted, #64748B);
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.help-hub-close-btn:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-blue, #2563EB);
}

/* Instant Search Input */
.help-hub-search-box {
  position: relative;
  width: 100%;
  margin-bottom: 0.65rem;
}

.help-hub-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  stroke: var(--brand-blue, #2563EB);
}

.help-hub-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 2.2rem 0.6rem 2.4rem;
  border-radius: 8px;
  border: 1.5px solid var(--border-color, #CBD5E1);
  background: var(--bg-base, #F8FAFC);
  color: var(--text-main, #0F172A);
  font-family: var(--font-main, 'Inter', sans-serif);
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.help-hub-search-input:focus {
  border-color: var(--brand-blue, #2563EB);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

[data-theme="dark"] .help-hub-search-input {
  background: #0F172A;
  border-color: #334155;
  color: #F8FAFC;
}

[data-theme="dark"] .help-hub-search-input:focus {
  border-color: #3B82F6;
  background: #1E293B;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.help-hub-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted, #94A3B8);
  cursor: pointer;
  padding: 4px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.help-hub-search-clear.visible {
  display: flex;
}

.help-hub-search-clear:hover {
  color: var(--brand-blue, #2563EB);
}

/* Category Filter Pills */
.help-hub-category-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.help-category-pill {
  background: transparent;
  color: var(--text-muted, #64748B);
  border: 1px solid var(--border-color, #CBD5E1);
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.help-category-pill:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: var(--brand-blue, #2563EB);
  color: var(--brand-blue, #2563EB);
}

.help-category-pill.active {
  background: var(--brand-blue, #2563EB);
  color: #FFFFFF;
  border-color: var(--brand-blue, #2563EB);
}

/* Drawer Scrollable Content Body */
.help-hub-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.15rem 1.35rem 2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Quick Tour Launch Banner Card */
.help-tour-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(29, 78, 216, 0.12) 100%);
  border: 1.5px solid var(--brand-blue, #2563EB);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

[data-theme="dark"] .help-tour-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(29, 78, 216, 0.25) 100%);
  border-color: #3B82F6;
}

.help-tour-banner-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--brand-blue, #1D4ED8);
}

[data-theme="dark"] .help-tour-banner-header {
  color: #93C5FD;
}

.help-tour-banner-header svg {
  stroke: var(--brand-blue, #2563EB);
}

.help-tour-banner-desc {
  font-size: 0.82rem;
  color: var(--text-muted, #475569);
  line-height: 1.45;
}

[data-theme="dark"] .help-tour-banner-desc {
  color: #CBD5E1;
}

.btn-launch-tour-from-hub {
  align-self: flex-start;
  background: var(--brand-blue, #2563EB);
  color: #FFFFFF;
  border: 1px solid var(--brand-blue, #2563EB);
  border-radius: 6px;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-launch-tour-from-hub:hover {
  background: #1D4ED8;
  border-color: #1D4ED8;
}

/* Feature Guide Cards */
.help-section-label {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-blue, #2563EB);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

[data-theme="dark"] .help-section-label {
  color: #60A5FA;
}

.help-feature-card {
  background: var(--bg-card, #FFFFFF);
  border: 1px solid var(--border-color, #E2E8F0);
  border-left: 3.5px solid var(--brand-blue, #2563EB);
  border-radius: 10px;
  padding: 0.95rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: all 0.18s ease;
}

.help-feature-card:hover {
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
  border-color: var(--brand-blue, #2563EB);
}

[data-theme="dark"] .help-feature-card {
  background: #1E293B;
  border-color: #334155;
  border-left-color: #3B82F6;
}

[data-theme="dark"] .help-feature-card:hover {
  border-color: #60A5FA;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.help-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.help-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-blue, #2563EB);
  display: flex;
  align-items: center;
  gap: 7px;
}

[data-theme="dark"] .help-card-title {
  color: #60A5FA;
}

.help-card-title svg {
  stroke: var(--brand-blue, #2563EB);
  flex-shrink: 0;
}

.help-card-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-blue, #2563EB);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  white-space: nowrap;
}

[data-theme="dark"] .help-card-badge {
  background: rgba(59, 130, 246, 0.15);
  color: #93C5FD;
  border-color: rgba(96, 165, 250, 0.3);
}

.help-card-desc {
  font-size: 0.81rem;
  line-height: 1.45;
  color: var(--text-muted, #475569);
}

[data-theme="dark"] .help-card-desc {
  color: #94A3B8;
}

.help-card-takeaways {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.help-card-takeaways li {
  font-size: 0.77rem;
  color: var(--text-main, #334155);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}

[data-theme="dark"] .help-card-takeaways li {
  color: #CBD5E1;
}

.help-card-takeaways li svg {
  stroke: var(--brand-blue, #2563EB);
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-show-in-app {
  align-self: flex-start;
  margin-top: 0.35rem;
  background: transparent;
  color: var(--brand-blue, #2563EB);
  border: 1px solid var(--brand-blue, #2563EB);
  border-radius: 6px;
  padding: 0.32rem 0.75rem;
  font-size: 0.77rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-show-in-app:hover {
  background: rgba(37, 99, 235, 0.08);
}

[data-theme="dark"] .btn-show-in-app {
  color: #60A5FA;
  border-color: #60A5FA;
}

[data-theme="dark"] .btn-show-in-app:hover {
  background: rgba(59, 130, 246, 0.12);
}

/* FAQs & Concepts Accordion Card */
.help-faq-card {
  background: var(--bg-card, #FFFFFF);
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.18s ease;
}

[data-theme="dark"] .help-faq-card {
  background: #1E293B;
  border-color: #334155;
}

.help-faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-main, 'Inter', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main, #0F172A);
  transition: background 0.15s ease;
}

[data-theme="dark"] .help-faq-trigger {
  color: #F8FAFC;
}

.help-faq-trigger:hover {
  background: rgba(37, 99, 235, 0.04);
}

.help-faq-trigger svg {
  stroke: var(--brand-blue, #2563EB);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.help-faq-card.open .help-faq-trigger svg {
  transform: rotate(180deg);
}

.help-faq-content {
  display: none;
  padding: 0 1rem 0.95rem 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted, #475569);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .help-faq-content {
  color: #94A3B8;
  border-top-color: rgba(255, 255, 255, 0.05);
}

.help-faq-card.open .help-faq-content {
  display: block;
}

/* Empty Search Results Message */
.help-hub-empty-state {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted, #64748B);
}

.help-hub-empty-state.visible {
  display: block;
}

.help-hub-empty-state svg {
  stroke: var(--brand-blue, #2563EB);
  margin-bottom: 0.65rem;
}

.help-hub-empty-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main, #0F172A);
  margin-bottom: 0.35rem;
}

[data-theme="dark"] .help-hub-empty-title {
  color: #F8FAFC;
}

/* 4. "Show Me in App" Contextual Spotlight Tooltip */
#help-spotlight-tooltip {
  position: fixed;
  z-index: 1080;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: var(--bg-card, #FFFFFF);
  color: var(--text-main, #0F172A);
  border: 2px solid var(--brand-blue, #2563EB);
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.22);
  padding: 1.05rem 1.15rem;
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-family: var(--font-main, 'Inter', -apple-system, sans-serif);
}

#help-spotlight-tooltip.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

[data-theme="dark"] #help-spotlight-tooltip {
  background: #1E293B;
  color: #F8FAFC;
  border-color: #3B82F6;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.help-spotlight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.help-spotlight-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--brand-blue, #2563EB);
  display: flex;
  align-items: center;
  gap: 7px;
}

[data-theme="dark"] .help-spotlight-title {
  color: #60A5FA;
}

.help-spotlight-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted, #475569);
  margin-bottom: 0.85rem;
}

[data-theme="dark"] .help-spotlight-desc {
  color: #94A3B8;
}

.help-spotlight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.btn-spotlight-back {
  background: transparent;
  color: var(--brand-blue, #2563EB);
  border: 1px solid var(--brand-blue, #2563EB);
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  font-size: 0.77rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.btn-spotlight-back:hover {
  background: rgba(37, 99, 235, 0.08);
}

.btn-spotlight-done {
  background: var(--brand-blue, #2563EB);
  color: #FFFFFF;
  border: 1px solid var(--brand-blue, #2563EB);
  border-radius: 6px;
  padding: 0.35rem 0.85rem;
  font-size: 0.77rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-spotlight-done:hover {
  background: #1D4ED8;
  border-color: #1D4ED8;
}

/* 5. Mobile Responsive Bottom Sheet Drawer (<= 768px) */
@media (max-width: 768px) {
  /* Elevate floating trigger above mobile bottom navigation bar */
  #btn-floating-help-hub {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    padding: 0.55rem 0.95rem;
    font-size: 0.82rem;
  }

  /* Slide up from bottom on mobile instead of sliding from right */
  #help-hub-drawer {
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 82vh !important;
    height: 82dvh !important;
    border-left: none !important;
    border-top: 2.5px solid var(--brand-blue, #2563EB) !important;
    border-radius: 18px 18px 0 0 !important;
    transform: translateY(100%);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  #help-hub-drawer.active {
    transform: translateY(0) !important;
  }

  .help-hub-body {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  }

  /* Mobile Spotlight Tooltip: Fixed Bottom Dock */
  #help-spotlight-tooltip {
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    border-radius: 16px 16px 0 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-top: 2px solid var(--brand-blue, #2563EB) !important;
    padding-bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.28) !important;
    transform: translateY(100%);
  }

  #help-spotlight-tooltip.active {
    transform: translateY(0) !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   INSTANT ANALYSIS OVERLAY (IAO) — Post-Paper Immediate Results
   Uses .iao-* namespace exclusively. Never conflicts with .tab-content.
   ═══════════════════════════════════════════════════════════════════ */

@keyframes iaoSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

@keyframes iaoBarGrow {
  from { width: 0% !important; }
}

.iao-card {
  background: var(--card-bg, #ffffff);
  border-radius: 18px;
  max-width: 900px;
  width: calc(100% - 2rem);
  margin: 2rem auto;
  box-shadow: 0 32px 64px -12px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.08);
  overflow: hidden;
  animation: iaoSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Header */
.iao-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 45%, #2563eb 100%);
  padding: 1.5rem 1.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.iao-header-left { flex: 1; min-width: 0; }
.iao-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #DBEAFE;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 8px;
}
.iao-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 4px;
  line-height: 1.25;
}
.iao-subtitle {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.iao-close-btn {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.iao-close-btn:hover { background: rgba(255,255,255,0.22); }

/* Hero Score Strip */
.iao-hero-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
}
.iao-score-box {
  padding: 1.15rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border-color, #e2e8f0);
}
.iao-score-box:last-child { border-right: none; }
.iao-score-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted, #64748b);
  margin-bottom: 6px;
}
.iao-score-val {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
  margin-bottom: 5px;
}
.iao-score-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
}
.iao-score-primary .iao-score-val { color: #1D4ED8; }
.iao-score-blue    .iao-score-val { color: #2563EB; }
.iao-score-green   .iao-score-val { color: #16A34A; }
.iao-score-amber   .iao-score-val { color: #D97706; }

/* Section block */
.iao-section-block {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
}
.iao-section-heading {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 7px;
}
.iao-table-wrap { overflow-x: auto; }
.iao-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
}
.iao-table thead tr {
  background: var(--bg-hover, #f8fafc);
  border-bottom: 2px solid var(--border-color, #cbd5e1);
}
.iao-table th {
  padding: 8px 10px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted, #64748b);
  text-align: left;
  white-space: nowrap;
}
.iao-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
  color: var(--text-main, #334155);
}
.iao-tc { text-align: center !important; }
.iao-tr { text-align: right !important; }
.iao-cleared-badge {
  display: inline-block;
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.iao-needs-badge {
  display: inline-block;
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Two-column layout */
.iao-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
}
.iao-panel {
  padding: 1.25rem 1.75rem;
}
.iao-panel:first-child {
  border-right: 1px solid var(--border-color, #e2e8f0);
}
.iao-panel-heading {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  margin: 0 0 0.75rem;
}

/* Topic pills */
.iao-topic-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
}
.iao-topic-empty {
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
}
.iao-topic-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.8rem;
  padding: 5px 9px;
  border-radius: 6px;
  border-left: 3px solid transparent;
}
.iao-topic-row.mastered   { background: #F0FDF4; border-color: #16A34A; }
.iao-topic-row.moderate   { background: #FFFBEB; border-color: #D97706; }
.iao-topic-row.critical   { background: #FEF2F2; border-color: #DC2626; }
.iao-topic-name { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iao-topic-pct  { font-weight: 800; font-size: 0.78rem; white-space: nowrap; }
.iao-topic-row.mastered .iao-topic-pct { color: #16A34A; }
.iao-topic-row.moderate .iao-topic-pct { color: #D97706; }
.iao-topic-row.critical  .iao-topic-pct { color: #DC2626; }

/* Difficulty bars */
.iao-diff-list { display: flex; flex-direction: column; gap: 10px; }
.iao-diff-row  { display: flex; align-items: center; gap: 8px; }
.iao-diff-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: 54px;
  flex-shrink: 0;
}
.iao-diff-label.easy   { color: #16A34A; }
.iao-diff-label.medium { color: #D97706; }
.iao-diff-label.hard   { color: #DC2626; }
.iao-diff-bar-bg {
  flex: 1;
  height: 10px;
  background: var(--bg-hover, #f1f5f9);
  border-radius: 5px;
  overflow: hidden;
}
.iao-diff-bar {
  height: 100%;
  border-radius: 5px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  animation: iaoBarGrow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.iao-diff-bar.easy   { background: linear-gradient(90deg, #4ADE80, #16A34A); }
.iao-diff-bar.medium { background: linear-gradient(90deg, #FCD34D, #D97706); }
.iao-diff-bar.hard   { background: linear-gradient(90deg, #F87171, #DC2626); }
.iao-diff-pct {
  font-size: 0.78rem;
  font-weight: 800;
  width: 34px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Bleeders */
.iao-bleeders { display: flex; flex-direction: column; gap: 6px; }
.iao-bleeder-ok {
  font-size: 0.8rem;
  color: #16A34A;
  font-weight: 600;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 6px;
  padding: 8px 10px;
}
.iao-bleeder-item {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 6px;
  padding: 7px 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.78rem;
}
.iao-bleeder-topic { font-weight: 700; color: #B91C1C; }
.iao-bleeder-meta  { font-size: 0.72rem; color: #78350F; }
.iao-bleeder-cost  { font-weight: 800; color: #DC2626; white-space: nowrap; }

/* Action buttons */
.iao-actions {
  padding: 1.25rem 1.75rem;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
  background: var(--bg-base, #f8fafc);
  border-top: 1px solid var(--border-color, #e2e8f0);
}
.iao-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  box-shadow: 0 4px 12px -2px rgba(37,99,235,0.4);
  transition: transform 0.12s, box-shadow 0.12s;
}
.iao-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -2px rgba(37,99,235,0.5);
}
.iao-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: transparent;
  color: var(--text-main, #0f172a);
  font-size: 0.875rem;
  font-weight: 700;
  border: 1.5px solid var(--border-color, #cbd5e1);
  border-radius: 9px;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
}
.iao-btn-outline:hover {
  border-color: #2563EB;
  background: rgba(37,99,235,0.05);
  color: #2563EB;
}

/* Responsive: collapse to single column at ≤ 640px */
@media (max-width: 640px) {
  .iao-card { width: calc(100% - 1rem); margin: 0.5rem auto; border-radius: 14px; }
  .iao-header { padding: 1.1rem 1.1rem 1rem; }
  .iao-title { font-size: 1.1rem; }
  .iao-hero-strip { grid-template-columns: repeat(2, 1fr); }
  .iao-score-box:nth-child(2) { border-right: none; }
  .iao-score-box:nth-child(3) { border-top: 1px solid var(--border-color, #e2e8f0); }
  .iao-score-val { font-size: 1.4rem; }
  .iao-two-col { grid-template-columns: 1fr; }
  .iao-panel:first-child { border-right: none; border-bottom: 1px solid var(--border-color, #e2e8f0); }
  .iao-section-block, .iao-panel { padding: 1rem 1.1rem; }
  .iao-actions { padding: 1rem 1.1rem; justify-content: stretch; }
  .iao-btn-primary, .iao-btn-outline { width: 100%; justify-content: center; }
}

/* === FILE: bookmarks.css === */
/* ------------------------------------------------------------- */
/* CANDIDATE BOOKMARKS & REVISION HUB STYLES                      */
/* ------------------------------------------------------------- */

/* Bookmarks Hero Banner */
.bkm-hero-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.09) 0%, rgba(37, 99, 235, 0.08) 100%);
  border: 1.5px solid var(--border-color, #e2e8f0);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.bkm-hero-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.35rem;
}

.bkm-hero-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  letter-spacing: -0.3px;
  margin: 0;
}

.bkm-hero-tag {
  background: #F59E0B;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bkm-hero-sub {
  font-size: 0.88rem;
  color: var(--text-muted, #64748b);
  max-width: 620px;
  line-height: 1.45;
  margin: 0;
}

.bkm-stats-container {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.bkm-stat-pill {
  background: var(--bg-card, #ffffff);
  border: 1.5px solid var(--border-color, #e2e8f0);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  min-width: 90px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.bkm-stat-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-blue, #2563EB);
  font-family: var(--font-mono, monospace);
  font-feature-settings: 'tnum' 1;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.bkm-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 3px;
}

/* Quick Action Buttons Header */
.bkm-actions-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-bkm-drill {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
}

.btn-bkm-drill:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.btn-bkm-drill:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-bkm-clear {
  background: var(--bg-card, #ffffff);
  color: #DC2626;
  border: 1px solid #FECACA;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.52rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-bkm-clear:hover:not(:disabled) {
  background: #FEF2F2;
  border-color: #F87171;
}

.btn-bkm-clear:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Filter Toolbar */
.bkm-filter-toolbar {
  background: var(--bg-card, #ffffff);
  border: 1.5px solid var(--border-color, #e2e8f0);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bkm-filter-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.bkm-search-wrap {
  position: relative;
  flex: 1 1 240px;
  min-width: 220px;
}

.bkm-search-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.bkm-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.52rem 0.75rem 0.52rem 2.2rem;
  font-size: 0.88rem;
  border: 1px solid var(--border-color, #cbd5e1);
  border-radius: 8px;
  background: var(--bg-base, #f8fafc);
  color: var(--text-main, #0f172a);
  transition: border-color 0.2s;
}

.bkm-search-input:focus {
  outline: none;
  border-color: var(--brand-blue, #2563EB);
  background: var(--bg-card, #ffffff);
}

.bkm-select {
  padding: 0.52rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-color, #cbd5e1);
  border-radius: 8px;
  background: var(--bg-card, #ffffff);
  color: var(--text-main, #0f172a);
  cursor: pointer;
  min-width: 140px;
}

/* Quick Filter Pills */
.bkm-pills-row {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
}

.bkm-pill-btn {
  background: var(--bg-hover, #f1f5f9);
  color: var(--text-muted, #475569);
  border: 1px solid transparent;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bkm-pill-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.bkm-pill-btn.active {
  background: #2563EB;
  color: #ffffff;
  border-color: #2563EB;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

/* Question Cards Grid */
.bkm-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bkm-q-card {
  background: var(--card-bg, #ffffff);
  border: 1.5px solid var(--border-color, #e2e8f0);
  border-radius: 12px;
  padding: 1.4rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.bkm-q-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.bkm-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.bkm-meta-chips {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}

.bkm-badge-subject {
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-blue, #2563EB);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.bkm-badge-diff {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.bkm-diff-easy {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.bkm-diff-medium {
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.bkm-diff-hard {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.bkm-badge-paper {
  background: var(--bg-hover, #f1f5f9);
  color: var(--text-muted, #64748b);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-color, #e2e8f0);
}

.bkm-card-actions {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.btn-bkm-card-remove {
  background: transparent;
  color: var(--text-muted, #94a3b8);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.btn-bkm-card-remove:hover {
  background: #FEF2F2;
  color: #DC2626;
  border-color: #F87171;
}

.bkm-q-statement {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-main, #0f172a);
  margin-bottom: 1rem;
  font-weight: 500;
}

.bkm-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.bkm-option-item {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--border-color, #e2e8f0);
  background: var(--bg-base, #f8fafc);
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-main, #334155);
}

.bkm-option-item.correct {
  background: #ECFDF5;
  border-color: #10B981;
  color: #065F46;
  font-weight: 700;
}

/* Shortcut Trick Box in Card */
.bkm-shortcut-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: #78350F;
}

.bkm-shortcut-tag {
  background: #F59E0B;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 1px;
}

/* Explanation Box in Card */
.bkm-explanation-box {
  background: var(--bg-hover, #f8fafc);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.86rem;
  color: var(--text-main, #334155);
  line-height: 1.5;
}

/* Empty State */
.bkm-empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--card-bg, #ffffff);
  border-radius: 14px;
  border: 1.5px dashed var(--border-color, #cbd5e1);
}

.bkm-empty-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.bkm-empty-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  margin-bottom: 0.4rem;
}

.bkm-empty-desc {
  font-size: 0.9rem;
  color: var(--text-muted, #64748b);
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

/* Candidate Personal Notes / Scribble Pad Button States: Outline & Active Purple Gradient */
.btn-sim-notes-outline {
  border: 1.5px solid #7C3AED !important;
  color: #6D28D9 !important;
  background: rgba(124, 58, 237, 0.05) !important;
  font-weight: 700 !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.85rem !important;
}

.btn-sim-notes-outline:hover {
  background: rgba(124, 58, 237, 0.14) !important;
  border-color: #6D28D9 !important;
  color: #5B21B6 !important;
  transform: translateY(-1px);
}

.btn-sim-notes-active {
  border: 1.5px solid #6D28D9 !important;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%) !important;
  font-weight: 800 !important;
  padding: 0.55rem 1.15rem !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.85rem !important;
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.45), 0 0 0 3px rgba(139, 92, 246, 0.25) !important;
  animation: flagPulse 0.3s ease-out;
}

.btn-sim-notes-active:hover {
  background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%) !important;
  border-color: #4C1D95 !important;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.55), 0 0 0 4px rgba(139, 92, 246, 0.35) !important;
  transform: translateY(-1px);
}

/* Quick Mnemonic Chips */
.mnemonic-chip {
  background: var(--bg-card, #FFFFFF);
  border: 1px solid var(--border-color, #CBD5E1);
  color: var(--text-main, #0F172A);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mnemonic-chip:hover {
  border-color: #7C3AED;
  color: #6D28D9;
  background: rgba(124, 58, 237, 0.05);
}

.mnemonic-chip.active {
  background: #6D28D9;
  border-color: #6D28D9;
  color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(109, 40, 217, 0.3);
}

/* Personal Study Note Box in Card & Scorecard */
.bkm-note-box {
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.86rem;
  color: var(--text-main, #1e1b4b);
  line-height: 1.5;
  transition: all 0.2s ease;
}

.bkm-note-tag {
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-bkm-note-edit {
  background: none;
  border: 1px solid #7C3AED;
  color: #6D28D9;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-bkm-note-edit:hover {
  background: #6D28D9;
  color: #FFFFFF;
}

.bkm-note-text {
  margin: 6px 0 4px;
  font-size: 0.86rem;
  color: var(--text-main, #0F172A);
}

.bkm-note-time {
  font-size: 0.72rem;
  color: var(--text-muted, #64748B);
  display: block;
}

.candidate-note-card {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.28);
  border-radius: 8px;
  color: var(--text-main, #1e1b4b);
}

/* ============================================================= */
/* OFFLINE MOCK DOWNLOAD & PWA ZERO-INTERNET EXAM MODE STYLES     */
/* ============================================================= */

#offline-network-banner {
  transition: all 0.3s ease-in-out;
  animation: slideDownBanner 0.3s ease-out;
}

@keyframes slideDownBanner {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.btn-offline-download {
  background: var(--bg-card, #FFFFFF);
  border: 1.5px solid var(--border-color, #CBD5E1);
  color: var(--text-muted, #475569);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-offline-download:hover {
  border-color: #10B981;
  color: #065F46;
  background: rgba(16, 185, 129, 0.08);
}

.btn-offline-ready {
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid #10B981;
  color: #065F46;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-offline-ready:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #EF4444;
  color: #DC2626;
}

.offline-ready-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

/* SMS OTP Login Method Tabs & Controls */
.signin-method-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 1.15rem;
  background: var(--bg-card-subtle, #F1F5F9);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--border-color, #E2E8F0);
}

.signin-method-tab {
  flex: 1;
  padding: 8px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  color: var(--text-muted, #64748B);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.signin-method-tab.active {
  background: var(--bg-card, #FFFFFF);
  color: var(--text-main, #0F172A);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .signin-method-tabs {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
}

[data-theme="dark"] .signin-method-tab {
  color: #94A3B8;
}

[data-theme="dark"] .signin-method-tab.active {
  background: #08261E;
  color: #A7F3D0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.sms-country-code-pill {
  padding: 0.65rem 0.85rem;
  background: var(--bg-card-subtle, #F1F5F9);
  border: 1px solid var(--border-color, #CBD5E1);
  border-radius: 8px;
  font-weight: 700;
  color: var(--text-main, #1E293B);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
}

[data-theme="dark"] .sms-country-code-pill {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #F8FAFC;
}

.sms-otp-target-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  color: var(--text-main, #1E293B);
}

[data-theme="dark"] .sms-otp-target-banner {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #E2E8F0;
}

/* === FILE: public-proof.css === */
.public-proof-widget {
  background: linear-gradient(135deg, rgba(8, 38, 30, 0.04) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.06);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="dark"] .public-proof-widget {
  background: linear-gradient(135deg, rgba(8, 38, 30, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.public-proof-widget:hover {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.12);
}

.public-proof-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(16, 185, 129, 0.18);
}

.public-proof-badge-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.public-proof-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--status-green, #10B981);
  box-shadow: 0 0 10px var(--status-green, #10B981);
  animation: proofPulse 2s infinite ease-in-out;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes proofPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.public-proof-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main, #0F172A);
  letter-spacing: -0.01em;
}

[data-theme="dark"] .public-proof-title {
  color: #F8FAFC;
}

.public-proof-verified-pill {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 2px 8px;
  border-radius: 9999px;
}

[data-theme="dark"] .public-proof-verified-pill {
  background: rgba(16, 185, 129, 0.2);
  color: #6EE7B7;
  border-color: rgba(52, 211, 153, 0.4);
}

.public-proof-subtext {
  font-size: 0.75rem;
  color: var(--text-muted, #64748B);
  font-weight: 500;
}

.public-proof-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.proof-metric-box {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  padding: 0.9rem 0.85rem;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(8px);
}

[data-theme="dark"] .proof-metric-box {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(51, 65, 85, 0.7);
}

.proof-metric-box:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.35);
}

.proof-metric-box.highlight-green:hover {
  border-color: rgba(16, 185, 129, 0.5);
}

.proof-metric-box.highlight-gold:hover {
  border-color: rgba(245, 158, 11, 0.5);
}

.proof-metric-num {
  font-family: var(--font-mono, monospace);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main, #0F172A);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.3rem;
}

[data-theme="dark"] .proof-metric-num {
  color: #F8FAFC;
}

.proof-metric-box.highlight-green .proof-metric-num {
  color: #059669;
}

[data-theme="dark"] .proof-metric-box.highlight-green .proof-metric-num {
  color: #34D399;
}

.proof-metric-box.highlight-gold .proof-metric-num {
  color: #D97706;
}

[data-theme="dark"] .proof-metric-box.highlight-gold .proof-metric-num {
  color: #FBBF24;
}

.proof-metric-lbl {
  font-size: 0.74rem;
  color: var(--text-muted, #64748B);
  font-weight: 600;
  text-transform: capitalize;
  line-height: 1.25;
}

.public-proof-leap-strip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-size: 0.825rem;
  color: var(--text-main, #0F172A);
  flex-wrap: wrap;
}

[data-theme="dark"] .public-proof-leap-strip {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
  color: #F8FAFC;
}

.proof-leap-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.proof-leap-content {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.proof-leap-label {
  font-weight: 600;
  color: var(--text-muted, #64748B);
}

[data-theme="dark"] .proof-leap-label {
  color: #94A3B8;
}

.proof-leap-values {
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  color: #059669;
  letter-spacing: -0.01em;
}

[data-theme="dark"] .proof-leap-values {
  color: #34D399;
}

.proof-leap-candidate {
  font-size: 0.77rem;
  color: var(--text-muted, #64748B);
  font-weight: 500;
}

.pricing-trust-proof-strip {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.07) 0%, rgba(37, 99, 235, 0.06) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  padding: 0.7rem 1.15rem;
  margin: 0 auto 1.75rem auto;
  max-width: 880px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: var(--text-main, #0F172A);
  text-align: center;
  flex-wrap: wrap;
}

[data-theme="dark"] .pricing-trust-proof-strip {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: #F8FAFC;
}

@media (max-width: 768px) {
  .public-proof-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  .public-proof-widget {
    padding: 1rem 1rem;
  }
}

@media (max-width: 480px) {
  .public-proof-metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .proof-metric-num {
    font-size: 1.3rem;
  }
  .public-proof-leap-strip {
    font-size: 0.78rem;
    padding: 0.55rem 0.75rem;
  }
}


