/* ==========================================================================
   TAKAMOL SVP - WORLD-CLASS WHITE THEME & ULTRA MOBILE RESPONSIVE
   Crafted with Desi touch by CodeNoksha (https://codenoksha.online/)
   Zero Emojis - Pure Vector SVGs & FontAwesome 6
   ========================================================================== */

:root {
  --bg-body: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-subtle: #f1f5f9;
  --bg-card: #ffffff;
  
  --emerald-950: #022c22;
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;

  --gold-700: #b45309;
  --gold-600: #d97706;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-100: #fef3c7;
  --gold-50: #fffbeb;

  --slate-950: #090d16;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.08), 0 6px 16px -2px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 20px 40px -10px rgba(6, 95, 70, 0.12);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans Bengali', 'Hind Siliguri', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--slate-800);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--slate-900);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   NAVBAR (Desktop & Mobile)
   ========================================================================== */
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition);
}

.nav-wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(6, 95, 70, 0.25);
  flex-shrink: 0;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-950);
  line-height: 1.15;
}

.brand-title span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.8px;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--slate-600);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--emerald-800);
  background: var(--emerald-50);
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile Hamburger Button */
.mobile-toggle-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: #ffffff;
  color: var(--slate-800);
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
}

/* Mobile Slide-in Drawer */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2500;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 2600;
  box-shadow: -8px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 24px;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--slate-200);
  margin-bottom: 20px;
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.mobile-drawer-links a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--slate-800);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-drawer-links a:hover,
.mobile-drawer-links a.active {
  background: var(--emerald-50);
  color: var(--emerald-800);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-600) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(6, 95, 70, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-800) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(6, 95, 70, 0.32);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-600) 0%, var(--gold-500) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

.btn-outline {
  border-color: var(--slate-300);
  background: #ffffff;
  color: var(--slate-800);
}

.btn-outline:hover {
  background: var(--bg-surface);
  border-color: var(--emerald-700);
  color: var(--emerald-800);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   HERO SECTION (Clean White with Custom Illustration)
   ========================================================================== */
.hero-wrapper {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(209, 250, 229, 0.45) 0%, rgba(255, 255, 255, 0) 60%),
              radial-gradient(circle at 10% 80%, rgba(254, 243, 199, 0.35) 0%, rgba(255, 255, 255, 0) 50%);
  border-bottom: 1px solid var(--slate-200);
  padding: 70px 24px 80px;
  overflow: hidden;
}

.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  color: var(--emerald-800);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--slate-950);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-title .text-emerald {
  color: var(--emerald-800);
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--slate-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Custom 3D Illustration Container */
.hero-illustration-box {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-glow);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-illustration-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -10px rgba(6, 95, 70, 0.18);
  border-color: var(--emerald-500);
}

.illustration-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gold-600);
  color: #ffffff;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.35);
}

/* ==========================================================================
   SECTIONS & GRIDS
   ========================================================================== */
.section-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 24px;
}

.sec-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.sec-tag {
  color: var(--gold-600);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}

.sec-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: var(--slate-950);
  margin-bottom: 12px;
}

.sec-desc {
  font-size: 1.05rem;
  color: var(--slate-600);
}

.cards-3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--emerald-500);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--emerald-50);
  color: var(--emerald-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--slate-900);
}

.feature-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   MEMBERSHIP PRICING CARDS
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-500);
}

.pricing-card.popular {
  border: 2px solid var(--emerald-600);
  box-shadow: var(--shadow-md);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-600) 100%);
  color: #ffffff;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--slate-900);
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 22px;
  min-height: 44px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--slate-200);
}

.plan-currency {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--emerald-800);
}

.plan-price {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--slate-950);
}

.plan-validity {
  font-size: 0.9rem;
  color: var(--slate-500);
  font-weight: 600;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--slate-700);
}

.plan-features li i {
  color: var(--emerald-600);
  margin-top: 4px;
  font-size: 15px;
  flex-shrink: 0;
}

/* ==========================================================================
   CODE NOKSHA BRANDING BADGE
   ========================================================================== */
.codenoksha-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: #ffffff;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-full);
  color: var(--slate-800);
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.codenoksha-badge-link:hover {
  background: var(--emerald-50);
  border-color: var(--emerald-600);
  color: var(--emerald-900);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(6, 95, 70, 0.15);
}

.codenoksha-badge-link strong {
  color: var(--emerald-800);
}

.codenoksha-badge-link i {
  color: var(--gold-600);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer-clean {
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid var(--slate-200);
  padding: 50px 24px 30px;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-100);
  font-size: 0.88rem;
  color: var(--slate-500);
}

/* ==========================================================================
   ALERTS & NOTICES
   ========================================================================== */
.flash-alert {
  max-width: 1240px;
  margin: 16px auto 0;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.flash-alert.success {
  background: var(--emerald-50);
  border: 1px solid var(--emerald-500);
  color: var(--emerald-950);
}

.flash-alert.error {
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

.flash-alert.warning {
  background: var(--gold-50);
  border: 1px solid var(--gold-500);
  color: #92400e;
}

/* ==========================================================================
   ADMIN LAYOUT & TABLES
   ========================================================================== */
.admin-shell {
  display: flex;
  min-height: 100vh;
  background: var(--bg-surface);
}

.admin-sidebar {
  width: 280px;
  background: #ffffff;
  border-right: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
}

.admin-brand {
  padding: 22px 24px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-nav {
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  flex: 1;
}

.admin-nav a {
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  color: var(--slate-600);
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
  background: var(--emerald-50);
  color: var(--emerald-800);
}

.admin-nav a i {
  font-size: 16px;
  width: 22px;
  text-align: center;
}

.admin-main {
  flex: 1;
  padding: 30px 36px;
  overflow-y: auto;
  min-width: 0;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  background: #ffffff;
  padding: 18px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  flex-wrap: wrap;
  gap: 16px;
}

.data-table-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-custom {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}

.table-custom th,
.table-custom td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.92rem;
  text-align: left;
}

.table-custom th {
  background: var(--bg-surface);
  color: var(--slate-700);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.table-custom tr:hover td {
  background: var(--bg-surface);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE SYSTEM (Phones 320px-480px, Tablets 768px-1024px)
   ========================================================================== */

/* Shared Utility Classes */
.feature-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.cat-scroll-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.cat-scroll-container::-webkit-scrollbar {
  height: 4px;
}
.cat-scroll-container::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: 4px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

/* Tablet Breakpoint (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .feature-split-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-split-grid > div:first-child {
    order: 1;
  }
  .feature-split-grid > div:last-child {
    order: 2;
  }

  .admin-shell {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    height: auto;
    position: static;
  }

  .admin-main {
    padding: 20px 16px;
  }
}

/* Mobile Devices Breakpoint (max-width: 768px) */
@media (max-width: 768px) {
  .site-navbar {
    padding: 0;
  }

  .nav-wrap {
    padding: 10px 14px;
  }

  .brand-icon-box {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-title span {
    font-size: 0.65rem;
  }

  .nav-menu {
    display: none !important;
  }

  .nav-desktop-only {
    display: none !important;
  }

  .mobile-toggle-btn {
    display: flex !important;
  }

  .hero-wrapper {
    padding: 32px 14px 44px;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.96rem;
    margin-bottom: 22px;
  }

  .hero-pill {
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  .hero-illustration-box {
    padding: 14px;
  }

  .section-wrapper {
    padding: 44px 14px;
  }

  .sec-header {
    margin-bottom: 32px;
  }

  .sec-title {
    font-size: 1.6rem;
  }

  .sec-desc {
    font-size: 0.92rem;
  }

  .cards-3col,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .pricing-card {
    padding: 26px 20px;
  }

  .plan-name {
    font-size: 1.25rem;
  }

  .plan-price {
    font-size: 2.3rem;
  }

  .footer-top-row,
  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .admin-topbar {
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .options-container {
    grid-template-columns: 1fr !important;
  }

  .q-card-item {
    padding: 18px 16px !important;
  }
}

/* Small Smartphone Breakpoint (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.65rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn,
  .hero-actions button {
    width: 100%;
  }

  .btn-lg {
    padding: 12px 20px;
    font-size: 0.98rem;
  }

  .nav-buttons .btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .mobile-drawer {
    width: 270px;
    padding: 18px 14px;
  }

  .mobile-drawer-links a {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .table-custom th,
  .table-custom td {
    padding: 10px 12px;
    font-size: 0.82rem;
  }
}



/* ==========================================================================
   MOBILE & TOUCH OPTIMIZATIONS FOR CBT SIMULATOR & TRADE NAVIGATION
   ========================================================================== */
.site-trade-ribbon a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(37, 99, 235, 0.2);
}

.cbt-opt-card {
  touch-action: manipulation;
}

@media (max-width: 640px) {
  .site-navbar .nav-wrap {
    padding: 8px 12px;
  }

  .nav-buttons {
    gap: 8px;
  }

  .nav-buttons .btn {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .site-trade-ribbon {
    padding: 6px 10px !important;
  }

  .site-trade-ribbon > div {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .site-trade-ribbon .trade-links-wrap {
    width: 100%;
    justify-content: flex-start;
  }

  /* CBT Quiz adjustments for small phones */
  .cbt-container {
    width: 100%;
    padding: 0;
  }

  .cbt-shell {
    border-radius: var(--radius-md) !important;
  }

  .cbt-opt-card {
    padding: 12px 14px;
    gap: 10px;
  }

  .cbt-opt-circle {
    width: 30px;
    height: 30px;
    font-size: 0.82rem;
  }

  /* Setup Screen Buttons */
  .category-select-grid {
    grid-template-columns: 1fr !important;
  }

  .cat-select-card {
    padding: 12px 14px !important;
  }

  .count-grid {
    grid-template-columns: 1fr !important;
  }
}
