/* ==========================================================================
   BandoChap Design System & Modern UI Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Brand Theme */
  --primary: #2563EB;
  --primary-glow: rgba(37, 99, 235, 0.25);
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;
  --accent-gradient: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
  --hero-gradient: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 50%, #EFF6FF 100%);

  /* Telco Palettes */
  --voda-red: #E60000;
  --voda-glow: rgba(230, 0, 0, 0.2);
  --tigo-blue: #00377B;
  --tigo-yellow: #FFD100;
  --tigo-glow: rgba(0, 55, 123, 0.2);
  --airtel-red: #FF0000;
  --airtel-glow: rgba(255, 0, 0, 0.2);
  --halo-orange: #FF7900;
  --halo-glow: rgba(255, 121, 0, 0.2);

  /* Luminous White & 4-Color Mixed Palette (Default) */
  --bg-main: #F8FAFC;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --border-subtle: rgba(226, 232, 240, 0.95);
  --border-focus: #2563EB;

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #94A3B8;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 10px 30px rgba(37, 99, 235, 0.12);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Optional Dark Theme Switcher Mode */
body.theme-dark {
  --bg-main: #060913;
  --bg-card: rgba(14, 20, 36, 0.75);
  --bg-card-hover: rgba(20, 28, 48, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-focus: #38BDF8;

  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --shadow-card: 0 12px 35px -8px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(37, 99, 235, 0.25);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Top 4-Color Network Spectrum Ribbon (Red, Orange, White, Blue) */
.quad-ribbon-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, 
    #E60000 0%, 
    #FF7900 25%, 
    #FFFFFF 50%, 
    #0066FF 75%, 
    #E60000 100%
  );
  background-size: 200% 100%;
  animation: ribbonSlide 6s linear infinite;
  z-index: 1000;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.4), 0 0 30px rgba(0, 102, 255, 0.35);
}

@keyframes ribbonSlide {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* 4-Color Ambient Aurora Light Engine */
.telco-aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #FFFFFF 0%, #F8FAFC 45%, #EFF6FF 100%);
  transition: background 0.5s ease;
}

body.theme-dark .telco-aurora-bg {
  background: #060913;
}

/* 🔴 Red Orb: Vodacom & Airtel Radiance */
.aurora-orb.orb-red {
  position: absolute;
  top: -8vh;
  left: -8vw;
  width: 58vw;
  height: 58vw;
  max-width: 820px;
  max-height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(239, 68, 68, 0.22) 0%, 
    rgba(244, 63, 94, 0.12) 35%, 
    rgba(239, 68, 68, 0.03) 65%, 
    transparent 80%
  );
  filter: blur(65px);
  animation: driftRed 18s ease-in-out infinite alternate;
  will-change: transform, opacity;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

body.theme-dark .aurora-orb.orb-red {
  background: radial-gradient(circle, 
    rgba(230, 0, 0, 0.30) 0%, 
    rgba(220, 38, 38, 0.16) 35%, 
    rgba(230, 0, 0, 0.04) 65%, 
    transparent 80%
  );
}

/* 🔵 Blue Orb: Yas Electric Royal Blue */
.aurora-orb.orb-blue {
  position: absolute;
  top: -12vh;
  right: -8vw;
  width: 62vw;
  height: 62vw;
  max-width: 880px;
  max-height: 880px;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(14, 165, 233, 0.24) 0%, 
    rgba(37, 99, 235, 0.14) 35%, 
    rgba(59, 130, 246, 0.04) 65%, 
    transparent 80%
  );
  filter: blur(70px);
  animation: driftBlue 22s ease-in-out infinite alternate;
  will-change: transform, opacity;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

body.theme-dark .aurora-orb.orb-blue {
  background: radial-gradient(circle, 
    rgba(0, 102, 255, 0.32) 0%, 
    rgba(14, 165, 233, 0.18) 35%, 
    rgba(37, 99, 235, 0.05) 65%, 
    transparent 80%
  );
}

/* 🟠 Orange Orb: Halotel Sunset Amber */
.aurora-orb.orb-orange {
  position: absolute;
  top: 40vh;
  left: -4vw;
  width: 52vw;
  height: 52vw;
  max-width: 740px;
  max-height: 740px;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(249, 115, 22, 0.22) 0%, 
    rgba(255, 121, 0, 0.12) 38%, 
    rgba(251, 146, 60, 0.03) 65%, 
    transparent 80%
  );
  filter: blur(65px);
  animation: driftOrange 20s ease-in-out infinite alternate;
  will-change: transform, opacity;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

body.theme-dark .aurora-orb.orb-orange {
  background: radial-gradient(circle, 
    rgba(255, 121, 0, 0.28) 0%, 
    rgba(249, 115, 22, 0.14) 38%, 
    rgba(251, 146, 60, 0.04) 65%, 
    transparent 80%
  );
}

/* ⚪ White Orb: Luminous Pure White Center Bloom */
.aurora-orb.orb-white {
  position: absolute;
  top: 10vh;
  left: 25vw;
  width: 50vw;
  height: 45vw;
  max-width: 750px;
  max-height: 650px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(255, 255, 255, 0.6) 35%, 
    rgba(255, 255, 255, 0.1) 60%, 
    transparent 75%
  );
  filter: blur(55px);
  animation: pulseWhite 14s ease-in-out infinite alternate;
  will-change: transform, opacity;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

body.theme-dark .aurora-orb.orb-white {
  background: radial-gradient(ellipse at center, 
    rgba(255, 255, 255, 0.22) 0%, 
    rgba(241, 245, 249, 0.10) 35%, 
    rgba(255, 255, 255, 0.03) 60%, 
    transparent 75%
  );
}

/* High-Tech Ambient Overlay */
.aurora-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(15, 23, 42, 0.05) 1.2px, transparent 1.2px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, rgba(248, 250, 252, 0.85) 100%);
  background-size: 34px 34px, 100% 100%;
  opacity: 0.9;
}

body.theme-dark .aurora-grid-overlay {
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px),
    linear-gradient(to bottom, rgba(6, 9, 19, 0.15) 0%, rgba(6, 9, 19, 0.8) 100%);
  opacity: 0.85;
}

/* Keyframe Animations for Fluid Breathing Motion */
@keyframes driftRed {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8vw, 14vh) scale(1.14); }
  100% { transform: translate(-4vw, 9vh) scale(0.94); }
}

@keyframes driftBlue {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10vw, 16vh) scale(1.18); }
  100% { transform: translate(5vw, 7vh) scale(0.92); }
}

@keyframes driftOrange {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12vw, -10vh) scale(1.12); }
  100% { transform: translate(4vw, 12vh) scale(0.95); }
}

@keyframes pulseWhite {
  0% { transform: translate(0, 0) scale(1); opacity: 0.75; }
  50% { transform: translate(-5vw, -5vh) scale(1.16); opacity: 1; }
  100% { transform: translate(5vw, 6vh) scale(0.88); opacity: 0.65; }
}

/* Reactive Network Shift Modes (When customer filters network) */
body[data-active-network="vodacom"] .orb-red {
  opacity: 1;
  transform: translate(18vw, 12vh) scale(1.35);
  filter: blur(50px);
}
body[data-active-network="vodacom"] .orb-blue,
body[data-active-network="vodacom"] .orb-orange {
  opacity: 0.3;
}

body[data-active-network="yas"] .orb-blue {
  opacity: 1;
  transform: translate(-22vw, 12vh) scale(1.35);
  filter: blur(50px);
}
body[data-active-network="yas"] .orb-red,
body[data-active-network="yas"] .orb-orange {
  opacity: 0.3;
}

body[data-active-network="airtel"] .orb-red {
  opacity: 1;
  transform: translate(22vw, 14vh) scale(1.35);
  filter: blur(50px);
}
body[data-active-network="airtel"] .orb-blue,
body[data-active-network="airtel"] .orb-orange {
  opacity: 0.3;
}

body[data-active-network="halotel"] .orb-orange {
  opacity: 1;
  transform: translate(26vw, -16vh) scale(1.4);
  filter: blur(50px);
}
body[data-active-network="halotel"] .orb-red,
body[data-active-network="halotel"] .orb-blue {
  opacity: 0.3;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  transition: background 0.3s ease, border-color 0.3s ease;
}

body.theme-dark .navbar {
  background: rgba(11, 15, 25, 0.85);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.logo-brand span.accent {
  color: #2563EB;
}

body.theme-dark .logo-brand span.accent {
  color: #38BDF8;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-track-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: var(--transition-fast);
}

.btn-track-nav:hover {
  background: #FFFFFF;
  border-color: #2563EB;
  color: #2563EB;
  transform: translateY(-1px);
}

body.theme-dark .btn-track-nav {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

body.theme-dark .btn-track-nav:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFF;
}

/* Theme Toggle Button (Light / Dark) */
.btn-theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-theme-toggle:hover {
  background: #FFFFFF;
  transform: rotate(15deg) scale(1.08);
  border-color: #2563EB;
  color: #2563EB;
}

body.theme-dark .btn-theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #F8FAFC;
}

body.theme-dark .btn-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FBBF24;
}

.lang-switch {
  display: flex;
  background: rgba(241, 245, 249, 0.95);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

body.theme-dark .lang-switch {
  background: rgba(0, 0, 0, 0.4);
}

.lang-btn {
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.lang-btn.active {
  background: #2563EB;
  color: #FFF;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.btn-admin-link {
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 0.45rem;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.btn-admin-link:hover {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.05);
}

body.theme-dark .btn-admin-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero-section {
  padding: 3.5rem 0 2rem;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  color: #60A5FA;
  margin-bottom: 1.25rem;
  animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(37, 99, 235, 0.2); }
  50% { box-shadow: 0 0 25px rgba(37, 99, 235, 0.45); }
}

/* 4-Network Flagship Showcase Strip (Vodacom, Yas, Airtel, Halotel) */
.hero-telco-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 auto 1.75rem;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.theme-dark .hero-telco-strip {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.telco-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.theme-dark .telco-badge-pill {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: #F8FAFC;
  box-shadow: none;
}

.telco-badge-pill img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
}

.telco-badge-pill .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.telco-badge-pill .dot-red {
  background: #E60000;
  box-shadow: 0 0 10px #E60000;
}

.telco-badge-pill .dot-blue {
  background: #0066FF;
  box-shadow: 0 0 10px #0066FF;
}

.telco-badge-pill .dot-orange {
  background: #FF7900;
  box-shadow: 0 0 10px #FF7900;
}

.telco-badge-pill:hover {
  transform: translateY(-2px) scale(1.05);
  background: #FFFFFF;
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body.theme-dark .telco-badge-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.telco-badge-pill[data-hero-net="vodacom"]:hover { border-color: rgba(230, 0, 0, 0.6); box-shadow: 0 0 15px rgba(230, 0, 0, 0.35); }
.telco-badge-pill[data-hero-net="yas"]:hover { border-color: rgba(0, 102, 255, 0.6); box-shadow: 0 0 15px rgba(0, 102, 255, 0.35); }
.telco-badge-pill[data-hero-net="airtel"]:hover { border-color: rgba(255, 0, 0, 0.6); box-shadow: 0 0 15px rgba(255, 0, 0, 0.35); }
.telco-badge-pill[data-hero-net="halotel"]:hover { border-color: rgba(255, 121, 0, 0.6); box-shadow: 0 0 15px rgba(255, 121, 0, 0.35); }

.telco-badge-pill.active {
  transform: translateY(-2px) scale(1.05);
  background: #FFFFFF;
}
body.theme-dark .telco-badge-pill.active {
  background: rgba(255, 255, 255, 0.15);
}
.telco-badge-pill[data-hero-net="vodacom"].active { border-color: #E60000; box-shadow: 0 0 16px rgba(230, 0, 0, 0.5); }
.telco-badge-pill[data-hero-net="yas"].active { border-color: #0066FF; box-shadow: 0 0 16px rgba(0, 102, 255, 0.5); }
.telco-badge-pill[data-hero-net="airtel"].active { border-color: #FF0000; box-shadow: 0 0 16px rgba(255, 0, 0, 0.5); }
.telco-badge-pill[data-hero-net="halotel"].active { border-color: #FF7900; box-shadow: 0 0 16px rgba(255, 121, 0, 0.5); }

.hero-title {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 860px;
  margin: 0 auto 1.35rem;
}

/* 4-Color Vibrant Shimmer Highlight (Red, Orange, White, Blue) */
.hero-title span.highlight {
  background: linear-gradient(135deg, 
    #FF3344 0%, 
    #FF8C00 28%, 
    #2563EB 54%, 
    #00A2FF 82%, 
    #FF3344 100%
  );
  background-size: 260% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: spectrumShine 7s linear infinite;
  display: inline-block;
  font-weight: 900;
  filter: drop-shadow(0 2px 10px rgba(37, 99, 235, 0.15));
}

body.theme-dark .hero-title span.highlight {
  background: linear-gradient(135deg, 
    #FF3344 0%, 
    #FF8C00 28%, 
    #FFFFFF 54%, 
    #00A2FF 82%, 
    #FF3344 100%
  );
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.25));
}

@keyframes spectrumShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 260% 50%; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.2rem;
  line-height: 1.65;
}

/* Quick Trust Stats Bar */
.trust-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

body.theme-dark .trust-item {
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.trust-item i {
  color: #2563EB;
}

body.theme-dark .trust-item i {
  color: #38BDF8;
}

/* Search & Network Selector Section */
.controls-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}

body.theme-dark .controls-card {
  background: rgba(18, 24, 38, 0.7);
}

.search-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
}

.search-input-wrapper i {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

.search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

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

body.theme-dark .search-input {
  background: rgba(255, 255, 255, 0.05);
  color: #FFF;
}

body.theme-dark .search-input:focus {
  border-color: #38BDF8;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.sort-select {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
}

.sort-select option {
  background: #FFFFFF;
  color: #0F172A;
}

body.theme-dark .sort-select {
  background: rgba(255, 255, 255, 0.05);
  color: #FFF;
}

body.theme-dark .sort-select option {
  background: #0F172A;
  color: #FFF;
}

/* Telco Network Pills */
.networks-filter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.net-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

body.theme-dark .net-pill {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.pill-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.telco-brand-icon {
  width: 100%;
  height: 100%;
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.net-pill:hover {
  background: #FFFFFF;
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

body.theme-dark .net-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.net-pill.active {
  background: rgba(255, 255, 255, 0.98);
  border-color: #2563EB;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

body.theme-dark .net-pill.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.net-pill[data-network="all"].active {
  background: linear-gradient(135deg, 
    rgba(230, 0, 0, 0.12) 0%, 
    rgba(255, 121, 0, 0.12) 32%, 
    rgba(255, 255, 255, 0.85) 62%, 
    rgba(0, 102, 255, 0.15) 100%
  );
  border-color: #2563EB;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
  color: #0F172A;
}

body.theme-dark .net-pill[data-network="all"].active {
  background: linear-gradient(135deg, 
    rgba(230, 0, 0, 0.22) 0%, 
    rgba(255, 121, 0, 0.22) 32%, 
    rgba(255, 255, 255, 0.16) 62%, 
    rgba(0, 102, 255, 0.25) 100%
  );
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.25), 0 0 15px rgba(255, 121, 0, 0.25);
  color: #FFFFFF;
}

.net-pill[data-network="vodacom"].active {
  background: rgba(230, 0, 0, 0.1);
  border-color: var(--voda-red);
  color: #B91C1C;
  box-shadow: 0 4px 15px rgba(230, 0, 0, 0.18);
}

body.theme-dark .net-pill[data-network="vodacom"].active {
  background: rgba(230, 0, 0, 0.2);
  color: #FFA5A5;
  box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

.net-pill[data-network="yas"].active,
.net-pill[data-network="tigo"].active {
  background: rgba(0, 102, 255, 0.1);
  border-color: #0066FF;
  color: #1D4ED8;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.18);
}

body.theme-dark .net-pill[data-network="yas"].active,
body.theme-dark .net-pill[data-network="tigo"].active {
  background: rgba(0, 102, 255, 0.25);
  border-color: #38BDF8;
  color: #93C5FD;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.35);
}

.net-pill[data-network="airtel"].active {
  background: rgba(255, 0, 0, 0.1);
  border-color: var(--airtel-red);
  color: #B91C1C;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.18);
}

body.theme-dark .net-pill[data-network="airtel"].active {
  background: rgba(255, 0, 0, 0.2);
  color: #FFA5A5;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.net-pill[data-network="halotel"].active {
  background: rgba(255, 121, 0, 0.12);
  border-color: var(--halo-orange);
  color: #C2410C;
  box-shadow: 0 4px 15px rgba(255, 121, 0, 0.18);
}

body.theme-dark .net-pill[data-network="halotel"].active {
  background: rgba(255, 121, 0, 0.22);
  border-color: var(--halo-orange);
  color: #FDBA74;
  box-shadow: 0 4px 15px rgba(255, 121, 0, 0.3);
}

/* Validity Tabs */
.validity-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.tab-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-main);
  background: #FFFFFF;
  border-color: rgba(37, 99, 235, 0.3);
}

body.theme-dark .tab-btn {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

body.theme-dark .tab-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.tab-btn.active {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFF;
  border-color: #3B82F6;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}

/* Bundle Catalogue Grid */
.bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 4rem;
}

/* Bundle Card with Glassmorphic 4-Color Refraction */
.bundle-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

body.theme-dark .bundle-card {
  background: rgba(14, 20, 36, 0.72);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bundle-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 16px 35px -8px rgba(0, 0, 0, 0.1);
}

body.theme-dark .bundle-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7);
}

/* Specific card accents */
.bundle-card.card-vodacom:hover { 
  border-color: rgba(230, 0, 0, 0.5); 
  box-shadow: 0 14px 35px -5px rgba(230, 0, 0, 0.2), 0 0 25px rgba(230, 0, 0, 0.1); 
}
.bundle-card.card-airtel:hover { 
  border-color: rgba(255, 0, 0, 0.5); 
  box-shadow: 0 14px 35px -5px rgba(255, 0, 0, 0.2), 0 0 25px rgba(255, 0, 0, 0.1); 
}
.bundle-card.card-yas:hover,
.bundle-card.card-tigo:hover { 
  border-color: rgba(37, 99, 235, 0.55); 
  box-shadow: 0 14px 35px -5px rgba(0, 102, 255, 0.22), 0 0 25px rgba(56, 189, 248, 0.15); 
}
.bundle-card.card-halotel:hover { 
  border-color: rgba(255, 121, 0, 0.55); 
  box-shadow: 0 14px 35px -5px rgba(255, 121, 0, 0.22), 0 0 25px rgba(255, 121, 0, 0.15); 
}

.badge-ribbon {
  position: absolute;
  top: 0.85rem;
  right: -30px;
  background: linear-gradient(135deg, #EF4444, #F59E0B);
  color: #FFF;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 2rem;
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.05em;
}

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

.network-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.net-logo-badge {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  padding: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.net-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

body.theme-dark .net-logo-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.bundle-card:hover .net-logo-badge {
  transform: scale(1.08) rotate(-2deg);
}

.net-logo-badge.vodacom {
  background: rgba(230, 0, 0, 0.08);
  border-color: rgba(230, 0, 0, 0.3);
}

.net-logo-badge.yas,
.net-logo-badge.tigo {
  background: rgba(0, 102, 255, 0.08);
  border-color: rgba(37, 99, 235, 0.3);
}

.net-logo-badge.airtel {
  background: rgba(255, 0, 0, 0.08);
  border-color: rgba(255, 0, 0, 0.3);
}

.net-logo-badge.halotel {
  background: rgba(255, 121, 0, 0.08);
  border-color: rgba(255, 121, 0, 0.3);
}

body.theme-dark .net-logo-badge.vodacom {
  background: rgba(230, 0, 0, 0.14);
  border-color: rgba(230, 0, 0, 0.4);
}

body.theme-dark .net-logo-badge.yas,
body.theme-dark .net-logo-badge.tigo {
  background: rgba(0, 55, 123, 0.25);
  border-color: rgba(56, 189, 248, 0.4);
}

body.theme-dark .net-logo-badge.airtel {
  background: rgba(255, 0, 0, 0.14);
  border-color: rgba(255, 0, 0, 0.4);
}

body.theme-dark .net-logo-badge.halotel {
  background: rgba(255, 121, 0, 0.14);
  border-color: rgba(255, 121, 0, 0.4);
}

.modal-net-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  display: inline-block;
  vertical-align: middle;
}

.pay-method-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 6px;
  display: inline-block;
  vertical-align: middle;
}

.net-name {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-main);
}

.validity-chip {
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

body.theme-dark .validity-chip {
  background: rgba(255, 255, 255, 0.05);
}

.card-main {
  margin-bottom: 1.25rem;
}

.data-badge {
  margin-bottom: 0.4rem;
}

.data-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -0.02em;
}

.bundle-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.bundle-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
  min-height: 2.3rem;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0;
  border-top: 1px dashed var(--border-subtle);
  border-bottom: 1px dashed var(--border-subtle);
  margin-bottom: 1.15rem;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.785rem;
  color: var(--text-muted);
}

.feat-item i {
  color: #2563EB;
  font-size: 0.8rem;
  width: 14px;
}

body.theme-dark .feat-item i {
  color: #38BDF8;
}

.card-pricing {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-box .currency {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.price-box .amount {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #2563EB;
}

body.theme-dark .price-box .amount {
  color: #38BDF8;
}

.orig-price {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.discount-pill {
  font-size: 0.725rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

body.theme-dark .discount-pill {
  color: #34D399;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.btn-buy {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--accent-gradient);
  color: #FFF;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  transition: var(--transition-fast);
}

.btn-buy:hover {
  opacity: 0.92;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.btn-ask-ai {
  padding: 0.75rem 0.9rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-md);
  color: #2563EB;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.btn-ask-ai:hover {
  background: rgba(37, 99, 235, 0.18);
  border-color: #2563EB;
}

body.theme-dark .btn-ask-ai {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  color: #38BDF8;
}

body.theme-dark .btn-ask-ai:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38BDF8;
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
}

.empty-icon {
  font-size: 2.8rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.btn-reset {
  margin-top: 1rem;
  padding: 0.5rem 1.25rem;
  background: #2563EB;
  color: #FFF;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* ==========================================================================
   AI Floating Button & Assistant Chat Drawer
   ========================================================================== */
.ai-fab-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  color: #FFF;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.45);
  font-weight: 700;
  font-size: 0.925rem;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-fab-btn:hover {
  transform: scale(1.05);
}

.ai-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #EF4444;
  color: #FFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-full);
  border: 2px solid #0B0F19;
}

/* AI Chat Drawer / Widget */
.ai-chat-drawer {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 380px;
  max-width: calc(100vw - 2rem);
  height: 560px;
  max-height: calc(100vh - 7rem);
  background: #0F172A;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  z-index: 95;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-chat-drawer.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.ai-chat-header {
  padding: 1rem 1.25rem;
  background: rgba(30, 41, 59, 0.8);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-bot-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ai-bot-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 1rem;
}

.ai-bot-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.ai-bot-status {
  font-size: 0.725rem;
  color: #10B981;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ai-bot-status::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
}

.btn-close-chat {
  color: var(--text-muted);
  font-size: 1.1rem;
  padding: 0.25rem;
  transition: var(--transition-fast);
}

.btn-close-chat:hover {
  color: #FFF;
}

.ai-chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #0B0F19;
}

/* Chat Messages */
.ai-msg {
  display: flex;
  gap: 0.5rem;
  max-width: 90%;
}

.ai-msg.bot {
  align-self: flex-start;
}

.ai-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.bot-avatar {
  width: 28px;
  height: 28px;
  background: #2563EB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.msg-bubble {
  padding: 0.75rem 0.95rem;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.45;
}

.ai-msg.bot .msg-bubble {
  background: #1E293B;
  color: #F1F5F9;
  border-bottom-left-radius: 4px;
}

.ai-msg.user .msg-bubble {
  background: #2563EB;
  color: #FFF;
  border-bottom-right-radius: 4px;
}

.msg-time {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
  text-align: right;
}

.ai-msg.user .msg-time {
  color: rgba(255, 255, 255, 0.7);
}

/* Suggestions & Chips */
.ai-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.ai-chip {
  padding: 0.35rem 0.65rem;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60A5FA;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.ai-chip:hover {
  background: #2563EB;
  color: #FFF;
}

/* Recommended Bundles in Chat */
.ai-bundle-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.ai-bundle-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
}

.ai-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.ai-gb {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #38BDF8;
}

.ai-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #E2E8F0;
}

.ai-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.35rem 0;
}

.ai-card-price {
  font-weight: 700;
  color: #FFF;
}

.ai-btn-buy {
  width: 100%;
  padding: 0.4rem;
  background: #2563EB;
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* Typing indicator */
.typing-indicator .dots {
  display: flex;
  gap: 4px;
  padding: 4px 0;
}

.typing-indicator .dots span {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}

.typing-indicator .dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator .dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.ai-chat-input-area {
  padding: 0.75rem 1rem;
  background: #1E293B;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 0.5rem;
}

.ai-input-field {
  flex: 1;
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.6rem 1rem;
  color: #FFF;
  font-size: 0.875rem;
  outline: none;
}

.ai-input-field:focus {
  border-color: #38BDF8;
}

.ai-send-btn {
  width: 38px;
  height: 38px;
  background: #2563EB;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.ai-send-btn:hover {
  background: #1D4ED8;
}

/* ==========================================================================
   Checkout Modal & Steps Wizard
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-dark .modal-container {
  background: #0F172A;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

@keyframes modalScaleUp {
  from { transform: scale(0.95) translateY(10px); }
  to { transform: scale(1) translateY(0); }
}

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

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

.btn-modal-close {
  color: var(--text-muted);
  font-size: 1.25rem;
}

/* Step Indicators */
.step-indicators-bar {
  display: flex;
  padding: 0.85rem 1.5rem;
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  gap: 0.5rem;
}

body.theme-dark .step-indicators-bar {
  background: rgba(255, 255, 255, 0.02);
}

.step-indicator-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
}

.step-indicator-item .ind-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

body.theme-dark .step-indicator-item .ind-num {
  background: rgba(255, 255, 255, 0.06);
}

.step-indicator-item.active {
  color: #2563EB;
}

body.theme-dark .step-indicator-item.active {
  color: #38BDF8;
}

.step-indicator-item.active .ind-num {
  background: #2563EB;
  color: #FFF;
}

.step-indicator-item.completed {
  color: #10B981;
}

.step-indicator-item.completed .ind-num {
  background: #10B981;
  color: #FFF;
}

.modal-body {
  padding: 1.5rem;
}

.checkout-step-pane {
  display: none;
}

.checkout-step-pane.active {
  display: block;
}

/* Summary Box */
.selected-bundle-summary {
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

body.theme-dark .selected-bundle-summary {
  background: rgba(255, 255, 255, 0.04);
}

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

.net-tag {
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.net-tag.net-vodacom { background: rgba(230, 0, 0, 0.15); color: #B91C1C; border: 1px solid var(--voda-red); }
.net-tag.net-airtel { background: rgba(255, 0, 0, 0.15); color: #B91C1C; border: 1px solid var(--airtel-red); }
.net-tag.net-tigo { background: rgba(0, 102, 255, 0.15); color: #1D4ED8; border: 1px solid #2563EB; }
.net-tag.net-halotel { background: rgba(255, 121, 0, 0.15); color: #C2410C; border: 1px solid var(--halo-orange); }

body.theme-dark .net-tag.net-vodacom { background: rgba(230, 0, 0, 0.2); color: #FFA5A5; }
body.theme-dark .net-tag.net-airtel { background: rgba(255, 0, 0, 0.2); color: #FFA5A5; }
body.theme-dark .net-tag.net-tigo { background: rgba(0, 55, 123, 0.3); color: #93C5FD; border-color: #38BDF8; }
body.theme-dark .net-tag.net-halotel { background: rgba(255, 121, 0, 0.25); color: #FDBA74; }

.s-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #2563EB;
}

body.theme-dark .s-price {
  color: #38BDF8;
}

.s-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.s-meta {
  font-size: 0.785rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
}

/* Form Groups */
.form-group {
  margin-bottom: 1.25rem;
}

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

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

body.theme-dark .form-input {
  background: rgba(255, 255, 255, 0.05);
  color: #FFF;
}

body.theme-dark .form-input:focus {
  border-color: #38BDF8;
  background: rgba(255, 255, 255, 0.08);
}

.detected-badge {
  font-size: 0.75rem;
  color: #10B981;
  margin-top: 0.35rem;
  display: none;
}

/* Order Review Card (Step 2 - Direct WhatsApp) */
.order-review-card {
  background: rgba(241, 245, 249, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

body.theme-dark .order-review-card {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(255, 255, 255, 0.08);
}

.order-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #38BDF8;
}

.review-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.review-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  padding: 0.25rem 0;
}

.review-item .r-label {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.review-item .r-value {
  color: var(--text-main);
  text-align: right;
  font-weight: 600;
}

body.theme-dark .review-item .r-value {
  color: #F8FAFC;
}

.review-item.highlight-phone {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  margin: 0.35rem 0;
}

body.theme-dark .review-item.highlight-phone {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.25);
}

.review-item.total-row {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-subtle);
}

/* WhatsApp Direct Notice Card */
.whatsapp-notice-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
}

body.theme-dark .whatsapp-notice-card {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
}

.whatsapp-notice-card .notice-icon {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.whatsapp-notice-card .notice-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #10B981;
  margin-bottom: 0.2rem;
}

.whatsapp-notice-card .notice-desc {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

body.theme-dark .whatsapp-notice-card .notice-desc {
  color: #CBD5E1;
}

.btn-whatsapp-complete {
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp-complete:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #28e06d 0%, #169b8c 100%);
}

/* Payment Instructions Card */
.payment-details-box {
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

body.theme-dark .payment-details-box {
  background: rgba(30, 41, 59, 0.6);
}

.pay-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  font-size: 0.875rem;
}

.pay-row:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.theme-dark .pay-row:not(:last-child) {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.pay-label {
  color: var(--text-muted);
}

.pay-number-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(37, 99, 235, 0.25);
  margin: 0.75rem 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

body.theme-dark .pay-number-box {
  background: #0B0F19;
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: none;
}

.pay-number-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #2563EB;
}

body.theme-dark .pay-number-val {
  color: #38BDF8;
}

.btn-copy-pay {
  padding: 0.45rem 0.85rem;
  background: #2563EB;
  color: #FFF;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ussd-guide-box {
  background: rgba(0, 0, 0, 0.04);
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  font-size: 0.785rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

body.theme-dark .ussd-guide-box {
  background: rgba(255, 255, 255, 0.03);
  color: #CBD5E1;
}

/* Slip Upload Area */
.slip-upload-area {
  border: 2px dashed rgba(37, 99, 235, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
  cursor: pointer;
  position: relative;
  background: rgba(37, 99, 235, 0.02);
  transition: var(--transition-fast);
}

.slip-upload-area:hover {
  border-color: #2563EB;
  background: rgba(37, 99, 235, 0.06);
}

body.theme-dark .slip-upload-area {
  border-color: rgba(255, 255, 255, 0.15);
  background: none;
}

body.theme-dark .slip-upload-area:hover {
  border-color: #38BDF8;
  background: rgba(56, 189, 248, 0.03);
}

.slip-upload-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.slip-upload-prompt i {
  font-size: 2rem;
  color: #2563EB;
}

body.theme-dark .slip-upload-prompt i {
  color: #38BDF8;
}

.slip-upload-prompt p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slip-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.slip-preview-container {
  position: relative;
}

.slip-preview-img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.btn-remove-slip {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #EF4444;
  color: #FFF;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* Step 3: Success Screen */
.success-screen {
  text-align: center;
  padding: 1rem 0;
}

.success-icon {
  width: 68px;
  height: 68px;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid #10B981;
  color: #10B981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
  animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.order-id-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid #2563EB;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #2563EB;
  margin: 0.75rem 0 1.25rem;
}

body.theme-dark .order-id-badge {
  background: rgba(37, 99, 235, 0.2);
  border-color: #38BDF8;
  color: #38BDF8;
}

.order-receipt-summary {
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

body.theme-dark .order-receipt-summary {
  background: rgba(255, 255, 255, 0.03);
}

.rcpt-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.85rem;
}

.rcpt-row .lbl { color: var(--text-muted); }
.rcpt-row .val { font-weight: 600; color: var(--text-main); }
body.theme-dark .rcpt-row .val { color: #FFF; }

.btn-whatsapp-dispatch {
  width: 100%;
  padding: 0.95rem;
  background: #25D366;
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: var(--transition-fast);
}

.btn-whatsapp-dispatch:hover {
  background: #22c35e;
  transform: translateY(-1px);
}

.btn-modal-action {
  width: 100%;
  padding: 0.85rem;
  background: #2563EB;
  color: #FFF;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-modal-action:hover {
  background: #1D4ED8;
}

/* Order Tracking Card */
.track-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.25rem;
  box-shadow: var(--shadow-card);
}

body.theme-dark .track-card {
  background: rgba(30, 41, 59, 0.7);
}

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

.track-order-id {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #2563EB;
  display: block;
}

body.theme-dark .track-order-id {
  color: #38BDF8;
}

.track-time {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.status-badge {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-pending { background: rgba(245, 158, 11, 0.15); color: #D97706; border: 1px solid #F59E0B; }
.badge-processing { background: rgba(37, 99, 235, 0.15); color: #2563EB; border: 1px solid #3B82F6; }
.badge-completed { background: rgba(16, 185, 129, 0.15); color: #059669; border: 1px solid #10B981; }
.badge-rejected { background: rgba(239, 68, 68, 0.15); color: #DC2626; border: 1px solid #EF4444; }

body.theme-dark .badge-pending { background: rgba(245, 158, 11, 0.2); color: #FBBF24; }
body.theme-dark .badge-processing { background: rgba(56, 189, 248, 0.2); color: #38BDF8; }
body.theme-dark .badge-completed { background: rgba(16, 185, 129, 0.2); color: #34D399; }
body.theme-dark .badge-rejected { background: rgba(239, 68, 68, 0.2); color: #F87171; }

.track-progress-bar {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 1.5rem 0;
}

.track-progress-bar::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--border-subtle);
  z-index: 0;
}

.track-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
}

.track-step .step-dot {
  width: 28px;
  height: 28px;
  background: #FFFFFF;
  border: 2px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}

body.theme-dark .track-step .step-dot {
  background: #1E293B;
}

.track-step.active {
  color: #2563EB;
}

body.theme-dark .track-step.active {
  color: #38BDF8;
}

.track-step.active .step-dot {
  background: #2563EB;
  border-color: #2563EB;
  color: #FFF;
}

body.theme-dark .track-step.active .step-dot {
  background: #2563EB;
  border-color: #38BDF8;
  color: #FFF;
}

.track-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  background: rgba(241, 245, 249, 0.85);
  padding: 0.85rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

body.theme-dark .track-details-grid {
  background: #0B0F19;
}

.td-item {
  display: flex;
  flex-direction: column;
}

.td-label { font-size: 0.725rem; color: var(--text-dim); }
.td-val { font-size: 0.85rem; color: var(--text-main); }
body.theme-dark .td-val { color: #E2E8F0; }

.btn-wa-track {
  width: 100%;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: #38BDF8;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.track-not-found {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
}

.track-not-found i {
  font-size: 2rem;
  color: #EF4444;
  margin-bottom: 0.5rem;
}

/* Toast System */
.toast-popup {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 120;
  background: #1E293B;
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateY(-50px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-popup.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-popup.success i { color: #10B981; }
.toast-popup.error i { color: #EF4444; }

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 2rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-muted);
  font-size: 0.85rem;
}

body.theme-dark .footer {
  background: rgba(11, 15, 25, 0.95);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  max-width: 320px;
  color: var(--text-muted);
}

body.theme-dark .footer-brand p {
  color: var(--text-dim);
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: #2563EB;
}

body.theme-dark .footer-links a:hover {
  color: #38BDF8;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.785rem;
  color: var(--text-muted);
}

body.theme-dark .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
}

/* ==========================================================================
   ADMIN PORTAL STYLING
   ========================================================================== */
.admin-body {
  background: #090D16;
  color: #F8FAFC;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: #0F172A;
  border-right: 1px solid var(--border-subtle);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 2rem;
  flex: 1;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(37, 99, 235, 0.15);
  color: #38BDF8;
}

.admin-main {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

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

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #0F172A;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.stat-card .stat-label {
  font-size: 0.785rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-card .stat-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFF;
  margin-top: 0.25rem;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

/* Orders Table */
.table-container {
  background: #0F172A;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

.admin-table th {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-weight: 600;
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.status-select {
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.785rem;
  font-weight: 700;
  border: 1px solid var(--border-subtle);
  background: #1E293B;
  color: #FFF;
  cursor: pointer;
}

.btn-view-slip {
  padding: 0.35rem 0.65rem;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38BDF8;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.action-buttons-cell {
  display: flex;
  gap: 0.4rem;
}

.btn-sm {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.btn-complete { background: #10B981; color: #FFF; }
.btn-wa-notify { background: #25D366; color: #000; }

.admin-bundle-item {
  background: #0F172A;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.admin-bundle-item .bundle-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.admin-bundle-item .bundle-item-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-edit-b {
  flex: 1;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  color: #FFF;
  font-size: 0.8rem;
}

.btn-delete-b {
  padding: 0.4rem 0.75rem;
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
  border-radius: 6px;
  font-size: 0.8rem;
}

.admin-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #1E293B;
  border: 1px solid #10B981;
  color: #FFF;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 200;
}

.admin-toast.show {
  opacity: 1;
  pointer-events: all;
}

/* ==========================================================================
   MOBILE & RESPONSIVE IMPROVEMENTS (2-COL CARDS & MODERN MOBILE ADMIN)
   ========================================================================== */

/* Mobile 2-Column Bundle Catalogue Grid (max-width: 640px) */
@media (max-width: 640px) {
  .bundles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
    margin-bottom: 2.5rem !important;
  }

  .bundle-card {
    padding: 0.75rem 0.6rem !important;
    border-radius: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .bundle-card .card-top {
    margin-bottom: 0.45rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .bundle-card .network-brand {
    gap: 0.35rem !important;
  }

  /* High Visibility Large Telco Logo on Mobile Cards */
  .bundle-card .net-logo-badge {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 4px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
  }

  .bundle-card .network-brand .net-name {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    max-width: 55px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bundle-card .validity-chip {
    font-size: 0.6rem !important;
    padding: 0.15rem 0.35rem !important;
    border-radius: 6px !important;
    white-space: nowrap;
  }

  .bundle-card .card-main {
    margin-bottom: 0.35rem !important;
  }

  .bundle-card .data-badge {
    margin-bottom: 0.2rem !important;
  }

  .bundle-card .data-badge .data-val {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
  }

  .bundle-card .bundle-name {
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.2rem !important;
    font-weight: 700 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Hide long descriptive paragraphs on 2-col cards for compact symmetry */
  .bundle-card .bundle-desc {
    display: none !important;
  }

  .bundle-card .card-features {
    margin: 0.4rem 0 !important;
    padding: 0.35rem 0 !important;
    gap: 0.2rem !important;
  }

  .bundle-card .card-features .feat-item {
    font-size: 0.65rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    gap: 0.25rem !important;
  }

  .bundle-card .card-features .feat-item i {
    font-size: 0.65rem !important;
    width: 12px;
  }

  .bundle-card .card-pricing {
    margin-bottom: 0.45rem !important;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: baseline !important;
  }

  .bundle-card .price-box .currency {
    font-size: 0.62rem !important;
  }

  .bundle-card .price-box .amount {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
  }

  .bundle-card .price-box .orig-price {
    font-size: 0.65rem !important;
  }

  .bundle-card .discount-pill {
    font-size: 0.58rem !important;
    padding: 0.1rem 0.35rem !important;
  }

  .bundle-card .card-actions {
    gap: 0.3rem !important;
    width: 100% !important;
  }

  .bundle-card .btn-buy {
    width: 100% !important;
    padding: 0.5rem 0.4rem !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
    gap: 0.25rem !important;
    font-weight: 700 !important;
  }

  .bundle-card .btn-buy i {
    font-size: 0.7rem !important;
  }

  .bundle-card .badge-ribbon {
    font-size: 0.5rem !important;
    padding: 0.12rem 1.1rem !important;
    right: -24px !important;
    top: 0.45rem !important;
  }
}

/* ==========================================================================
   MODERN MOBILE ADMIN DASHBOARD STYLES (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .search-row {
    flex-direction: column;
  }

  /* Admin Base Layout on Mobile */
  .admin-body {
    padding-bottom: 74px !important; /* Spacing for sticky bottom nav */
  }

  .admin-layout {
    flex-direction: column !important;
    min-height: 100vh;
  }

  /* Sticky Mobile Header */
  .admin-mobile-topbar {
    display: flex !important;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1rem;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  }

  .btn-mobile-toggle {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #F8FAFC;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .btn-mobile-toggle:active {
    transform: scale(0.92);
    background: rgba(56, 189, 248, 0.2);
  }

  /* Off-canvas Modern Drawer Sidebar */
  .admin-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 290px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    z-index: 60 !important;
    background: #0B1120 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 15px 0 45px rgba(0, 0, 0, 0.8) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 1.25rem !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .admin-sidebar.active {
    transform: translateX(0) !important;
  }

  /* Backdrop Overlay */
  .admin-sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .admin-sidebar-overlay.active {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Main Container on Mobile */
  .admin-main {
    padding: 1rem !important;
    width: 100% !important;
  }

  /* Hide redundant desktop-only admin-header on mobile */
  .admin-header {
    display: none !important;
  }

  /* Admin Stats Grid 2x2 on Mobile */
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    margin-bottom: 1.25rem !important;
  }

  .stat-card {
    padding: 0.85rem !important;
    border-radius: 12px !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
  }

  .stat-card .stat-value {
    font-size: 1.35rem !important;
  }

  .stat-card .stat-label {
    font-size: 0.68rem !important;
  }

  /* Modern Fixed Thumb Bottom Navigation */
  .admin-mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 64px !important;
    z-index: 45 !important;
    background: rgba(15, 23, 42, 0.96) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 0.5rem;
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.5);
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    color: #94A3B8;
    font-size: 0.68rem;
    font-weight: 600;
    gap: 0.25rem;
    flex: 1;
    padding: 0.4rem 0;
    transition: all 0.2s ease;
    border-radius: 8px;
  }

  .mobile-nav-item i {
    font-size: 1.15rem;
    transition: transform 0.2s ease;
  }

  .mobile-nav-item.active {
    color: #38BDF8 !important;
  }

  .mobile-nav-item.active i {
    transform: translateY(-2px);
  }

  /* Touch-friendly Table Scrolling */
  .table-container {
    border-radius: 12px !important;
    margin: 0 -0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    -webkit-overflow-scrolling: touch;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.75rem 0.65rem !important;
    font-size: 0.78rem !important;
    white-space: nowrap;
  }

  .status-select {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.72rem !important;
  }

  .btn-view-slip {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.7rem !important;
  }

  .action-buttons-cell .btn-sm {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.8rem !important;
  }
}

/* Hide Mobile-Only Elements on Desktop View */
@media (min-width: 769px) {
  .admin-mobile-topbar,
  .admin-mobile-bottom-nav,
  .admin-sidebar-overlay {
    display: none !important;
  }
}

/* ==========================================================================
   Live Activity Bar & FAQ Section
   ========================================================================== */
.live-activity-bar {
  display: flex;
  justify-content: center;
  margin: 1.5rem auto 3rem;
  max-width: 680px;
}

.live-activity-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

body.theme-dark .live-activity-inner {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  color: #E2E8F0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.live-pulse-dot {
  width: 9px;
  height: 9px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
  animation: pulseDot 2s infinite;
}

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

.live-label {
  font-weight: 800;
  color: #059669;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

body.theme-dark .live-label {
  color: #34D399;
}

.live-ticker-text {
  font-size: 0.825rem;
  color: var(--text-muted);
  transition: opacity 0.3s ease;
}

body.theme-dark .live-ticker-text {
  color: #CBD5E1;
}

.faq-section {
  max-width: 820px;
  margin: 0 auto 4rem;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

body.theme-dark .faq-item {
  background: rgba(18, 24, 38, 0.6);
  box-shadow: none;
}

.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.35);
}

body.theme-dark .faq-item:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.faq-question {
  padding: 1.1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
}

.faq-chevron {
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #2563EB;
}

body.theme-dark .faq-item.active .faq-chevron {
  color: #38BDF8;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 1.25rem 1.1rem;
}

/* ==========================================================================
   CUSTOMER COMMUNICATION & 3D SOCIAL MEDIA HUB
   ========================================================================== */
.contact-section {
  margin: 4.5rem auto 3rem;
  position: relative;
  z-index: 10;
}

.contact-card-glass {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  position: relative;
  overflow: hidden;
}

body.theme-dark .contact-card-glass {
  background: rgba(13, 19, 34, 0.78);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.contact-card-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #E60000 0%, #FF7900 30%, #FFFFFF 65%, #0066FF 100%);
}

.contact-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.contact-title {
  font-size: clamp(1.8rem, 3.8vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.contact-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Contact Channels 4-Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.contact-channel-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}

body.theme-dark .contact-channel-card {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.contact-channel-card:hover {
  transform: translateY(-5px);
  background: #FFFFFF;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

body.theme-dark .contact-channel-card:hover {
  background: rgba(255, 255, 255, 0.07);
}

.contact-channel-card.card-wa:hover {
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 12px 30px -5px rgba(37, 211, 102, 0.25);
}

.contact-channel-card.card-phone:hover {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 12px 30px -5px rgba(37, 99, 235, 0.25);
}

.contact-channel-card.card-email:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 12px 30px -5px rgba(245, 158, 11, 0.25);
}

.contact-channel-card.card-address:hover {
  border-color: rgba(244, 63, 94, 0.5);
  box-shadow: 0 12px 30px -5px rgba(244, 63, 94, 0.25);
}

/* 3D Glass Badges for Contact Cards */
.channel-icon-3d {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), inset 0 2px 2px rgba(255, 255, 255, 0.4), inset 0 -2px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease;
}

body.theme-dark .channel-icon-3d {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 2px 2px rgba(255, 255, 255, 0.35), inset 0 -2px 2px rgba(0, 0, 0, 0.4);
}

.contact-channel-card:hover .channel-icon-3d {
  transform: scale(1.1) rotate(-3deg);
}

.icon-3d-wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFF;
}

.icon-3d-phone {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFF;
}

.icon-3d-email {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFF;
}

.icon-3d-address {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  color: #FFF;
}

.channel-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.channel-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.channel-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.channel-val {
  font-size: 0.88rem;
  color: var(--text-muted);
  word-break: break-word;
}

.channel-action {
  font-size: 0.78rem;
  font-weight: 600;
  color: #2563EB;
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

body.theme-dark .channel-action {
  color: #38BDF8;
}

.channel-hours {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

/* 3D Social Media Hub */
.social-hub-box {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

body.theme-dark .social-hub-box {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.social-hub-title h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.social-hub-title p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.75rem;
}

.social-icons-3d-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* 3D Isometric/Glossy Social Buttons */
.social-3d-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
  perspective: 600px;
}

.social-3d-btn:hover {
  transform: translateY(-4px);
  color: var(--text-main);
}

.social-3d-cube {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #FFF;
  position: relative;
  transform: perspective(600px) rotateX(8deg) rotateY(-8deg);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  box-shadow: 
    0 10px 20px -3px rgba(0, 0, 0, 0.5), 
    inset 0 2px 2px rgba(255, 255, 255, 0.4), 
    inset 0 -3px 3px rgba(0, 0, 0, 0.4),
    3px 4px 0px rgba(0, 0, 0, 0.35);
}

.social-3d-btn:hover {
  transform: translateY(-4px);
  color: #FFF;
}

.social-3d-btn:hover .social-3d-cube {
  transform: perspective(600px) translateY(-6px) scale(1.12) rotateX(0deg) rotateY(0deg);
}

/* Brand-Specific 3D Glossy Cubes */
/* Instagram 3D */
.btn-3d-insta .social-3d-cube {
  background: radial-gradient(circle at 30% 30%, #FFDC80 0%, #FD1D1D 50%, #833AB4 100%);
  box-shadow: 0 12px 25px -4px rgba(225, 48, 108, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.45);
}
.btn-3d-insta:hover .social-3d-cube {
  box-shadow: 0 16px 30px rgba(225, 48, 108, 0.7);
}

/* TikTok 3D */
.btn-3d-tiktok .social-3d-cube {
  background: linear-gradient(145deg, #18181B 0%, #09090B 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    -3px -3px 15px rgba(0, 242, 254, 0.35), 
    3px 3px 15px rgba(254, 9, 121, 0.35),
    inset 0 2px 2px rgba(255, 255, 255, 0.3);
}
.btn-3d-tiktok:hover .social-3d-cube {
  box-shadow: 
    -4px -4px 20px rgba(0, 242, 254, 0.6), 
    4px 4px 20px rgba(254, 9, 121, 0.6);
}

/* Facebook 3D */
.btn-3d-facebook .social-3d-cube {
  background: linear-gradient(145deg, #1877F2 0%, #0C63D4 100%);
  box-shadow: 0 12px 25px -4px rgba(24, 119, 242, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.4);
}
.btn-3d-facebook:hover .social-3d-cube {
  box-shadow: 0 16px 30px rgba(24, 119, 242, 0.7);
}

/* X / Twitter 3D */
.btn-3d-twitter .social-3d-cube {
  background: linear-gradient(145deg, #27272A 0%, #09090B 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 25px -4px rgba(255, 255, 255, 0.18), inset 0 2px 2px rgba(255, 255, 255, 0.35);
}
.btn-3d-twitter:hover .social-3d-cube {
  box-shadow: 0 16px 30px rgba(255, 255, 255, 0.35);
}

/* Telegram 3D */
.btn-3d-telegram .social-3d-cube {
  background: linear-gradient(145deg, #2AABEE 0%, #1E96D1 100%);
  box-shadow: 0 12px 25px -4px rgba(42, 171, 238, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.4);
}
.btn-3d-telegram:hover .social-3d-cube {
  box-shadow: 0 16px 30px rgba(42, 171, 238, 0.7);
}

/* YouTube 3D */
.btn-3d-youtube .social-3d-cube {
  background: linear-gradient(145deg, #FF0000 0%, #CC0000 100%);
  box-shadow: 0 12px 25px -4px rgba(255, 0, 0, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.4);
}
.btn-3d-youtube:hover .social-3d-cube {
  box-shadow: 0 16px 30px rgba(255, 0, 0, 0.7);
}

/* ==========================================================================
   FLOATING 3D WHATSAPP ACTION WIDGET
   ========================================================================== */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-whatsapp-widget:hover {
  transform: translateY(-4px) scale(1.04);
}

.wa-widget-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 1.9rem;
  box-shadow: 
    0 12px 25px rgba(37, 211, 102, 0.45), 
    inset 0 2px 3px rgba(255, 255, 255, 0.5), 
    inset 0 -3px 3px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.wa-widget-pulse {
  position: absolute;
  top: 50%;
  right: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  transform: translateY(-50%);
  animation: waPulseRing 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  z-index: 1;
}

@keyframes waPulseRing {
  0% { transform: translateY(-50%) scale(0.95); opacity: 0.8; }
  100% { transform: translateY(-50%) scale(1.6); opacity: 0; }
}

.wa-widget-tooltip {
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.5rem 0.9rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transform: translateX(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.floating-whatsapp-widget:hover .wa-widget-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.tooltip-status {
  font-size: 0.68rem;
  font-weight: 700;
  color: #4ADE80;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 6px #4ADE80;
}

.tooltip-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #F8FAFC;
}

@media (max-width: 640px) {
  .floating-whatsapp-widget {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .wa-widget-badge {
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
  }
  .wa-widget-tooltip {
    display: none;
  }
  .contact-card-glass {
    padding: 1.75rem 1.15rem;
  }
}

/* ==========================================================================
   MOBILIPA DIRECT PAYMENT & USSD PUSH ANIMATIONS (SMART LIGHT THEME)
   ========================================================================== */
.ussd-waiting-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  color: #0F172A;
}

.waiting-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
}

.waiting-subtitle {
  font-size: 0.875rem;
  color: #475569;
}

.waiting-phone {
  color: #2563EB;
  font-size: 1rem;
}

.pin-alert-card {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  text-align: center;
}

.pin-alert-header {
  font-size: 0.875rem;
  font-weight: 700;
  color: #B45309;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.pin-alert-header i {
  color: #D97706;
  font-size: 0.95rem;
}

.pin-alert-amount {
  font-size: 0.8rem;
  color: #6B7280;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn-waiting-cancel {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #334155;
  transition: all 0.2s ease;
}

.btn-waiting-cancel:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.btn-waiting-confirm {
  background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
  border: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.btn-waiting-confirm:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #4338CA 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.cycle-wave-box {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wave-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(37, 99, 235, 0.35);
  pointer-events: none;
}

.wave-pulse-ring.wave-1 {
  width: 65px;
  height: 65px;
  animation: wavePulseExpand 2.2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.wave-pulse-ring.wave-2 {
  width: 65px;
  height: 65px;
  animation: wavePulseExpand 2.2s cubic-bezier(0.25, 1, 0.5, 1) 0.85s infinite;
}

@keyframes wavePulseExpand {
  0% {
    width: 55px;
    height: 55px;
    opacity: 0.95;
    border-color: rgba(37, 99, 235, 0.6);
  }
  100% {
    width: 95px;
    height: 95px;
    opacity: 0;
    border-color: rgba(37, 99, 235, 0);
  }
}

.spinner-cycle-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 3px solid #E2E8F0;
  border-top: 3px solid #2563EB;
  border-right: 3px solid #4F46E5;
  animation: cycleRingSpin 1.1s linear infinite;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

@keyframes cycleRingSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.center-lock-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

/* ==========================================================================
   SUCCESS CELEBRATION CARD & CONFETTI SPARKS (SMART LIGHT THEME)
   ========================================================================== */
.success-celebration-card {
  position: relative;
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
  border: 1px solid #BBF7D0;
  border-radius: 18px;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.1);
  color: #0F172A;
}

.success-3d-badge {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-check-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #059669);
  border: 3px solid #A7F3D0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes successPop {
  0% { transform: scale(0.3); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   3D TELEGRAM & TWITTER (X) ICONS & NOTICES
   ========================================================================== */
.social-3d-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed #BAE6FD;
}

.social-3d-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}

.social-3d-badge.telegram-3d {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  color: #FFFFFF;
  border: 1px solid #70C5F5;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.social-3d-badge.telegram-3d i {
  font-size: 1.1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.social-3d-badge.twitter-3d {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
  border: 1px solid #334155;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.social-3d-badge.twitter-3d i {
  font-size: 1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.social-3d-badge:hover {
  transform: translateY(-2px) scale(1.03);
}

.social-only-notice {
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  text-align: center;
  color: #92400E;
  font-size: 0.775rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.08);
}

/* ==========================================================================
   MANUAL PAYMENT BOX & LIGHT THEME STYLING
   ========================================================================== */
.manual-payment-box {
  background: #F8FAFC;
  border: 1.5px solid #BAE6FD;
  border-radius: 16px;
  padding: 0.95rem 1.1rem;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.05);
}

.manual-pay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 0.65rem;
}

.pay-net-pill {
  font-size: 0.725rem;
  font-weight: 700;
  color: #B91C1C;
  background: #FEE2E2;
  border: 1px solid #FECACA;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
}

.manual-pay-details {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pay-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.pay-detail-row.num-highlight-row {
  background: #FFFFFF;
  border-color: #38BDF8;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.12);
}

.pay-col {
  display: flex;
  flex-direction: column;
}

.pay-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 0.1rem;
}

.pay-val-mono {
  font-family: var(--font-mono, monospace);
  font-size: 1.15rem;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: 0.05em;
}

.pay-val-strong {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0F172A;
}

.pay-val-net {
  font-size: 0.825rem;
  font-weight: 700;
  color: #DC2626;
}

.btn-copy-action {
  background: #0284C7;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 0.45rem 0.8rem;
  font-size: 0.775rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease;
}

.btn-copy-action:hover {
  background: #0369A1;
  transform: translateY(-1px);
}

.btn-copy-action.copied {
  background: #10B981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.manual-instructions-note {
  margin-top: 0.65rem;
  padding: 0.65rem 0.8rem;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.manual-instructions-note .note-text {
  font-size: 0.775rem;
  font-weight: 600;
  color: #92400E;
  line-height: 1.45;
}

/* ==========================================================
   3D SOCIAL MEDIA BADGES & NOTICES (TELEGRAM & TWITTER)
   ========================================================== */
.social-3d-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  perspective: 600px;
}

.social-3d-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.01em;
  transform: translateY(0) translateZ(0);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.social-3d-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 14px 14px 0 0;
  pointer-events: none;
}

.social-3d-badge i {
  font-size: 1.15rem;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}

.social-3d-badge span {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 3D Telegram Badge */
.social-3d-badge.telegram-3d {
  background: linear-gradient(145deg, #2AABEE 0%, #229ED9 50%, #0088CC 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid #006699;
  box-shadow: 
    0 4px 0 #006699,
    0 7px 14px rgba(0, 136, 204, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ==========================================================
   MODERN GLASSMORPHISM DESIGN SYSTEM & AUTHENTIC 3D BADGES
   ========================================================== */

/* Ambient Glass Orbs for Popup Depth */
.modern-glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 20px 45px -10px rgba(15, 23, 42, 0.12),
    0 1px 3px rgba(15, 23, 42, 0.04),
    inset 0 1px 2px rgba(255, 255, 255, 1);
  position: relative;
}

.glass-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  opacity: 0.6;
  z-index: 1;
}

.glass-orb-1 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.35) 0%, rgba(14, 165, 233, 0) 70%);
  top: -20px;
  right: -20px;
}

.glass-orb-2 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0) 70%);
  bottom: -30px;
  left: -20px;
}

.glass-orb-3 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(99, 102, 241, 0) 70%);
  top: 40%;
  left: 30%;
}

/* 3D Glass Celebration Badge */
.glass-check-3d {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, #10B981 0%, #059669 60%, #047857 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 
    0 8px 0 #065F46,
    0 14px 26px rgba(5, 150, 105, 0.45),
    inset 0 2px 4px rgba(255, 255, 255, 0.5);
  animation: floatBadge 3.5s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Frosted Glass Social Box */
.frosted-glass-box {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(186, 230, 253, 0.8);
  box-shadow: 
    0 8px 24px rgba(14, 165, 233, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* 3D Social Media Cards Grid */
.social-3d-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  perspective: 800px;
}

.real-3d-card {
  position: relative;
  border-radius: 18px;
  padding: 0.85rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: default;
  user-select: none;
  overflow: hidden;
  transform: translateY(0) translateZ(0);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.real-3d-sheen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 18px 18px 0 0;
  pointer-events: none;
}

.real-3d-emblem-wrap {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.35rem;
  position: relative;
}

.real-3d-content {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.real-3d-app-name {
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.real-3d-tag {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

/* 1. AUTHENTIC 3D TELEGRAM CARD */
.real-3d-card.telegram-real-3d {
  background: linear-gradient(145deg, #28A8EA 0%, #229ED9 50%, #0088CC 100%);
  border-top: 1.5px solid rgba(255, 255, 255, 0.75);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(0, 102, 153, 0.6);
  border-bottom: 3px solid #005F8C;
  color: #FFFFFF;
  box-shadow: 
    0 5px 0 #005580,
    0 10px 22px rgba(0, 136, 204, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.real-3d-card.telegram-real-3d:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 
    0 7px 0 #005580,
    0 14px 28px rgba(0, 136, 204, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.telegram-emblem-wrap {
  background: #FFFFFF;
  color: #229ED9;
  box-shadow: 
    0 3px 6px rgba(0, 77, 115, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.telegram-emblem-wrap i {
  filter: drop-shadow(0 1px 2px rgba(34, 158, 217, 0.4));
  transform: translateX(-1px) translateY(1px);
}

/* 2. AUTHENTIC 3D TWITTER (X) CARD */
.real-3d-card.twitter-real-3d {
  background: linear-gradient(145deg, #1C232B 0%, #0F1419 60%, #000000 100%);
  border-top: 1.5px solid rgba(255, 255, 255, 0.45);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-right: 1px solid rgba(0, 0, 0, 0.8);
  border-bottom: 3px solid #000000;
  color: #FFFFFF;
  box-shadow: 
    0 5px 0 #000000,
    0 10px 22px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.real-3d-card.twitter-real-3d:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 
    0 7px 0 #000000,
    0 14px 28px rgba(0, 0, 0, 0.55),
    inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.twitter-emblem-wrap {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  box-shadow: 
    0 3px 6px rgba(0, 0, 0, 0.35),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.twitter-emblem-wrap i {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Frosted Notice Box */
.frosted-notice-box {
  background: rgba(254, 243, 199, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(252, 211, 77, 0.85);
  border-radius: 14px;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.08);
}

/* Frosted Glass Receipt Summary Table */
.glass-receipt-summary {
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  box-shadow: 
    0 4px 14px rgba(15, 23, 42, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* Modern Glass Summary Card in Step 1 */
.smart-bundle-preview-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 0.9rem 1.1rem;
  box-shadow: 
    0 6px 18px rgba(15, 23, 42, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 1);
  position: relative;
  overflow: hidden;
}

.smart-bundle-preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4.5px;
  height: 100%;
  background: linear-gradient(180deg, #0284C7 0%, #10B981 100%);
  border-radius: 4px 0 0 4px;
}

.smart-data-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.825rem;
  padding: 0.25rem 0.65rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  letter-spacing: 0.02em;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 3px 8px rgba(2, 132, 199, 0.35);
}

.smart-preview-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(226, 232, 240, 0.2) 0%, rgba(203, 213, 225, 0.8) 50%, rgba(226, 232, 240, 0.2) 100%);
  margin: 0.4rem 0;
}

.smart-price-badge {
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 0.25rem 0.75rem;
  backdrop-filter: blur(10px);
}





