/**
 * MTNSME - Main Stylesheet
 * Design System: Nigerian Fintech / VTU Platform
 * Built on top of Bootstrap 5.3
 *
 * TABLE OF CONTENTS
 * 1. CSS Variables (Design Tokens)
 * 2. Base / Reset
 * 3. Typography
 * 4. Buttons
 * 5. Cards
 * 6. Forms
 * 7. Navigation
 * 8. Hero Section
 * 9. Service Cards
 * 10. How It Works
 * 11. Stats / Trust Bar
 * 12. Testimonials
 * 13. Pricing / Vendor Levels
 * 14. FAQ
 * 15. Footer
 * 16. Dashboard Layout
 * 17. Dashboard Sidebar
 * 18. Dashboard Cards / Stats
 * 19. Tables
 * 20. Badges & Status
 * 21. Wallet Section
 * 22. Alerts
 * 23. Loaders / Spinners
 * 24. Utilities
 * 25. Animations
 * 26. Mobile Responsive
 */

/* ═══════════════════════════════════════════════════════
   1. CSS VARIABLES (DESIGN TOKENS)
   ═══════════════════════════════════════════════════════ */
:root {
  /* Brand Colors — Deep Royal Blue + Gold (Nigerian trust + premium feel) */
  --primary:       #0A2463;   /* Deep navy blue — main brand color */
  --primary-light: #1B3E8C;
  --primary-dark:  #061535;
  --accent:        #FFB800;   /* Gold/amber — action, highlights */
  --accent-light:  #FFD04D;
  --accent-dark:   #CC9200;

  /* Semantic Colors */
  --success:  #28A745;
  --danger:   #DC3545;
  --warning:  #FFC107;
  --info:     #17A2B8;

  /* Neutrals */
  --white:      #FFFFFF;
  --light-gray: #F8F9FA;
  --mid-gray:   #E9ECEF;
  --border:     #DEE2E6;
  --text-muted: #6C757D;
  --text-dark:  #212529;
  --body-bg:    #F4F6FB;

  /* Network Colors */
  --mtn:     #FFCB00;
  --airtel:  #E40000;
  --glo:     #4CAF50;
  --9mobile: #006633;

  /* Spacing */
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(10, 36, 99, 0.08);
  --shadow:     0 4px 20px rgba(10, 36, 99, 0.12);
  --shadow-lg:  0 8px 40px rgba(10, 36, 99, 0.18);
  --shadow-card: 0 2px 16px rgba(10, 36, 99, 0.10);

  /* Transitions */
  --transition: all 0.25s ease;

  /* Font sizes */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
}

/* ═══════════════════════════════════════════════════════
   2. BASE / RESET
   ═══════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--body-bg);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: var(--text-base);
  margin: 0;
  overflow-x: clip;
}

/* Public pages have white background */
body.public-page {
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

/* ═══════════════════════════════════════════════════════
   3. TYPOGRAPHY
   ═══════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.text-primary-brand {
  color: var(--primary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.fw-800 { font-weight: 800; }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }

/* ═══════════════════════════════════════════════════════
   4. BUTTONS
   ═══════════════════════════════════════════════════════ */
.btn {
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.6rem 1.5rem;
  transition: var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.3px;
}

/* Primary Button — Deep blue */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(10, 36, 99, 0.35);
}

/* Accent Button — Gold */
.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.btn-accent:hover, .btn-accent:focus {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.45);
}

/* Outline Primary */
.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.wallet-transient-alert {
  will-change: opacity, transform;
}

/* Large CTA button */
.btn-lg {
  padding: 0.8rem 2rem;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

/* Hero CTA */
.btn-hero {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-xl);
  letter-spacing: 0.5px;
}

/* Icon button (round) */
.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════
   5. CARDS
   ═══════════════════════════════════════════════════════ */
.card {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  background: var(--white);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-radius: var(--radius) var(--radius) 0 0 !important;
}

/* Service cards on homepage */
.service-card {
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--mid-gray);
  transition: var(--transition);
  height: 100%;
}

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

.service-card .icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #e8eef9, #c8d6f0);
}

.service-card:hover .icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}

.service-card h5 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.service-card p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* Dashboard stat cards
 * Compact by default so they fit inside narrow grid columns (col-lg-2/col-6).
 * The icon, value, and label all scale down further on mobile via media queries.
 */
.stat-card {
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
  overflow: hidden;               /* never let content bust the card edge */
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.stat-card .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-card .stat-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  overflow-wrap: break-word;      /* long currency values wrap instead of overflowing */
  word-break: break-word;
}

.stat-card .stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Admin dashboard summary cards
 * A lighter, more compact variant so the dashboard feels easier to scan.
 */
.admin-dashboard-stats {
  --bs-gutter-x: 0.65rem;
  --bs-gutter-y: 0.65rem;
}

.admin-dashboard-shell {
  display: grid;
  gap: 0.9rem;
}

.admin-dashboard-block {
  margin-bottom: 0 !important;
}

.admin-dashboard-block.row {
  --bs-gutter-x: 0.75rem;
  --bs-gutter-y: 0.75rem;
}

.admin-dashboard-stack {
  display: grid;
  gap: 0.72rem;
  height: 100%;
}

.admin-stat-card {
  min-height: 84px;
  padding: 0.8rem 0.9rem;
  gap: 0.65rem;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(10, 36, 99, 0.08);
}

.admin-stat-card .stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 1rem;
}

.admin-stat-card .stat-value {
  font-size: 1.05rem;
  line-height: 1.05;
}

.admin-stat-card .stat-label {
  font-size: 0.62rem;
  margin-top: 0.18rem;
  letter-spacing: 0.3px;
}

.admin-stat-sub {
  font-size: 0.64rem;
  color: var(--text-muted);
  margin-top: 0.12rem;
  line-height: 1.25;
}

/* Referral card — hero gradient box in user dashboard */
.referral-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #1B4FCE 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}

/* Decorative accent circle — top-right */
.referral-card::before {
  content: '';
  position: absolute;
  top: -55px;
  right: -55px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 184, 0, 0.14);
  pointer-events: none;
}

/* Decorative muted circle — bottom-left quadrant */
.referral-card::after {
  content: '';
  position: absolute;
  bottom: -45px;
  left: 35%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

/* The copy-link input row */
.referral-link-box {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.referral-link-box input {
  background: transparent;
  border: none;
  color: white;
  font-size: 0.8rem;
  flex: 1;
  min-width: 0;         /* allows flex child to shrink below its own content width */
  outline: none;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.3px;
}

.referral-link-box input::selection {
  background: rgba(255, 184, 0, 0.4);
}

.btn-copy-referral {
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
  line-height: 1.5;
}

.btn-copy-referral:hover {
  background: var(--accent-light);
  transform: none;
}

/* Wallet card */
.wallet-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #2855B0 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.wallet-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.wallet-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: 60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.wallet-card .balance-label {
  font-size: var(--text-sm);
  opacity: 0.8;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.wallet-card .balance-amount {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

/* Quick action cards */
.quick-action-card {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 2px solid var(--mid-gray);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: var(--text-dark);
  display: block;
}

.quick-action-card:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.quick-action-card .action-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.quick-action-card .action-label {
  font-size: var(--text-sm);
  font-weight: 600;
}

/* User portal premium dashboard refinements */
.user-dashboard-stats {
  --bs-gutter-x: 0.9rem;
  --bs-gutter-y: 0.9rem;
}

.user-wallet-card {
  padding: 1.15rem 1.2rem;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(10, 36, 99, 0.16);
}

.user-wallet-card::before {
  top: -58px;
  right: -52px;
  width: 130px;
  height: 130px;
}

.user-wallet-card::after {
  bottom: -78px;
  right: 42px;
  width: 150px;
  height: 150px;
}

.user-wallet-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  position: relative;
  z-index: 2;
}

.user-wallet-card__level {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50px;
  padding: 0.2rem 0.65rem;
  font-size: 0.66rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.user-wallet-card__meta {
  opacity: 0.7;
  font-size: 0.74rem;
  margin: 0.2rem 0 0.95rem;
  position: relative;
  z-index: 2;
}

.user-wallet-card__actions .btn {
  padding-top: 0.48rem;
  padding-bottom: 0.48rem;
}

.user-wallet-card .balance-amount {
  font-size: 1.85rem;
  margin-bottom: 0;
}

.user-wallet-card .balance-label {
  font-size: 0.73rem;
  letter-spacing: 0.7px;
}

.transaction-balance-after {
  white-space: nowrap;
}

.user-stat-card {
  min-height: 88px;
  padding: 0.82rem 0.9rem;
  gap: 0.65rem;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(10, 36, 99, 0.08);
}

.user-stat-card .stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 1rem;
}

.user-stat-card .stat-value {
  font-size: 1.02rem;
  line-height: 1.05;
}

.user-stat-card .stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.3px;
}

.user-dashboard-panel {
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(10, 36, 99, 0.08);
}

.user-dashboard-panel .card-header {
  padding: 0.9rem 1rem;
  font-size: 0.94rem;
}

.user-dashboard-panel .card-body {
  padding: 1rem;
}

.wallet-va-card {
  border: 1.5px solid #bfdbfe;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(10, 36, 99, 0.08);
  overflow: hidden;
}

.wallet-va-section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.wallet-va-meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 700;
}

.wallet-va-meta-value {
  font-size: 0.82rem;
  color: var(--text-dark);
  font-weight: 700;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.wallet-va-copy-btn {
  border: 1px solid #93c5fd;
  background: #ffffff;
  color: var(--primary);
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
  flex-shrink: 0;
  max-width: 100%;
}

.wallet-va-copy-btn:hover {
  background: #eff6ff;
  border-color: #60a5fa;
  color: var(--primary-dark);
}

.wallet-va-account-number {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  margin: 6px 0 4px;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.wallet-va-account-name {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 700;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.wallet-va-card-pending {
  border-color: #fcd34d;
  background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.wallet-va-pending-badge {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
}

.wallet-va-account-number-pending {
  color: #b45309;
  letter-spacing: 0.12em;
}

.wallet-va-pending-label {
  font-size: 0.84rem;
  color: #a16207;
  font-weight: 700;
}

.wallet-va-pending-block {
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px dashed #fbbf24;
}

.wallet-va-pending-copy {
  font-size: 0.82rem;
  color: #92400e;
  line-height: 1.55;
  margin-bottom: 0.85rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.wallet-va-request-btn {
  width: 100%;
  max-width: 100%;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 0.8rem 1rem;
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  box-shadow: 0 10px 22px rgba(10, 36, 99, 0.18);
  transition: var(--transition);
  white-space: normal;
  text-align: center;
}

.wallet-va-request-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  transform: translateY(-1px);
}

.wallet-va-request-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.user-quick-action-card {
  padding: 1.1rem 0.85rem;
  border-radius: 16px;
}

.user-quick-action-card .action-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(10, 36, 99, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.55rem;
  font-size: 1.15rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.user-quick-action-card .action-icon i {
  line-height: 1;
}

.user-quick-action-card:hover .action-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.user-quick-action-card .action-label {
  font-size: 0.8rem;
  line-height: 1.3;
}

.user-dashboard-table {
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(10, 36, 99, 0.08);
}

.user-dashboard-table .table-header {
  padding: 0.9rem 1rem;
}

.user-dashboard-table .table-header h6 {
  font-size: 0.92rem;
}

.user-dashboard-table .table-header .btn.btn-sm {
  padding: 0.35rem 0.72rem;
  font-size: 0.72rem;
}

.user-dashboard-table .table thead th {
  padding: 0.78rem 0.9rem;
  font-size: 0.64rem;
  letter-spacing: 0.65px;
}

.user-dashboard-table .table tbody td {
  padding: 0.78rem 0.9rem;
  font-size: 0.83rem;
}

.user-dashboard-table .empty-state {
  padding: 2.4rem 1.25rem;
}

.service-workspace {
  align-items: flex-start;
}

.service-main-column,
.service-side-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-history-card {
  min-height: 100%;
}

/* ═══════════════════════════════════════════════════════
   6. FORMS
   ═══════════════════════════════════════════════════════ */
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  padding: 0.65rem 1rem;
  font-size: var(--text-base);
  transition: var(--transition);
  background-color: var(--white);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.12);
  outline: none;
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  font-size: var(--text-sm);
}

.form-text {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Input groups */
.input-group .form-control {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.input-group .btn {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Auth forms */
.auth-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}

.auth-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.auth-logo span {
  color: var(--accent);
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* ═══════════════════════════════════════════════════════
   7. NAVIGATION
   ═══════════════════════════════════════════════════════ */
.navbar-main {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(10, 36, 99, 0.10);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary) !important;
  letter-spacing: -0.5px;
}

.navbar-brand .accent {
  color: var(--accent);
}

.navbar-main .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: var(--text-sm);
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: var(--primary);
  background-color: rgba(10, 36, 99, 0.06);
}

/* Top announcement bar */
.announcement-bar {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 0.4rem 1rem;
  font-size: var(--text-xs);
  font-weight: 500;
}

.announcement-bar a {
  color: var(--accent);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════
   8. HERO SECTION
   ═══════════════════════════════════════════════════════ */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 45%, var(--primary-light) 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

/* Decorative background pattern */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

.hero-section .hero-content {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-section h1 .highlight {
  color: var(--accent);
}

.hero-section .hero-sub {
  font-size: var(--text-lg);
  opacity: 0.88;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-section .hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: var(--text-sm);
  font-weight: 500;
  backdrop-filter: blur(4px);
}

/* Hero phone mockup area */
.hero-visual {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.hero-phone-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: var(--white);
}

.hero-floating-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  box-shadow: var(--shadow-lg);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float 3s ease-in-out infinite;
}

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

.hero-floating-badge.badge-1 { top: 15%;  left: -10%; }
.hero-floating-badge.badge-2 { top: 50%;  right: -10%; animation-delay: 1s; }
.hero-floating-badge.badge-3 { bottom: 15%; left: 0%; animation-delay: 0.5s; }

/* ═══════════════════════════════════════════════════════
   9. TRUST / STATS BAR
   ═══════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--light-gray);
  border-top: 1px solid var(--mid-gray);
  border-bottom: 1px solid var(--mid-gray);
  padding: 1.25rem 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
}

.trust-item .trust-icon {
  font-size: 1.75rem;
  color: var(--primary);
}

.trust-item .trust-value {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.trust-item .trust-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Stats counter section */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 4rem 0;
  color: var(--white);
}

.stats-section .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stats-section .stat-text {
  font-size: var(--text-sm);
  opacity: 0.85;
  margin-top: 0.4rem;
}

/* ═══════════════════════════════════════════════════════
   10. HOW IT WORKS
   ═══════════════════════════════════════════════════════ */
.how-section {
  padding: 5rem 0;
  background: var(--white);
  overflow-x: clip;
}

.step-card {
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(10, 36, 99, 0.3);
}

.step-connector {
  position: absolute;
  top: 30px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.3;
}

.step-card h5 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* ═══════════════════════════════════════════════════════
   11. VENDOR LEVELS / PRICING
   ═══════════════════════════════════════════════════════ */
.vendor-card {
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 2px solid var(--border);
  background: var(--white);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.vendor-card.featured {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.vendor-card.featured .vendor-level-title {
  color: var(--white);
}

.vendor-card.featured .vendor-desc {
  color: rgba(255, 255, 255, 0.85);
}

.vendor-card .vendor-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: var(--primary);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

.vendor-level-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.vendor-level-title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.vendor-min-deposit {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--accent);
  margin: 0.75rem 0;
}

.vendor-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  text-align: left;
}

.vendor-features li {
  padding: 0.3rem 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.vendor-card.featured .vendor-features li {
  color: rgba(255, 255, 255, 0.85);
}

.vendor-features li::before {
  content: '✓ ';
  color: var(--success);
  font-weight: 700;
}

.vendor-card.featured .vendor-features li::before {
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════
   12. TESTIMONIALS
   ═══════════════════════════════════════════════════════ */
.testimonials-section {
  background: var(--light-gray);
  padding: 5rem 0;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  height: 100%;
  border-top: 4px solid var(--primary);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: var(--text-sm);
  margin: 0;
}

.testimonial-role {
  color: var(--text-muted);
  font-size: var(--text-xs);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   13. FAQ
   ═══════════════════════════════════════════════════════ */
.faq-section {
  padding: 5rem 0;
  background: var(--white);
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  color: var(--text-dark);
  background-color: var(--white);
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius) !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: rgba(10, 36, 99, 0.04);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.12);
}

.accordion-body {
  color: var(--text-muted);
  padding: 1rem 1.5rem 1.25rem;
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   14. FOOTER
   ═══════════════════════════════════════════════════════ */
.footer-main {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
}

.footer-main .footer-brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
}

.footer-main .footer-brand span {
  color: var(--accent);
}

.footer-main .footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

.footer-main h6 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-main ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-main ul li {
  margin-bottom: 0.5rem;
}

.footer-main ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-sm);
  transition: var(--transition);
}

.footer-main ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  margin-top: 3rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   15. DASHBOARD LAYOUT
   ═══════════════════════════════════════════════════════ */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Sidebar
 * KEY: height:100vh (not min-height) gives overflow-y:auto a fixed boundary to
 * work against. flex-direction:column lets the nav section fill and scroll
 * independently while the brand and wallet sections stay locked at the top.
 */
.dashboard-sidebar {
  width: 260px;
  height: 100vh;              /* fixed height — required for inner scroll to work */
  background: var(--primary-dark);
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;           /* sidebar container itself does not scroll */
  z-index: 100;
  transition: transform 0.3s ease;
}

/* Brand header — always visible, never scrolls away */
.sidebar-brand {
  flex-shrink: 0;             /* never shrinks or scrolls */
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand .brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.sidebar-brand .brand-name span {
  color: var(--accent);
}

/* Wallet mini-display — always visible, never scrolls away */
.sidebar-wallet {
  flex-shrink: 0;             /* never shrinks or scrolls */
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-wallet-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.sidebar-wallet-amount {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}

.sidebar-wallet-link {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  display: inline-block;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-wallet-link:hover {
  color: var(--accent);
}

/* Nav — takes all remaining space and scrolls when items overflow */
.sidebar-nav {
  flex: 1;                    /* fills the remaining sidebar height */
  overflow-y: auto;           /* scrolls when nav items exceed available space */
  overflow-x: hidden;
  padding: 1rem 0;

  /* Thin, unobtrusive scrollbar (Firefox) */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

/* Thin, unobtrusive scrollbar (Chrome / Safari / Edge) */
.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.sidebar-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  padding: 1rem 1.25rem 0.4rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
  text-decoration: none;
}

.sidebar-link:hover, .sidebar-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--accent);
}

.sidebar-link .sidebar-icon {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
}

/* Main content area */
.dashboard-main {
  margin-left: 260px;
  flex: 1;
  background: var(--body-bg);
  min-height: 100vh;
}

/* Top bar */
.dashboard-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: var(--shadow-sm);
}

.topbar-title {
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--primary);
  /* Prevent long page titles from crushing the action buttons */
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0 0.5rem;
}

/* Page content */
.dashboard-content {
  padding: 1.75rem;
}

/* Page header */
.page-header {
  margin-bottom: 1.75rem;
}

.page-header h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.page-header p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   16. TABLES
   ═══════════════════════════════════════════════════════ */
.table-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.table-card .table-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;                /* allows wrap on very narrow screens */
  gap: 0.5rem;
}

.table-card .table-header h6 {
  font-weight: 700;
  margin: 0;
  color: var(--primary);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table {
  margin-bottom: 0;
}

.table thead th {
  background-color: var(--light-gray);
  color: var(--text-muted);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 2px solid var(--border);
  padding: 0.85rem 1rem;
}

.table tbody td {
  padding: 0.9rem 1rem;
  vertical-align: middle;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--mid-gray);
  color: var(--text-dark);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table-hover tbody tr:hover {
  background-color: rgba(10, 36, 99, 0.03);
}

/* Admin dashboard tables
 * Slightly tighter than the global table-card layout so the page feels lighter.
 */
.admin-dashboard-table {
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(10, 36, 99, 0.08);
}

.admin-dashboard-table .table-header {
  padding: 0.85rem 1rem;
}

.admin-dashboard-table .table-header h6 {
  font-size: 0.92rem;
}

.admin-dashboard-table .table-header .btn.btn-sm {
  padding: 0.34rem 0.72rem;
  font-size: 0.72rem;
}

.admin-dashboard-table .table thead th {
  padding: 0.72rem 0.85rem;
  font-size: 0.64rem;
  letter-spacing: 0.65px;
}

.admin-dashboard-table .table tbody td {
  padding: 0.72rem 0.85rem;
  font-size: 0.82rem;
}

.admin-dashboard-table .empty-state {
  padding: 2.2rem 1.25rem;
}

.admin-dashboard-table .empty-state p {
  margin-bottom: 0;
}

.admin-dashboard-intro {
  margin-bottom: 0 !important;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
}

.empty-state .empty-icon {
  font-size: 3.5rem;
  opacity: 0.25;
  margin-bottom: 1rem;
  color: var(--primary);
}

.empty-state h5 {
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* ═══════════════════════════════════════════════════════
   17. BADGES & STATUS
   ═══════════════════════════════════════════════════════ */
.badge {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.35em 0.7em;
  border-radius: 50px;
  letter-spacing: 0.3px;
}

/* Network badges */
.network-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.network-option {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(10, 36, 99, 0.05);
  overflow: hidden;
}

.network-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(10, 36, 99, 0.10);
  border-color: rgba(10, 36, 99, 0.18);
}

.network-option-loading {
  min-height: 88px;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}

.network-option-top {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  width: 100%;
  min-width: 0;
}

.network-option-body {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  min-width: 0;
  flex: 1;
  align-items: flex-start;
  text-align: left;
}

.network-option-heading {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-start;
  text-align: left;
}

.network-option-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.network-option-name {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  word-break: break-word;
}

.network-option-chip {
  display: inline-flex;
  padding: 0.13rem 0.32rem;
  border-radius: 999px;
  background: rgba(10, 36, 99, 0.06);
  color: var(--primary);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  vertical-align: middle;
}

.network-option-caption {
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1.22;
  word-break: break-word;
  text-align: left;
}

.network-option-mtn .network-option-mark {
  background: linear-gradient(135deg, #ffd84d, #d8a500);
  color: #1f2328;
}

.network-option-airtel .network-option-mark {
  background: linear-gradient(135deg, #ff5a5a, #c70000);
}

.network-option-glo .network-option-mark {
  background: linear-gradient(135deg, #5ecf66, #1f7f38);
}

.network-option-9mobile .network-option-mark {
  background: linear-gradient(135deg, #0f8f5a, #045233);
}

.network-option-dstv .network-option-mark {
  background: linear-gradient(135deg, #2b66d9, #0a2f7a);
}

.network-option-gotv .network-option-mark {
  background: linear-gradient(135deg, #ff4aa8, #b00063);
}

.network-option-startimes .network-option-mark {
  background: linear-gradient(135deg, #ff9a3c, #d95600);
}

.network-option-showmax .network-option-mark {
  background: linear-gradient(135deg, #4d3fff, #1e167f);
}

.network-option-prepaid .network-option-mark {
  background: linear-gradient(135deg, #36c86b, #19793c);
}

.network-option-postpaid .network-option-mark {
  background: linear-gradient(135deg, #4d7dff, #203f9a);
}

.network-option-waec .network-option-mark {
  background: linear-gradient(135deg, #36c86b, #19793c);
}

.network-option-neco .network-option-mark {
  background: linear-gradient(135deg, #4d7dff, #203f9a);
}

.network-option-nabteb .network-option-mark {
  background: linear-gradient(135deg, #ffb347, #d97800);
}

.network-option-9mobile .network-option-name {
  font-size: 0.74rem;
}

.btn-check:checked + .network-option {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(10, 36, 99, 0.04), rgba(10, 36, 99, 0.10));
  box-shadow: 0 10px 28px rgba(10, 36, 99, 0.16);
}

.btn-check:checked + .network-option::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.btn-check:checked + .network-option .network-option-name {
  color: var(--primary);
}

.btn-check:checked + .network-option .network-option-caption {
  color: var(--primary-light);
}

.btn-check:focus-visible + .network-option {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(10, 36, 99, 0.15);
}

.btn-check:checked + .network-option::after {
  content: '\2713';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .network-picker-row {
    --bs-gutter-x: 0.85rem;
    --bs-gutter-y: 0.85rem;
  }

  .network-option {
    min-height: 94px;
    padding: 0.85rem 0.72rem;
    border-radius: 18px;
  }

  .network-option-top {
    align-items: flex-start;
    gap: 0.56rem;
  }

  .network-option-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 0.8rem;
    margin-top: 0.05rem;
  }

  .network-option-body {
    gap: 0.18rem;
  }

  .network-option-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.22rem;
  }

  .network-option-name {
    font-size: 0.84rem;
    line-height: 1.1;
  }

  .network-option-chip {
    font-size: 0.48rem;
    padding: 0.12rem 0.3rem;
  }

  .network-option-caption {
    font-size: 0.58rem;
    line-height: 1.22;
    max-width: 100%;
    text-align: left;
  }

  .network-option-9mobile .network-option-name {
    font-size: 0.72rem;
  }
}

@media (max-width: 767.98px) {
  .network-option {
    min-height: 78px;
    padding: 0.76rem;
  }

  .network-option-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 0.76rem;
  }

  .network-option-name {
    font-size: 0.76rem;
  }

  .network-option-9mobile .network-option-name {
    font-size: 0.68rem;
  }

  .network-option-caption {
    font-size: 0.56rem;
    line-height: 1.18;
  }
}

/* Vendor level badges */
.vendor-badge-basic    { background: #6c757d; color: white; }
.vendor-badge-silver   { background: #adb5bd; color: white; }
.vendor-badge-gold     { background: var(--accent); color: var(--primary); }
.vendor-badge-platinum { background: linear-gradient(135deg, #c0a96e, #8B6914); color: white; }

/* ═══════════════════════════════════════════════════════
   18. ALERTS
   ═══════════════════════════════════════════════════════ */
.alert {
  border: none;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: var(--text-sm);
  border-left: 4px solid;
}

.alert-success {
  background: rgba(40, 167, 69, 0.08);
  border-left-color: var(--success);
  color: #155724;
}

.alert-danger {
  background: rgba(220, 53, 69, 0.08);
  border-left-color: var(--danger);
  color: #721c24;
}

.alert-warning {
  background: rgba(255, 193, 7, 0.12);
  border-left-color: var(--warning);
  color: #856404;
}

.alert-info {
  background: rgba(23, 162, 184, 0.08);
  border-left-color: var(--info);
  color: #0c5460;
}

/* ═══════════════════════════════════════════════════════
   19. LOADERS / SPINNERS
   ═══════════════════════════════════════════════════════ */
.page-loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.loader-logo span { color: var(--accent); }

/* Instantly hide the loader on error pages — CSS layer of the three-layer defence */
.page-loader[data-has-error] { display: none !important; }

/* Button loading state */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.btn-loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════
   20. UTILITIES
   ═══════════════════════════════════════════════════════ */
.bg-primary-brand { background-color: var(--primary) !important; }
.bg-accent        { background-color: var(--accent) !important; }
.bg-light-blue    { background-color: rgba(10, 36, 99, 0.05); }

.rounded-xl { border-radius: var(--radius-xl) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }

.shadow-brand { box-shadow: var(--shadow) !important; }

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

/* Section padding */
.section-pad {
  padding: 5rem 0;
  overflow-x: clip;
}
.section-pad-sm { padding: 3rem 0; }

@media (max-width: 1199.98px) {
  /*
   * Laptop overflow fix:
   * keep the hero badges visible, but stop them from hanging outside
   * the viewport on narrower desktop/laptop widths.
   */
  .hero-visual {
    padding-inline: 0.9rem;
  }

  .hero-floating-badge {
    max-width: min(200px, 42vw);
    padding: 0.55rem 0.85rem;
    font-size: 0.68rem;
  }

  .hero-floating-badge.badge-1 {
    left: 0;
  }

  .hero-floating-badge.badge-2 {
    right: 0;
  }

  .hero-floating-badge.badge-3 {
    left: 0.5rem;
  }

  /* The featured pricing card scaling is safe on wide desktop,
   * but on laptop widths it can create scrollable overflow. */
  .vendor-card.featured {
    transform: scale(1);
  }
}

/* ═══════════════════════════════════════════════════════
   21. ANIMATIONS
   ═══════════════════════════════════════════════════════ */
.fade-in-up {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Number counter animation */
.count-up { display: inline-block; }

/* ═══════════════════════════════════════════════════════
   22. MOBILE RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  /* Sidebar becomes off-canvas on mobile */
  .dashboard-sidebar {
    transform: translateX(-100%);
  }

  .dashboard-sidebar.sidebar-open {
    transform: translateX(0);
  }

  .dashboard-main {
    margin-left: 0;
  }

  /* Sidebar overlay */
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
  }

  .sidebar-overlay.active {
    display: block;
  }

  /* ── Compact sidebar branding on mobile ── */
  .sidebar-brand {
    padding: 0.875rem 1.25rem;
  }
  .sidebar-brand .brand-name {
    font-size: 1.2rem;
  }
  .sidebar-wallet {
    padding: 0.625rem 1.25rem;
  }
  .sidebar-wallet-amount {
    font-size: 1.1rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 3rem 0 2.5rem;
    text-align: center;
  }

  .hero-section .hero-badges {
    justify-content: center;
  }

  .hero-section .hero-sub {
    margin: 0 auto 1.5rem;
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .vendor-card.featured {
    transform: scale(1);
  }

  .auth-card {
    padding: 1.5rem;
  }

  .dashboard-content {
    padding: 1rem;
  }

  .wallet-card .balance-amount {
    font-size: 2rem;
  }

  /* Compact stat cards on phones */
  .stat-card {
    padding: 0.85rem 0.9rem;
    gap: 0.6rem;
  }

  .stat-card .stat-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .stat-card .stat-value {
    font-size: 1.05rem;
  }

  .stat-card .stat-label {
    font-size: 0.62rem;
  }

  .admin-dashboard-table .table-header {
    padding: 0.78rem 0.9rem;
  }

  .admin-dashboard-table .table thead th,
  .admin-dashboard-table .table tbody td {
    padding-inline: 0.72rem;
  }

  .admin-dashboard-stats {
    --bs-gutter-x: 0.58rem;
    --bs-gutter-y: 0.58rem;
  }

  .admin-dashboard-shell {
    gap: 0.72rem;
  }

  .admin-dashboard-block.row {
    --bs-gutter-x: 0.62rem;
    --bs-gutter-y: 0.62rem;
  }

  .admin-dashboard-stack {
    gap: 0.62rem;
  }

  .admin-stat-card {
    min-height: 78px;
    padding: 0.72rem 0.78rem;
    gap: 0.55rem;
  }

  .admin-stat-card .stat-icon {
    width: 34px;
    height: 34px;
    font-size: 0.92rem;
  }

  .admin-stat-card .stat-value {
    font-size: 0.98rem;
  }

  .admin-stat-sub {
    font-size: 0.6rem;
  }

  .user-dashboard-stats {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }

  .user-wallet-card .balance-amount {
    font-size: 1.7rem;
  }

  .user-wallet-card__meta {
    margin-bottom: 0.85rem;
  }

  .user-stat-card {
    min-height: 80px;
    padding: 0.74rem 0.8rem;
    gap: 0.55rem;
  }

  .user-stat-card .stat-icon {
    width: 34px;
    height: 34px;
    font-size: 0.92rem;
  }

  .user-stat-card .stat-value {
    font-size: 0.96rem;
  }

  .user-dashboard-panel,
  .user-dashboard-table,
  .user-wallet-card {
    border-radius: 16px;
  }

  .user-dashboard-panel .card-header,
  .user-dashboard-table .table-header {
    padding: 0.82rem 0.9rem;
  }

  .wallet-va-card {
    padding: 16px;
    border-radius: 14px;
  }

  .wallet-va-card .d-flex.justify-content-between {
    flex-wrap: wrap;
  }

  .wallet-va-account-number {
    font-size: 1.05rem;
  }

  .user-dashboard-table .table thead th,
  .user-dashboard-table .table tbody td {
    padding-inline: 0.72rem;
  }

  .user-quick-action-card {
    padding: 0.9rem 0.75rem;
  }

  .user-quick-action-card .action-label {
    font-size: 0.76rem;
  }

  /* Topbar title smaller on mobile so action buttons have room */
  .topbar-title {
    font-size: 1rem;
  }

  /* Referral card tighter on mobile */
  .referral-card {
    padding: 1.25rem 1.25rem;
  }

  .trust-item {
    padding: 0.25rem 0.5rem;
  }

  .hero-floating-badge {
    display: none;
  }

  .step-connector {
    display: none;
  }

  .footer-main {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .btn-hero {
    width: 100%;
    text-align: center;
  }

  .hero-section .d-flex {
    flex-direction: column;
    align-items: stretch !important;
  }

  /* Extra-compact stat cards on small phones */
  .stat-card .stat-value {
    font-size: 0.95rem;
  }

  .stat-card .stat-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .admin-stat-card {
    min-height: 74px;
    padding: 0.68rem 0.72rem;
  }

  .admin-stat-card .stat-value {
    font-size: 0.92rem;
  }

  .admin-stat-card .stat-label,
  .admin-stat-sub {
    font-size: 0.58rem;
  }

  .user-stat-card {
    min-height: 74px;
    padding: 0.68rem 0.72rem;
  }

  .user-stat-card .stat-value {
    font-size: 0.9rem;
  }

  .user-stat-card .stat-label,
  .user-quick-action-card .action-label {
    font-size: 0.58rem;
  }

  .user-wallet-card {
    padding: 1rem 0.92rem;
  }

  .user-wallet-card .balance-amount {
    font-size: 1.5rem;
  }

  .user-wallet-card__top {
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
  }

  .user-wallet-card__level {
    align-self: flex-start;
  }

  .user-wallet-card__meta {
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
  }

  .wallet-va-copy-btn,
  .wallet-va-request-btn {
    width: 100%;
    justify-content: center;
  }

  .wallet-va-copy-btn {
    margin-top: 0.35rem;
  }

  .wallet-va-pending-badge {
    align-self: flex-start;
  }

  /* Quick action icon circle slightly smaller on xs */
  .quick-action-card .action-icon {
    font-size: 1.6rem;
  }

  .user-quick-action-card .action-icon {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1rem;
  }

  /* Referral link box — stack on very small screens */
  .referral-link-box {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .btn-copy-referral {
    width: 100%;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════════
   23. SECTION-SPECIFIC
   ═══════════════════════════════════════════════════════ */

/* Services section */
.services-section {
  padding: 5rem 0;
  background: var(--light-gray);
}

/* Why choose us */
.why-section {
  padding: 5rem 0;
  background: var(--white);
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.why-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: rgba(10, 36, 99, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--primary);
}

.why-item h6 {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.why-item p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin: 0;
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 5rem 0;
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
}

/* API section */
.api-section {
  padding: 5rem 0;
  background: var(--light-gray);
}

.api-code-block {
  background: #1e2736;
  border-radius: var(--radius);
  padding: 1.5rem;
  color: #a8d8a8;
  font-family: 'Courier New', monospace;
  font-size: var(--text-sm);
  line-height: 1.7;
  overflow-x: auto;
}

.api-code-block .code-comment { color: #6a9955; }
.api-code-block .code-key    { color: #9cdcfe; }
.api-code-block .code-string { color: #ce9178; }

/* Admin specific */
.admin-sidebar {
  background: #0f1923;
}

.admin-topbar {
  border-bottom-color: var(--border);
}

/* Badge in sidebar nav */
.sidebar-link .badge-count {
  margin-left: auto;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  font-weight: 700;
}

/* Profile avatar */
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Notification dot */
.notif-dot {
  position: relative;
}

.notif-dot::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
  border: 2px solid white;
}

/* Search input */
.search-input {
  border-radius: 50px;
  border: 1.5px solid var(--border);
  padding: 0.5rem 1.2rem;
  font-size: var(--text-sm);
  background: var(--light-gray);
}

.search-input:focus {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: none;
}

/* Progress bars */
.progress {
  height: 8px;
  border-radius: 50px;
  background: var(--mid-gray);
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 50px;
}

/* Contact section */
.contact-section {
  padding: 5rem 0;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: rgba(10, 36, 99, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* Announcement / info bar (e.g. in user dashboard) */
.info-banner {
  background: linear-gradient(90deg, rgba(10,36,99,0.05), rgba(255,184,0,0.07));
  border: 1px solid rgba(10, 36, 99, 0.12);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: var(--text-sm);
  color: var(--primary);
}

.airtime-amount-panel {
  background: linear-gradient(180deg, rgba(10, 36, 99, 0.03), rgba(10, 36, 99, 0.01));
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: 16px;
  padding: 1rem;
}

.airtime-amount-input-wrap {
  position: relative;
}

.airtime-amount-prefix {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
}

.airtime-amount-input {
  padding-left: 2.3rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.airtime-amount-panel .form-text {
  margin-top: 0.55rem;
}

.cable-validation-card,
.cable-plan-summary {
  background: linear-gradient(180deg, rgba(10, 36, 99, 0.03), rgba(10, 36, 99, 0.01));
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: 16px;
  padding: 1rem;
}

.airtime-quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.airtime-quick-amount {
  appearance: none;
  cursor: pointer;
  border: 1px solid rgba(10, 36, 99, 0.12);
  background: var(--white);
  color: var(--primary);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  transition: var(--transition);
}

.airtime-quick-amount:hover {
  border-color: rgba(10, 36, 99, 0.24);
  background: rgba(10, 36, 99, 0.04);
  transform: translateY(-1px);
}

.airtime-quick-amount.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(10, 36, 99, 0.16);
}

.receipt-shell {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.receipt-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(10, 36, 99, 0.08);
  overflow: hidden;
}

.receipt-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.05), rgba(255, 184, 0, 0.08));
  border-bottom: 1px solid rgba(10, 36, 99, 0.08);
}

.receipt-brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
}

.receipt-brand-name span {
  color: var(--accent);
}

.receipt-brand-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.25px;
}

.receipt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.5rem 1.5rem 0;
}

.receipt-section {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: 16px;
  background: rgba(10, 36, 99, 0.015);
}

.receipt-section h6 {
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.receipt-details-list,
.receipt-section {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.receipt-detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed rgba(10, 36, 99, 0.10);
}

.receipt-detail-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.receipt-detail-row span {
  color: var(--text-muted);
}

.receipt-detail-row strong {
  color: var(--text-dark);
  text-align: right;
  word-break: break-word;
}

.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.receipt-print-footer {
  display: block;
  margin: 1rem 1.5rem 0;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(10, 36, 99, 0.08);
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  letter-spacing: 0.15px;
}

.receipt-ref {
  font-size: 0.74rem;
  font-family: Consolas, monospace;
  color: var(--primary);
  word-break: break-all;
}

.receipt-table th,
.receipt-table td {
  vertical-align: middle;
}

.receipt-cell-muted {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.table-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  white-space: nowrap;
  padding: 0.32rem 0.65rem;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
}

.table-action-btn i {
  font-size: 0.82rem;
}

.transaction-type-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15px;
  padding: 0.38rem 0.72rem;
}

/* ── Soft-transparent transaction badges (status + type) ── */
.tx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3em 0.75em;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15px;
  white-space: nowrap;
  line-height: 1.55;
  vertical-align: middle;
}

.tx-badge .bi {
  font-size: 0.68rem;
  flex-shrink: 0;
}

/* Status variants */
.tx-status-success {
  color: #0b6929;
  background: rgba(40, 167, 69, 0.13);
}
.tx-status-pending {
  color: #8a5d00;
  background: rgba(255, 193, 7, 0.18);
}
.tx-status-failed {
  color: #a31e2e;
  background: rgba(220, 53, 69, 0.13);
}
.tx-status-reversed {
  color: #495057;
  background: rgba(108, 117, 125, 0.14);
}

/* Type variants */
.tx-type-credit {
  color: #0b6929;
  background: rgba(40, 167, 69, 0.13);
}
.tx-type-debit {
  color: #a31e2e;
  background: rgba(220, 53, 69, 0.13);
}
.tx-type-neutral {
  color: #495057;
  background: rgba(108, 117, 125, 0.14);
}

/* Ensure the type badge doesn't overflow narrow cells */
.tx-type-badge {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-page-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.04), rgba(255, 184, 0, 0.08));
}

.admin-page-intro h5 {
  color: var(--primary);
  font-weight: 800;
}

.admin-page-intro p {
  color: var(--text-muted);
  font-size: 0.86rem;
  max-width: 720px;
}

.admin-page-kicker {
  display: inline-flex;
  margin-bottom: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(10, 36, 99, 0.08);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.admin-filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.admin-filter-toolbar .btn {
  margin-right: 0 !important;
}

.admin-filter-card {
  border-radius: 18px;
}

.admin-filter-card .card-body {
  padding: 1.15rem;
}

.admin-status-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(10, 36, 99, 0.08);
}

.admin-status-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.admin-status-card h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.admin-status-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.admin-status-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.admin-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(10, 36, 99, 0.07);
  color: var(--primary);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.2;
}

.admin-status-pill-fresh {
  background: rgba(40, 167, 69, 0.12);
  color: #1f7a38;
}

.admin-status-pill-recent {
  background: rgba(255, 184, 0, 0.14);
  color: #8a6500;
}

.admin-status-pill-stale {
  background: rgba(220, 53, 69, 0.12);
  color: #a52834;
}

.admin-wallet-amount.is-loading {
  position: relative;
  color: transparent !important;
  min-height: 1.75rem;
}

.admin-wallet-amount.is-loading::after {
  content: '';
  position: absolute;
  inset: 0.18rem 0 0.08rem;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(10, 36, 99, 0.08) 25%, rgba(10, 36, 99, 0.16) 37%, rgba(10, 36, 99, 0.08) 63%);
  background-size: 400% 100%;
  animation: adminWalletShimmer 1.15s ease-in-out infinite;
}

@keyframes adminWalletShimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: 0 0;
  }
}

.admin-status-card .btn.btn-sm {
  padding: 0.38rem 0.78rem;
  font-size: 0.72rem;
}

/* ── Dashboard section labels (Provider Balances / System Status) ── */
.admin-section-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  padding: 0 0.2rem 0.5rem;
  border-bottom: 1.5px solid rgba(0,0,0,0.07);
  margin-bottom: 0.72rem;
}

.admin-section-label i {
  font-size: 0.82rem;
  opacity: 0.75;
}

/* ── Compact icon action buttons (admin tables) ── */
.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.24rem 0.46rem;
  font-size: 0.75rem;
  line-height: 1;
  border-radius: 6px;
  min-width: 0;
  white-space: nowrap;
}

.btn-action i {
  font-size: 0.78rem;
  line-height: 1;
}

.actions-cell {
  white-space: nowrap;
}

.actions-cell .d-flex {
  flex-wrap: nowrap;
}

.admin-dashboard-userline {
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--text-dark);
}

.admin-dashboard-subline {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.admin-dashboard-datecell,
.admin-dashboard-phonecell {
  font-size: 0.79rem;
  color: var(--text-muted);
}

.admin-dashboard-badge {
  font-size: 0.66rem;
}

.admin-dashboard-typebadge {
  background: rgba(10,36,99,0.08);
  color: var(--primary);
  font-size: 0.66rem;
}

.admin-dashboard-ref {
  font-size: 0.72rem;
}

/* ─── Popup Page — horizontal summary bar ────────────────────────────────── */
.popup-page-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1.25rem;
  box-shadow: 0 2px 10px rgba(10, 36, 99, 0.05);
  flex-wrap: wrap;
}

.popup-page-bar-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 2px;
}

/* ─── Popup Messages — compact table ─────────────────────────────────────── */
.popup-msgs-table thead th {
  font-size: 0.71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.875rem;
  white-space: nowrap;
}

.popup-msgs-table tbody td {
  padding: 0.55rem 0.875rem;
  font-size: 0.82rem;
  vertical-align: middle;
}

.popup-msgs-table .pm-title {
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.3;
}

.popup-msgs-table .pm-excerpt {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 1px;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Icon-only micro buttons for the action column */
.btn-xs {
  padding: 0.22rem 0.46rem;
  font-size: 0.75rem;
  border-radius: 5px;
  line-height: 1.35;
}

@media (max-width: 575.98px) {
  .popup-page-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
  }
}

/* ─── Airtime Commission Pricing Breakdown Card ───────────────────────────── */
.airtime-pricing-breakdown {
  background: #f8faff;
  border: 1px solid rgba(10, 36, 99, 0.12);
  border-radius: 14px;
  padding: 1rem 1.125rem;
}

.airtime-pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.3rem 0;
  font-size: 0.875rem;
}

.airtime-pricing-label {
  color: var(--text-muted);
  flex: 1;
  min-width: 0;
}

.airtime-pricing-value {
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-dark);
}

.airtime-pricing-savings {
  color: #198754;
}

.airtime-pricing-divider {
  border-top: 1px dashed rgba(10, 36, 99, 0.12);
  margin: 0.35rem 0;
}

.airtime-pricing-total-row .airtime-pricing-label {
  color: var(--text-dark);
  font-size: 0.9rem;
}

.airtime-pricing-total {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

/* Commission savings chip on network cards */
.network-option-comm-chip {
  display: inline-block;
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ─── Popup Preview — modal-frame simulation ──────────────────────────────── */
.popup-preview-shell {
  background: rgba(10, 15, 30, 0.52);
  border-radius: var(--radius-sm);
  padding: 2rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.popup-preview-modal {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
  width: 100%;
  max-width: 360px;
}

.popup-preview-header {
  padding: 1.25rem 1.4rem 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
}

/* Fix: Bootstrap h5 sets its own color — override explicitly */
.popup-preview-header h5,
.popup-preview-header .popup-preview-title {
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

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

.popup-preview-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

.popup-preview-close-btn {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  line-height: 1;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.popup-preview-body {
  padding: 1.1rem 1.4rem;
  color: var(--text-dark);
  font-size: 0.875rem;
  line-height: 1.75;
}

.popup-preview-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.4rem 1.25rem;
}

.admin-settings-section {
  padding: 1rem;
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: 16px;
  background: rgba(10, 36, 99, 0.015);
}

/* ─── Settings Page — Premium Two-Panel Layout ────────────────────────────── */
.settings-save-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 16px rgba(10, 36, 99, 0.07);
  position: sticky;
  top: 16px;
  z-index: 90;
}

.settings-group {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(10, 36, 99, 0.05);
  transition: box-shadow 0.2s;
}

.settings-group:hover {
  box-shadow: 0 6px 24px rgba(10, 36, 99, 0.1);
}

/* Card header — more padding, more gap so title/subtitle breathe */
.settings-group-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(135deg, rgba(10,36,99,0.05) 0%, rgba(10,36,99,0.015) 100%);
  border-bottom: 1px solid var(--border);
}

/* Larger, rounder icon */
.settings-group-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(10, 36, 99, 0.28);
}

.settings-group-icon--orange  { background: #d97706; box-shadow: 0 3px 10px rgba(217,119,6,0.3); }
.settings-group-icon--green   { background: #16a34a; box-shadow: 0 3px 10px rgba(22,163,74,0.3); }
.settings-group-icon--teal    { background: #0891b2; box-shadow: 0 3px 10px rgba(8,145,178,0.3); }
.settings-group-icon--red     { background: #dc2626; box-shadow: 0 3px 10px rgba(220,38,38,0.3); }
.settings-group-icon--sky     { background: #0ea5e9; box-shadow: 0 3px 10px rgba(14,165,233,0.3); }
.settings-group-icon--purple  { background: #7c3aed; box-shadow: 0 3px 10px rgba(124,58,237,0.3); }

/* Title — larger and clearly readable */
.settings-group-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.35;
}

/* Subtitle — a little more space from the title */
.settings-group-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.4;
}

/* Card body — consistent inner padding */
.settings-group .card-body {
  padding: 1.5rem !important;
}

/* Sub-section label inside a card (e.g. "SMTP Credentials") */
.settings-section-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

/* Toggle rows — more comfortable switch padding */
.settings-toggle-row {
  padding: 1rem 1.1rem;
  background: rgba(10, 36, 99, 0.025);
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: var(--radius-sm);
}

.settings-toggle-row .form-check-label {
  padding-left: 0.25rem;
}

.settings-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}

.settings-test-box {
  background: rgba(10, 36, 99, 0.03);
  border: 1px dashed rgba(10, 36, 99, 0.2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.settings-status-badge {
  font-size: 0.68rem;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .settings-save-bar {
    position: static;
  }
  .settings-group-header {
    padding: 1rem 1.25rem;
  }
  .settings-group .card-body {
    padding: 1.25rem !important;
  }
}

.admin-auth-card {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.admin-auth-intro {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
}

@media (max-width: 767.98px) {
  .airtime-amount-panel {
    padding: 0.85rem;
    border-radius: 14px;
  }

  .airtime-quick-amounts {
    gap: 0.45rem;
  }

  .airtime-quick-amount {
    padding: 0.42rem 0.72rem;
    font-size: 0.72rem;
  }

  .receipt-card-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.1rem 1rem;
  }

  .receipt-grid {
    grid-template-columns: 1fr;
    padding: 1rem 1rem 0;
  }

  .receipt-section {
    padding: 0.9rem;
    border-radius: 14px;
  }

  .receipt-detail-row {
    flex-direction: column;
    gap: 0.2rem;
  }

  .receipt-detail-row strong {
    text-align: left;
  }

  .admin-page-intro {
    padding: 0.9rem 1rem;
    border-radius: 16px;
  }

  .admin-page-intro p {
    font-size: 0.8rem;
  }

  .admin-filter-card .card-body {
    padding: 1rem;
  }

  .admin-settings-section {
    padding: 0.9rem;
    border-radius: 14px;
  }

  .admin-status-card {
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    gap: 0.75rem;
  }

  .admin-status-icon {
    width: 38px;
    height: 38px;
    font-size: 0.92rem;
  }

  .admin-status-card h6 {
    font-size: 0.88rem;
  }

  .admin-status-copy {
    font-size: 0.78rem;
  }

  .admin-status-meta,
  .admin-dashboard-subline,
  .admin-dashboard-datecell,
  .admin-dashboard-phonecell {
    font-size: 0.68rem;
  }

  .admin-dashboard-userline {
    font-size: 0.77rem;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 8mm;
  }

  .dashboard-sidebar,
  .dashboard-topbar,
  .sidebar-overlay,
  .receipt-screen-toolbar,
  .receipt-actions,
  .page-loader,
  .admin-page-kicker {
    display: none !important;
  }

  .dashboard-main,
  .dashboard-content,
  .receipt-shell {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 11px;
  }

  .receipt-shell {
    max-width: 100% !important;
    position: relative;
  }

  .receipt-card {
    box-shadow: none;
    border: 1px solid #bfc6d4;
    border-radius: 0;
  }

  .receipt-card-header {
    padding: 0.65rem 0.85rem;
    background: #f5f7fb !important;
    border-bottom: 1px solid #cfd6e3;
  }

  .receipt-brand-name {
    font-size: 1.05rem;
  }

  .receipt-brand-sub {
    font-size: 0.64rem;
  }

  .receipt-brand-name,
  .receipt-section h6,
  .receipt-ref,
  .receipt-detail-row strong {
    color: #111 !important;
  }

  .receipt-brand-sub,
  .receipt-detail-row span,
  .receipt-cell-muted {
    color: #555 !important;
  }

  .receipt-grid {
    gap: 0.5rem;
    padding: 0.75rem 0.85rem 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .receipt-section {
    background: #fff !important;
    border: 1px solid #d6dce8;
    border-radius: 0;
    padding: 0.68rem 0.78rem;
    gap: 0.36rem;
    break-inside: avoid;
  }

  .receipt-section.mt-4 {
    margin-top: 0.45rem !important;
  }

  /* Hide WhatsApp float tooltip in print */
  .whatsapp-float-btn {
    display: none !important;
  }

  .receipt-section h6 {
    margin-bottom: 0.48rem;
    font-size: 0.8rem;
  }


  .receipt-detail-row {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 0.32rem;
    border-bottom: 1px solid #e1e6f0;
    font-size: 0.72rem;
    gap: 0.65rem;
  }

  .receipt-detail-row span {
    flex: 0 0 42%;
  }

  .receipt-detail-row strong {
    flex: 1 1 auto;
    text-align: right !important;
  }

  .receipt-section p {
    font-size: 0.72rem;
    line-height: 1.5 !important;
  }

  .receipt-ref {
    font-size: 0.62rem;
  }

  .badge,
  .tx-badge {
    border: 1px solid #c7cfdd;
    background: #fff !important;
    color: #111 !important;
  }

  .receipt-print-footer {
    display: block;
    margin: 0.55rem 0.85rem 0;
    padding-top: 0.45rem;
    border-top: 1px solid #cfd6e3;
    text-align: left;
    font-size: 0.62rem;
    color: #555 !important;
    letter-spacing: 0.2px;
  }
}

/* ═══════════════════════════════════════════════════════
   FLOATING WHATSAPP SUPPORT BUTTON
   ═══════════════════════════════════════════════════════ */

/* Pulse ring animation */
@keyframes wa-pulse {
  0%   { box-shadow: 0 3px 10px rgba(0,0,0,0.22), 0 0 0 0    rgba(37,211,102,0.45); }
  60%  { box-shadow: 0 3px 10px rgba(0,0,0,0.22), 0 0 0 10px rgba(37,211,102,0); }
  100% { box-shadow: 0 3px 10px rgba(0,0,0,0.22), 0 0 0 0    rgba(37,211,102,0); }
}

/* translateZ(0) keeps position:fixed pinned to the viewport on iOS Safari
   even when body/html have overflow-x:clip set. */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: auto;
  top: auto;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25D366;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
  animation: wa-pulse 2.6s ease-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.whatsapp-float-btn svg {
  display: block;
  flex-shrink: 0;
}

.whatsapp-float-btn:hover,
.whatsapp-float-btn:focus {
  background: #20ba59;
  -webkit-transform: translateZ(0) scale(1.1);
  transform: translateZ(0) scale(1.1);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.28);
  animation: none;
  outline: none;
}

/* Mobile */
@media (max-width: 575.98px) {
  .whatsapp-float-btn {
    width: 40px;
    height: 40px;
    bottom: 18px;
    right: 18px;
  }
}

/* ═══════════════════════════════════════════════════════
   27. SITE DEVELOPER PAGE
   ═══════════════════════════════════════════════════════ */

/* Navbar: subtle code icon next to Site Developer link */
.nav-link-dev .nav-dev-icon {
  font-size: 0.72rem;
  opacity: 0.65;
  margin-right: 0.3rem;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* ── Hero ── */
.dev-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #1a4b9e 100%);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.dev-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.dev-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin: 0 auto;
}

.dev-hero-badge {
  display: inline-block;
  background: rgba(255, 184, 0, 0.18);
  color: var(--accent);
  border: 1px solid rgba(255, 184, 0, 0.35);
  border-radius: 50px;
  padding: 0.35rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.dev-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.1rem;
  letter-spacing: -0.5px;
}

.dev-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 2rem;
}

.dev-hero-cta {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.dev-wa-btn {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
  font-weight: 700;
}
.dev-wa-btn:hover {
  background: #20ba59 !important;
  border-color: #20ba59 !important;
  transform: translateY(-1px);
}

.dev-hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}
.dev-hero-trust i { color: var(--accent); }
.dev-trust-sep { opacity: 0.35; }

/* ── Section badges & headings ── */
.dev-section-badge {
  display: inline-block;
  background: rgba(10, 36, 99, 0.08);
  color: var(--primary);
  border-radius: 50px;
  padding: 0.35rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

/* ── Services section ── */
.dev-services-section {
  padding: 5rem 0;
  background: var(--white);
}

.dev-service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.dev-service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,36,99,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.dev-service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.dev-service-card:hover::after { opacity: 1; }

.dev-service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}

.dev-service-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.dev-service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Showcase section ── */
.dev-showcase-section {
  background: var(--body-bg);
  padding: 5rem 0;
}

.dev-showcase-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}

.dev-feature-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.dev-feature-check i {
  color: var(--success);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ── Why section ── */
.dev-why-section {
  padding: 5rem 0;
  background: var(--white);
}

.dev-why-card {
  text-align: center;
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--body-bg);
  border: 1.5px solid var(--border);
  height: 100%;
  transition: var(--transition);
}

.dev-why-card:hover {
  border-color: rgba(10, 36, 99, 0.25);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.dev-why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.dev-why-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.dev-why-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Contact section ── */
.dev-contact-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 5rem 0;
  color: var(--white);
}

.dev-contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}

.dev-contact-card:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.dev-contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
}

.dev-contact-card h6 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.4rem;
}

.dev-contact-card a,
.dev-contact-card .dev-contact-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  word-break: break-all;
}

.dev-contact-card a:hover { color: var(--accent); }

/* ── Inquiry form ── */
.dev-inquiry-section {
  background: var(--body-bg);
  padding: 5rem 0;
}

.dev-inquiry-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
  .dev-hero { padding: 3.5rem 0 3rem; }
  .dev-hero-title { font-size: 1.9rem; }
  .dev-hero-cta .btn { width: 100%; justify-content: center; }
  .dev-showcase-box { padding: 2rem 1.25rem; }
  .dev-inquiry-box { padding: 2rem 1.25rem; }
  .dev-services-section,
  .dev-showcase-section,
  .dev-why-section,
  .dev-contact-section,
  .dev-inquiry-section { padding: 3.5rem 0; }
}

/* ── Purchase Confirmation Modal ─────────────────────────────────────────── */
.purchase-confirm-modal {
  border-radius: 20px;
  border: 1.5px solid rgba(10, 36, 99, 0.12);
  overflow: hidden;
}
.purchase-confirm-header {
  background: linear-gradient(135deg, rgba(10,36,99,0.05) 0%, rgba(10,36,99,0.02) 100%);
  border-bottom: 1px solid rgba(10,36,99,0.08);
  padding: 1rem 1.25rem;
}
.purchase-confirm-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(10,36,99,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}
.purchase-confirm-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1px;
}
.purchase-confirm-note {
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-size: 0.8rem;
  color: #5c4200;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.purchase-confirm-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.purchase-confirm-rows {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
}
.purchase-confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.9rem;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  gap: 1rem;
}
.purchase-confirm-row:last-child {
  border-bottom: none;
  background: rgba(10,36,99,0.04);
}
.purchase-confirm-row:nth-child(odd) {
  background: rgba(0,0,0,0.015);
}
.purchase-confirm-row:last-child:nth-child(odd) {
  background: rgba(10,36,99,0.04);
}
.purchase-confirm-label {
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}
.purchase-confirm-value {
  font-weight: 700;
  color: #212529;
  text-align: right;
  word-break: break-word;
}
.purchase-confirm-footer {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 0.85rem 1.25rem;
  gap: 0.6rem;
}
.purchase-confirm-cancel { flex: 1; }
.purchase-confirm-ok { flex: 1.5; font-weight: 600; }

/* A2C modal purchase summary block */
.a2c-modal-summary {
  background: rgba(10,36,99,0.04);
  border: 1px solid rgba(10,36,99,0.1);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.a2c-modal-summary-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  padding: 0.5rem 0.9rem 0.4rem;
  border-bottom: 1px solid rgba(10,36,99,0.1);
}
.a2c-modal-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.a2c-modal-summary-row:last-child { border-bottom: none; }
.a2c-modal-summary-row .lbl { color: var(--text-muted); font-weight: 500; }
.a2c-modal-summary-row .val { font-weight: 700; color: #212529; }

/* ── WhatsApp Discussion Group Card ─────────────────────────────────────── */
.whatsapp-discussion-card {
  background: linear-gradient(135deg, #075e54 0%, #128c7e 55%, #25d366 100%);
  border-radius: 18px;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 4px 20px rgba(7,94,84,0.25);
}
.whatsapp-discussion-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #ffffff;
  flex-shrink: 0;
}
.whatsapp-discussion-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.2rem;
  line-height: 1.2;
}
.whatsapp-discussion-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.45;
}
.whatsapp-discussion-btn {
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  white-space: nowrap;
  transition: background 0.18s, border-color 0.18s;
}
.whatsapp-discussion-btn:hover,
.whatsapp-discussion-btn:focus {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.65);
  color: #ffffff;
}
@media (max-width: 575px) {
  .whatsapp-discussion-card {
    padding: 1rem;
  }
  .whatsapp-discussion-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
