/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
  /* Colors */
  --primary: #67D10D;
  --primary-hover: #0D8C3A;
  --primary-light: rgba(103, 209, 13, 0.1);
  
  --bg-main: #F5F7FA;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-navy: #0A1830;
  --bg-sidebar: #0A1830;
  
  --border-color: #E2E8F0;
  --border-light: rgba(226, 232, 240, 0.5);
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;
  
  /* Status Colors */
  --danger: #EF4444;
  --success: #10B981;
  --warning: #F59E0B;
  --info: #3B82F6;
  
  /* Transaction Specific Colors */
  --tx-completed: #10B981;
  --tx-pending: #F59E0B;
  --tx-failed: #EF4444;
  --tx-refunded: #3B82F6;
  --tx-cancelled: #94A3B8;

  /* Transaction Icon Backgrounds */
  --icon-bg-deposit: rgba(16, 185, 129, 0.1);
  --icon-bg-purchase: rgba(59, 130, 246, 0.1);
  --icon-bg-refund: rgba(139, 92, 246, 0.1);
  
  /* Brand Service Colors */
  --whatsapp: #25D366;
  --telegram: #0088CC;
  --twitter: #1DA1F2;
  --google: #DB4437;

  /* Typography */
  --font-main: 'Outfit', sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  /* Shadows - Premium Vercel/Stripe feel */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-glow: 0 0 20px rgba(103, 209, 13, 0.2);
  
  /* Layout */
  --sidebar-width: 260px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

[data-theme="dark"] {
  --bg-main: #020617;
  --bg-card: #0F172A;
  --bg-card-hover: #1E293B;
  --bg-sidebar: #020617;
  --border-color: #1E293B;
  --border-light: rgba(30, 41, 59, 0.5);
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  
  /* Dark Mode Adjustments for Transactions */
  --icon-bg-deposit: rgba(16, 185, 129, 0.2);
  --icon-bg-purchase: rgba(59, 130, 246, 0.2);
  --icon-bg-refund: rgba(139, 92, 246, 0.2);
}

/* Theme utility classes */
.theme-bg { background-color: var(--bg-main) !important; }
.theme-bg-muted { background-color: var(--bg-card-hover) !important; }
.theme-card { background-color: var(--bg-card) !important; border-color: var(--border-color) !important; }
.theme-card:hover { background-color: var(--bg-card-hover) !important; }
.theme-text { color: var(--text-primary) !important; }
.theme-text-muted { color: var(--text-secondary) !important; }
.theme-border { border-color: var(--border-color) !important; }

/* Global Smooth Theme Transitions */
body, .theme-card, .theme-bg, .theme-bg-muted, .theme-text, .theme-text-muted, .theme-border {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-secondary);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   Layout Foundation
   ========================================================================== */
.dashboard-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.sidebar {
  width: var(--sidebar-width);
  background-color: var(--bg-sidebar);
  color: var(--text-inverse);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  z-index: 50;
}

.sidebar-header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-logo {
  height: 48px;
  object-fit: contain;
}

.dark-logo { display: none; }
[data-theme="dark"] .light-logo { display: none; }
[data-theme="dark"] .dark-logo { display: block; }

.sidebar-nav {
  padding: 24px 16px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }

.nav-section-title {
  color: #64748B;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 12px;
  margin-top: 8px;
}

.nav-section-title.mt-4 { margin-top: 16px; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: #94A3B8;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.nav-item i {
  font-size: 1.25rem;
  opacity: 0.7;
  transition: all 0.2s;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
}

.nav-item:hover i { opacity: 1; }

.nav-item.active {
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.nav-item.active i {
  color: var(--primary);
  opacity: 1;
}

.nav-item .badge {
  margin-left: auto;
  background-color: var(--primary);
  color: #000;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 700;
}

.text-danger { color: #EF4444 !important; }
.text-danger:hover { background-color: rgba(239, 68, 68, 0.1) !important; color: #EF4444 !important; }

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: transparent;
  border: none;
  color: #94A3B8;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  width: 100%;
}

.theme-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}
.avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--bg-navy);
  font-weight: 700;
  font-size: 14px;
}

.avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.avatar-sm:hover {
  border-color: var(--primary);
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
}

.user-email {
  font-size: 0.75rem;
  color: #94A3B8;
}

/* ==========================================================================
   Main Content & Topbar
   ========================================================================== */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  position: relative;
}

.main-content::-webkit-scrollbar { width: 6px; }
.main-content::-webkit-scrollbar-track { background: var(--bg-main); }
.main-content::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }
[data-theme="dark"] .main-content::-webkit-scrollbar-thumb { background: #334155; }

.topbar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background-color: var(--bg-main);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(245, 247, 250, 0.8);
  border-bottom: 1px solid var(--border-light);
}

[data-theme="dark"] .topbar {
  background-color: rgba(2, 6, 23, 0.8);
}

.page-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-card);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  width: 280px;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.topbar-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
  width: 320px;
}

.topbar-search i {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.topbar-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  width: 100%;
  font-family: var(--font-main);
  font-size: 0.9rem;
}

.search-shortcut {
  background-color: var(--bg-main);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  border: 1px solid var(--border-color);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wallet-pill {
  display: flex;
  align-items: center;
  background-color: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 4px 4px 4px 12px;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.wallet-pill i {
  color: var(--success);
  font-size: 1.1rem;
}

.wallet-pill .balance {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.btn-deposit {
  background: var(--text-primary);
  color: var(--bg-card);
  border: none;
  padding: 6px 12px;
  border-radius: 16px;
  font-weight: 600;
  font-family: var(--font-main);
  font-size: 0.8rem;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.btn-deposit:hover {
  transform: scale(1.05);
}

.icon-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.icon-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.indicator {
  position: absolute;
  top: 0px;
  right: 2px;
  width: 8px;
  height: 8px;
  background-color: var(--danger);
  border-radius: 50%;
  border: 2px solid var(--bg-card);
}

/* Custom Layout Classes for Dashboard Cards */
.card-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.card-title {
  font-weight: 700;
  font-size: 1.125rem;
}

.card-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.card-link:hover { color: var(--primary); }

.card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  cursor: pointer;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.tx-row:hover { background-color: var(--bg-card-hover); }
.tx-row:hover .tx-arrow { color: var(--primary); }
.tx-row:hover .tx-service-name { color: var(--primary); }

.tx-left { display: flex; align-items: center; gap: 16px; }
.tx-right { display: flex; align-items: center; gap: 16px; text-align: right; }

.tx-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
  font-size: 1.125rem;
}

.tx-service-name { font-weight: 700; font-size: 0.875rem; transition: color 0.3s; }
.tx-subtitle { font-size: 0.75rem; }
.tx-amount { font-weight: 700; font-size: 0.875rem; }
.tx-arrow { font-weight: 700; font-size: 1rem; transition: color 0.3s; }

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
  text-align: center;
}
.empty-icon { width: 80px; height: 80px; color: rgba(103, 209, 13, 0.2); margin-bottom: 16px; }
.empty-title { font-weight: 500; margin-bottom: 4px; }
.empty-desc { font-size: 0.875rem; margin-bottom: 16px; }
.btn-buy-empty {
  padding: 8px 20px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}
.btn-buy-empty:hover { background-color: var(--primary-hover); }

/* ==========================================================================
   Dashboard Layout & Bento Grid
   ========================================================================== */
.dashboard-grid {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* Hero Welcome Section */
.hero-section {
  background: linear-gradient(135deg, var(--bg-navy) 0%, #11284b 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: #FFF;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(103, 209, 13, 0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content h2 {
  color: #FFF;
  font-size: 2rem;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.hero-content p {
  color: #94A3B8;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
}

.h-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.h-label {
  font-size: 0.8rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.h-val {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #FFF;
}

.h-divider {
  width: 1px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-navy);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-family: var(--font-main);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: #75E115;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(103, 209, 13, 0.4);
}

/* Quick Actions Grid */
.quick-actions-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.quick-actions-grid > .action-card {
  flex: 0 1 calc(33.333% - 14px);
  min-width: 200px;
}

.action-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-decoration: none;
}

.action-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  transition: all 0.3s;
  pointer-events: none;
}

.action-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.action-card:hover::after {
  border-color: var(--primary);
  opacity: 0.5;
}

.ac-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-hover);
  margin-bottom: 16px;
  transition: all 0.3s;
}

.action-card:hover .ac-icon {
  background: var(--primary);
  color: var(--bg-navy);
  transform: scale(1.1);
}

.ac-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.ac-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 24px;
}

.ac-cta {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}

.action-card:hover .ac-cta {
  color: var(--primary-hover);
}

.ac-cta i {
  transition: transform 0.3s;
}

.action-card:hover .ac-cta i {
  transform: translateX(4px);
}

/* Top Analytics Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.stat-title {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.stat-icon-small {
  color: var(--text-muted);
  background: var(--bg-main);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-trend {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-trend.positive { color: var(--success); font-weight: 500; }
.stat-trend.negative { color: var(--danger); font-weight: 500; }

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(300px, auto);
  gap: 24px;
}

.col-span-2 { grid-column: span 2; }
.row-span-2 { grid-row: span 2; }

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.bento-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.bento-header h3 {
  font-size: 1.1rem;
}

.btn-icon-sm {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px;
  border-radius: 4px;
}

.btn-icon-sm:hover { background: var(--bg-main); }

.chart-container {
  position: relative;
  height: 220px;
  width: 100%;
  flex: 1;
}

.donut-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Live OTP Panel */
.live-otp-panel {
  display: flex;
  flex-direction: column;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--success);
  border-radius: 50%;
  animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.otp-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding-right: 8px;
  flex: 1;
}

.otp-item {
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-main);
  transition: all 0.2s;
}

.otp-item:hover {
  border-color: var(--text-muted);
  background: var(--bg-card);
}

.otp-service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-right: 16px;
}

.bg-whatsapp { background: var(--whatsapp); }
.bg-telegram { background: var(--telegram); }
.bg-twitter { background: var(--twitter); }
.bg-google { background: var(--google); }

.otp-details {
  flex: 1;
}

.otp-title {
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.otp-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.otp-code-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  padding: 6px 12px;
  border-radius: 6px;
  margin-right: 16px;
  min-width: 120px;
  justify-content: space-between;
}

.code {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
}

.copy-btn:hover { color: var(--primary); }

.otp-status {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-success { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.status-pending { background: rgba(245, 158, 11, 0.1); color: var(--warning); }

/* Recent Activity Timeline */
.recent-activity-panel {
  display: flex;
  flex-direction: column;
}

.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 20px;
  gap: 24px;
  flex: 1;
  overflow-y: auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 10px; left: 6px; bottom: 10px;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 16px;
}

.tl-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  z-index: 2;
  position: absolute;
  left: -27px;
  top: 0;
  border: 4px solid var(--bg-card);
}

.bg-green { background: var(--success); }
.bg-blue { background: var(--info); }
.bg-purple { background: #8B5CF6; }
.bg-orange { background: var(--warning); }

.tl-content {
  display: flex;
  flex-direction: column;
}

.tl-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.tl-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.tl-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Floating Quick Buy Button
   ========================================================================== */


.qb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.2s;
}

.qb-item i {
  color: var(--primary-hover);
  font-size: 1.1rem;
}

.qb-item:hover {
  background: var(--bg-main);
}

.quick-buy-trigger {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--text-primary);
  color: var(--bg-card);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s, background 0.3s;
  position: relative;
}

.quick-buy-trigger:hover {
  transform: scale(1.05);
}

.qb-icon-main, .qb-icon-close {
  position: absolute;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.qb-icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

.quick-buy-container.open .qb-icon-main {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

.quick-buy-container.open .qb-icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* ==========================================================================
   Mobile Nav & Responsiveness
   ========================================================================== */


.mob-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 500;
}

.mob-nav-item i {
  font-size: 1.4rem;
}

.mob-nav-item.active {
  color: var(--primary-hover);
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  margin-right: 16px;
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  backdrop-filter: blur(4px);
}

@media (max-width: 1200px) {
  .quick-actions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .col-span-2 { grid-column: span 1; }
  /* Make Live OTP span 2 on medium screens to keep it wide */
  .live-otp-panel { grid-column: span 2; }
}

@media (max-width: 992px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-section {
    flex-direction: column-reverse;
    align-items: center;
    gap: 24px;
    text-align: center;
  }
  .hero-illustration {
    width: 200px; /* Scale down illustration so the box isn't too big */
  }
}

@media (max-width: 768px) {
  .hamburger-btn { display: block; }
  
  .sidebar { 
    position: fixed; 
    left: -260px; /* Hide by default */
    top: 0; 
    bottom: 0; 
    z-index: 1000; 
    transition: left 0.3s ease;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
  }
  .sidebar.open {
    left: 0;
  }
  .sidebar-backdrop.show {
    display: block;
  }
  
  .dashboard-layout { flex-direction: column; width: 100%; overflow-x: hidden; }
  .main-content { padding-bottom: 80px; width: 100%; overflow-x: hidden; } /* Space for bottom nav */
  
  
  
  .topbar { padding: 0 16px; justify-content: flex-start; }
  .topbar-right { margin-left: auto; gap: 12px; }
  .topbar-search { display: none; } /* Hide search on small mobile, show icon only ideally */
  
  .quick-actions-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .quick-actions-grid::-webkit-scrollbar {
    display: none;
  }
  .action-card {
    min-width: 75%;
    flex-shrink: 0;
    scroll-snap-align: center;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .col-span-2, .row-span-2, .live-otp-panel {
    grid-column: span 1;
    grid-row: auto;
  }
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  .h-divider {
    width: 100%;
    height: 1px;
  }
  .dashboard-grid {
    padding: 16px;
    gap: 16px;
  }
  .action-card {
    padding: 16px;
  }
  
  /* Form Inputs to prevent iOS zoom */
  input, select, textarea { 
    font-size: 16px !important; 
  }
  
  /* Touch Targets */
  button, .btn, .nav-item, .mob-nav-item, .action-card, .qb-item {
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  /* No need to reset quick-actions-grid as it is flex scrollable */
  .stats-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .stat-card {
    padding: 16px;
  }
  .hero-section {
    padding: 24px;
  }
}

.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hide-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-card-table thead {
    display: none;
  }
  .mobile-card-table, .mobile-card-table tbody, .mobile-card-table tr, .mobile-card-table td {
    display: block;
    width: 100%;
  }
  .mobile-card-table tr {
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    background: var(--bg-card);
  }
  .mobile-card-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    text-align: right;
  }
  .mobile-card-table td:last-child {
    border-bottom: none;
  }
  .mobile-card-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 16px;
    text-align: left;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
  }
}


/* =========================================================
   GECKOSMS MODERN SAAS DASHBOARD REFACTOR
   ========================================================= */

/* Hero Banner */
.modern-hero {
    background: linear-gradient(135deg, var(--bg-navy) 0%, #1a2a40 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}
.modern-hero::after {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(103,209,13,0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}
.modern-hero .hero-content {
    max-width: 60%;
    z-index: 1;
}
.modern-hero h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}
.modern-hero p {
    color: #94A3B8;
    font-size: 1.1rem;
    margin-bottom: 0;
}
.modern-hero .hero-action {
    z-index: 1;
}
.modern-hero .hero-btn {
    padding: 14px 28px;
    font-weight: 600;
}

/* Wallet Card */
.wallet-card-section {
    margin-bottom: 24px;
}
.wallet-premium-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    width: 100%;
}
.wallet-premium-card .wallet-info {
    display: flex;
    flex-direction: column;
}
.wallet-premium-card .wallet-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
}
.wallet-premium-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-family: var(--font-mono);
}
.btn-fund-wallet {
    background: var(--primary);
    color: #000;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-fund-wallet i {
    font-size: 1.25rem;
}
.btn-fund-wallet:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(103, 209, 13, 0.2);
}

/* Quick Services Grid */

.quick-services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    margin-top: -12px; /* Pull it closer to the wallet */
}
.service-btn {
    flex: 1 1 calc(33.333% - 12px);
    min-width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}
@media (max-width: 768px) {
    .service-btn {
        flex: 1 1 calc(50% - 12px);
    }
}
.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.service-btn:active {
    transform: translateY(0);
}
.btn-brand-primary {
    background-color: var(--primary);
    color: #000;
    border: 1px solid rgba(103, 209, 13, 0.5);
}
.btn-brand-primary:hover {
    background-color: var(--primary-hover);
}
.btn-brand-secondary {
    background-color: var(--bg-navy);
    color: white;
    border: 1px solid rgba(11, 23, 39, 0.5);
}
.btn-brand-secondary:hover {
    background-color: #162a47;
}

/* Clean Stats Row */
.clean-stats {
    margin-bottom: 24px;
}
.clean-stats .stat-card {
    padding: 24px;
}

/* Dashboard Bottom Grid */
.dashboard-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}
.empty-state-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}
.empty-state-modern .empty-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.empty-state-modern .empty-icon i {
    font-size: 2rem;
    color: var(--text-muted);
}
.empty-state-modern h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.empty-state-modern p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 280px;
    margin: 0 auto;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}
.floating-whatsapp-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

/* Sidebar Fixes for Mobile (Drawer) */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 99;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .sidebar-backdrop.show {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .dashboard-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Hero Banner Mobile */
    .modern-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
    }
    .modern-hero .hero-content {
        max-width: 100%;
        margin-bottom: 24px;
    }
    .modern-hero .hero-action {
        width: 100%;
    }
    .modern-hero .hero-btn {
        width: 100%;
        justify-content: center;
    }
    .modern-hero::after {
        right: -100px;
        bottom: -100px;
    }

    /* Wallet Card Mobile */
    .wallet-premium-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    width: 100%;
}
    .btn-fund-wallet {
        width: 100%;
        justify-content: center;
    }

    /* Quick Actions Mobile (2-2-1 Grid) */
    .quick-services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .quick-services-grid .service-btn:nth-child(5) {
        grid-column: 1 / -1;
        width: 60%;
        justify-self: center;
    }
    
    .floating-whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}
@media (max-width: 480px) {
    .quick-services-grid .service-btn {
        font-size: 0.9rem;
        padding: 12px 8px;
    }
    .quick-services-grid .service-btn:nth-child(5) {
        width: 80%;
    }
}
@media (max-width: 375px) {
    .quick-services-grid .service-btn:nth-child(5) {
        width: 90%;
    }
}


/* =========================================================
   GECKOSMS BENTO DASHBOARD GRID (KWIKOTP LAYOUT)
   ========================================================= */

.dashboard-bento {
    display: grid;
    gap: 24px;
    margin-bottom: 40px;
    /* Desktop Layout: 2 Columns */
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

/* Base Areas */
.db-hero {
    grid-column: 1 / -1;
}

.db-wallet {
    grid-column: 1;
}

.db-actions {
    grid-column: 1;
}

.db-bought {
    grid-column: 1;
}

.db-stats {
    grid-column: 2;
    grid-row: 2; /* Align with wallet */
}

.db-recent {
    grid-column: 2;
    grid-row: 3 / span 2; /* Align with actions and bought */
}

/* BENTO COMPONENTS */
.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

/* Stats Card Modern */
.stats-card-modern .stats-grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bg-main);
    padding: 24px 20px;
    border-radius: var(--radius-md);
}
.stat-item .stat-value {
    color: var(--text-primary);
}

/* Empty State Illustration */
.empty-illustration {
    width: 140px;
    height: auto;
    margin: 0 auto;
    opacity: 0.95;
    display: block;
}

/* Override previous mobile hero margins */
.db-hero.modern-hero {
    margin-bottom: 0;
}
.db-actions.quick-services-grid {
    margin-bottom: 0;
}
.wallet-card-section {
    margin-bottom: 0;
}

/* Mobile & Tablet Layout */
@media (max-width: 1024px) {
    .dashboard-bento {
        display: flex;
        flex-direction: column;
    }
    
    /* Order for flexbox */
    .db-wallet { order: 1; }
    .db-actions { order: 2; }
    .db-stats { order: 3; }
    .db-hero { order: 4; }
    .db-bought { order: 5; }
    .db-recent { order: 6; }
}

@media (max-width: 480px) {
    .stats-card-modern .stats-grid-4 {
        gap: 12px;
    }
    .stat-item {
        padding: 16px 12px;
    }
}

@media (max-width: 768px) {
    .bento-card {
        text-align: center;
        align-items: center;
    }
    .bento-header {
        width: 100%;
    }
}


/* =========================================================
   DESKTOP SPECIFIC LAYOUT OVERRIDE (Centered Flow)
   ========================================================= */
@media (min-width: 1025px) {
    .dashboard-bento {
        grid-template-columns: 1fr 1fr;
        grid-auto-flow: row;
    }
    
    /* 1. Hero stays full width */
    .db-hero {
        grid-column: 1 / -1;
    }
    
    /* 2. Wallet centered in the middle */
    .db-wallet {
        grid-column: 1 / -1;
        max-width: 700px;
        margin: 0 auto;
        width: 100%;
    }
    
    /* 3. Service buttons small and on ONE horizontal line */
    .db-actions.quick-services-grid {
        grid-column: 1 / -1;
        flex-wrap: nowrap !important;
        justify-content: center;
        gap: 16px;
        margin-top: 0;
    }
    .db-actions .service-btn {
        flex: 0 1 auto !important; /* Do not stretch */
        padding: 10px 24px !important;
        font-size: 0.85rem !important;
        min-width: auto !important;
    }
    
    /* 4. Transactions after buttons, full width with 4 columns */
    .db-stats {
        grid-column: 1 / -1;
        grid-row: auto; /* Reset any previous row forcing */
    }
    .stats-card-modern .stats-grid-4 {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    /* 5. Bought Numbers and Recent side-by-side */
    .db-bought {
        grid-column: 1;
        grid-row: auto;
    }
    .db-recent {
        grid-column: 2;
        grid-row: auto;
    }
}


/* =========================================================
   MOBILE SPECIFIC LAYOUT OVERRIDE (Refined alignment)
   ========================================================= */
@media (max-width: 768px) {
    /* 1. Wallet Card: Horizontal layout, smaller text and button */
    .wallet-premium-card {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px !important;
        gap: 12px !important;
    }
    .wallet-premium-card .wallet-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Keep text left aligned inside its container */
    }
    .wallet-premium-card .wallet-label {
        font-size: 0.65rem !important;
        margin-bottom: 2px !important;
    }
    .wallet-premium-card h3.wallet-balance-display {
        font-size: 1.4rem !important; /* Smaller balance text */
    }
    .btn-fund-wallet {
        width: auto !important; /* Don't span full width */
        padding: 8px 14px !important; /* Smaller button */
        font-size: 0.8rem !important;
        flex-shrink: 0;
    }
    
    /* 2. Service Buttons: Smaller, 5th button same size but centered */
    .db-actions.quick-services-grid {
        gap: 10px !important;
        justify-content: center !important;
    }
    .quick-services-grid .service-btn {
        flex: 1 1 calc(50% - 10px) !important;
        padding: 10px 8px !important;
        font-size: 0.8rem !important;
        min-width: 0 !important;
    }
    /* Target the 5th button specifically */
    .quick-services-grid .service-btn:nth-child(5) {
        flex: 0 1 calc(50% - 10px) !important; /* Same width as others */
        width: auto !important;
        margin: 0 auto; /* Center it */
    }

    /* 3. Transactions: Full width, centered text */
    .db-stats {
        width: 100% !important;
    }
    .db-stats.bento-card {
        text-align: center !important;
        align-items: center !important;
    }
    .db-stats .bento-header, .db-stats h3 {
        text-align: center !important;
        width: 100% !important;
    }
    
    /* 4. Bought Numbers & Recent Transactions: Cover page, center text */
    .db-bought, .db-recent {
        width: 100% !important;
    }
    .db-bought.bento-card, .db-recent.bento-card {
        text-align: center !important;
        align-items: center !important;
    }
    .bento-header {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
    }
    .empty-state-text {
        text-align: center !important;
        width: 100% !important;
    }
}

/* Extra safety for very small screens (iPhone SE) to prevent wallet wrap */
@media (max-width: 375px) {
    .wallet-premium-card h3.wallet-balance-display {
        font-size: 1.15rem !important;
    }
    .btn-fund-wallet {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }
    .quick-services-grid .service-btn {
        font-size: 0.75rem !important;
        padding: 8px 4px !important;
    }
}




/* =========================================================
   RECEIVE SMS - NATIVE MOBILE REDESIGN
   ========================================================= */
@media (max-width: 768px) {
    /* Clean Pill Buttons for Providers */
        .mobile-provider-btn {
        flex: 1;
        min-width: 0 !important;
        padding: 12px 0;
        border-radius: 9999px !important; /* Pill shape like image */
        font-weight: 800 !important;
        font-size: 0.85rem !important;
        text-align: center;
        border: none !important;
        box-shadow: none !important;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    /* Distinct Colors as requested */
    .mobile-provider-btn[data-provider="gecko"],
    .mobile-provider-btn[data-provider="boss"] {
        background-color: var(--primary) !important; /* Green */
        color: #000 !important;
    }

    .mobile-provider-btn[data-provider="oga"] {
        background-color: var(--bg-navy) !important; /* Navy (Secondary Brand) */
        color: #fff !important;
    }

    /* Active State handling (since they all have solid colors now) */
    .mobile-provider-btn.active {
        opacity: 1 !important;
        transform: scale(1.02);
    }
    .mobile-provider-btn:not(.active) {
        opacity: 0.35 !important;
    }
    /* Strip borders inherited from desktop */
    .provider-tab { border-width: 0 !important; }

    /* Polished Active Numbers Card (Pending/OTP) */
    .active-number-card {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 16px !important;
        padding: 16px !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important;
        margin-bottom: 16px;
    }
    .active-number-card .status-badge {
        font-size: 0.75rem !important;
        padding: 4px 10px !important;
    }
}

/* =========================================================
   CLEAN ACTIVITY ROW (BOUGHT NUMBERS & RECENT TX)
   ========================================================= */
.activity-row {
    display: grid;
    grid-template-columns: 2fr 2fr auto;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background-color 0.2s;
    gap: 16px;
}
.activity-row:last-child {
    border-bottom: none;
}
.activity-row:hover {
    background-color: var(--bg-card-hover);
}

.activity-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.activity-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.activity-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.activity-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.activity-subtitle {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.activity-middle {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.activity-primary-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.activity-secondary-value {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.activity-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: var(--text-primary);
    font-weight: 900;
    font-size: 1.4rem;
}
