/* ==========================================================================
   SUPREME GLOBAL FOODS | ROYAL OBSIDIAN & ELECTRIC AMETHYST COMMAND CENTER
   ========================================================================== */

:root {
  /* Deep Luxury Midnight & Obsidian Violet Backgrounds */
  --bg-deep: #080711;
  --bg-surface: #0E0D1D;
  --bg-card: rgba(20, 18, 38, 0.72);
  --bg-card-hover: rgba(30, 26, 56, 0.85);
  --bg-card-active: rgba(42, 35, 78, 0.95);

  /* Translucent Luminous Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-purple: rgba(168, 85, 247, 0.32);
  --border-purple-glow: rgba(192, 132, 252, 0.65);
  --border-gold: rgba(245, 158, 11, 0.3);

  /* Royal Purple & Electric Amethyst Palette */
  --purple-200: #F3E8FF;
  --purple-300: #E9D5FF;
  --purple-400: #C084FC;
  --purple-500: #A855F7;
  --purple-600: #8B5CF6;
  --purple-700: #7C3AED;
  --purple-800: #6B21A8;
  --purple-900: #4C1D95;
  --purple-gradient: linear-gradient(135deg, #C084FC 0%, #A855F7 45%, #7C3AED 100%);
  --purple-glow: rgba(168, 85, 247, 0.28);
  --purple-subtle: rgba(168, 85, 247, 0.12);

  /* Secondary Champagne Platinum / Warm Highlights */
  --gold-300: #FDE68A;
  --gold-400: #FCD34D;
  --gold-500: #F59E0B;
  --gold-gradient: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);

  /* Status Colors */
  --emerald-400: #34D399;
  --emerald-500: #10B981;
  --emerald-glow: rgba(16, 185, 129, 0.25);

  --blue-400: #60A5FA;
  --blue-500: #3B82F6;
  --blue-glow: rgba(59, 130, 246, 0.25);

  --amber-400: #FBBF24;
  --amber-500: #F59E0B;

  --red-400: #F87171;
  --red-500: #EF4444;

  /* Typography Colors */
  --text-main: #F8FAFC;
  --text-muted: #A3A3C2;
  --text-dim: #6B688A;

  /* Radii & Shadows */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 10px 32px rgba(0, 0, 0, 0.65);
  --shadow-purple: 0 0 28px rgba(168, 85, 247, 0.22);
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Glowing Background Orbs (Royal Purple / Violet / Indigo) */
.ambient-glow {
  position: fixed;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}

.glow-gold {
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, #8B5CF6 0%, transparent 70%);
}

.glow-emerald {
  top: 18%;
  right: -140px;
  background: radial-gradient(circle, #A855F7 0%, transparent 70%);
}

.glow-blue {
  bottom: -150px;
  left: 25%;
  background: radial-gradient(circle, #6366F1 0%, transparent 70%);
}

/* Confetti Canvas for Celebrations */
#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* Main Layout Wrapper */
.app-layout {
  position: relative;
  z-index: 1;
  max-width: 1560px;
  margin: 0 auto;
  padding: 24px 32px 60px 32px;
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--bg-card);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  gap: 20px;
  flex-wrap: wrap;
}

.header-brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo-container {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-badge-glow {
  position: absolute;
  inset: -4px;
  background: var(--purple-gradient);
  border-radius: var(--radius-md);
  filter: blur(8px);
  opacity: 0.6;
  animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.35; transform: scale(0.96); }
  100% { opacity: 0.8; transform: scale(1.06); }
}

.brand-badge {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--purple-gradient);
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px var(--purple-glow);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.brand-logo-img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1.5px solid rgba(192, 132, 252, 0.45);
  box-shadow: 0 4px 18px var(--purple-glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  z-index: 1;
}

.brand-logo-img:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 26px rgba(168, 85, 247, 0.6);
  border-color: var(--purple-400);
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #FFFFFF;
}

.region-badge {
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple-300);
  border: 1px solid rgba(168, 85, 247, 0.35);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.brand-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

/* Center Pulse Clock Widget */
.header-center-pulse {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(10, 8, 22, 0.4);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.time-widget {
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.time-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple-300);
}

.dispatch-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 14px;
}

.ping-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald-500);
  border-radius: 50%;
  position: relative;
}

.ping-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--emerald-500);
  opacity: 0.4;
  animation: pingPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sound-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.sound-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.sound-toggle-btn.active {
  color: var(--purple-300);
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.14);
}

/* Status Pill */
.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-connected {
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 16px var(--emerald-glow);
}
.status-connected .status-indicator {
  background: var(--emerald-500);
  box-shadow: 0 0 10px var(--emerald-500);
}

.status-scan_qr {
  background: rgba(168, 85, 247, 0.14);
  color: var(--purple-300);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 16px var(--purple-glow);
}
.status-scan_qr .status-indicator {
  background: var(--purple-500);
  box-shadow: 0 0 10px var(--purple-500);
}

.status-disconnected {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
  border-color: rgba(239, 68, 68, 0.3);
}
.status-disconnected .status-indicator {
  background: var(--red-500);
}

/* Master Automation Switch */
.master-switch-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 8, 22, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.switch-label-group {
  display: flex;
  flex-direction: column;
}

.switch-main-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.switch-sub-label {
  font-size: 10px;
  color: var(--emerald-400);
}

.toggle-slider {
  position: relative;
  width: 44px;
  height: 24px;
  display: inline-block;
}

.toggle-slider input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #2D274A;
  border-radius: var(--radius-full);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-track::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

input:checked + .toggle-track {
  background: var(--purple-gradient);
  box-shadow: 0 0 14px var(--purple-glow);
}

input:checked + .toggle-track::before {
  transform: translateX(20px);
}

/* ==========================================================================
   LIVE RADAR STATUS TICKER
   ========================================================================== */

.live-ticker-wrap {
  display: flex;
  align-items: center;
  background: rgba(18, 15, 34, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ticker-tag {
  background: var(--purple-gradient);
  color: #FFFFFF;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  margin-right: 16px;
  box-shadow: 0 0 12px var(--purple-glow);
}

.ticker-scroll {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  font-size: 12px;
  color: var(--text-muted);
  animation: tickerSlide 40s linear infinite;
}

.ticker-content:hover {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(5%); }
  100% { transform: translateX(-60%); }
}

.ticker-item {
  display: inline-block;
  font-weight: 500;
}

.ticker-separator {
  display: inline-block;
  margin: 0 14px;
  color: var(--purple-400);
}

/* ==========================================================================
   KPI SUMMARY CARDS
   ========================================================================== */

.kpi-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.kpi-glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.kpi-glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

.kpi-glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65), 0 0 24px var(--purple-glow);
  background: var(--bg-card-hover);
}

.kpi-glass-card:hover::before {
  background: var(--purple-gradient);
}

.kpi-glass-card.highlight {
  border-color: rgba(245, 158, 11, 0.3);
}

.kpi-glass-card.highlight::before {
  background: var(--amber-500);
}

.kpi-glass-card.success {
  border-color: rgba(16, 185, 129, 0.3);
}

.kpi-glass-card.success::before {
  background: var(--emerald-500);
}

.kpi-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.kpi-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-dim);
}

.kpi-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.kpi-icon-box.gold { background: rgba(168, 85, 247, 0.16); border: 1px solid rgba(168, 85, 247, 0.35); }
.kpi-icon-box.amber { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.3); }
.kpi-icon-box.purple { background: rgba(192, 132, 252, 0.18); border: 1px solid rgba(192, 132, 252, 0.4); }
.kpi-icon-box.emerald { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3); }

.kpi-card-body {
  margin-bottom: 16px;
}

.kpi-number {
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
}

.kpi-trend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
  color: var(--text-muted);
}

.kpi-trend.positive { color: var(--purple-300); }
.kpi-trend.urgent { color: var(--amber-400); }
.kpi-trend.success { color: var(--emerald-400); }

.urgent-pulse {
  width: 6px;
  height: 6px;
  background: var(--amber-500);
  border-radius: 50%;
  animation: pingPulse 1.5s infinite;
}

.kpi-footer-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

.progress-bar-fill.gold { background: var(--purple-gradient); }
.progress-bar-fill.amber { background: var(--amber-500); }
.progress-bar-fill.purple { background: linear-gradient(135deg, #C084FC, #8B5CF6); }
.progress-bar-fill.emerald { background: var(--emerald-500); }

/* ==========================================================================
   NAVIGATION TAB BAR
   ========================================================================== */

.navigation-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
  gap: 16px;
  overflow-x: auto;
}

.nav-tabs-group {
  display: flex;
  gap: 8px;
}

.nav-tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 20px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.nav-tab-btn:hover {
  color: var(--text-main);
}

.nav-tab-btn.active {
  color: var(--purple-300);
  border-bottom-color: var(--purple-500);
}

.tab-counter {
  background: rgba(168, 85, 247, 0.2);
  color: var(--purple-300);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.badge-tag {
  background: rgba(255, 255, 255, 0.08);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  color: var(--text-dim);
}

.badge-tag.pulse-tag {
  background: rgba(168, 85, 247, 0.18);
  color: var(--purple-300);
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.action-pill-btn {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--purple-200);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.action-pill-btn:hover {
  background: rgba(168, 85, 247, 0.25);
  border-color: var(--purple-400);
  color: #FFFFFF;
  box-shadow: 0 0 15px var(--purple-glow);
}

/* Tab Panels */
.tab-panel {
  display: none;
  animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ==========================================================================
   TOOLBAR & FILTER CONTROLS
   ========================================================================== */

.view-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-box-wrap {
  position: relative;
  flex: 1;
  min-width: 300px;
  max-width: 480px;
}

.search-lens-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-dim);
}

.glass-input {
  width: 100%;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 12px 16px 12px 42px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}

.glass-input:focus {
  border-color: var(--purple-500);
  box-shadow: 0 0 18px var(--purple-glow);
}

.filter-controls-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Segmented Control */
.segmented-control {
  display: flex;
  background: rgba(10, 8, 22, 0.5);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  gap: 2px;
}

.seg-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.seg-btn:hover {
  color: var(--text-main);
}

.seg-btn.active {
  background: var(--bg-card-active);
  color: var(--purple-300);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* View Mode Toggle */
.view-mode-toggle {
  display: flex;
  background: rgba(10, 8, 22, 0.5);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  gap: 4px;
}

.view-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

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

.toolbar-btns {
  display: flex;
  gap: 10px;
}

.glow-btn {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.glow-btn.gold {
  background: var(--purple-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 16px var(--purple-glow);
}

.glow-btn.gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.45);
}

.glow-btn.secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.glow-btn.secondary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   TABLE VIEW STYLES
   ========================================================================== */

.leads-table-container {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.leads-luxury-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.leads-luxury-table th {
  background: rgba(14, 12, 28, 0.95);
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.leads-luxury-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
  vertical-align: middle;
  transition: background 0.15s;
}

.leads-luxury-table tr:hover td {
  background: rgba(168, 85, 247, 0.04);
}

.time-cell-main {
  font-weight: 600;
  color: var(--text-main);
}

.time-cell-sub {
  font-size: 11px;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}

.wa-direct-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.1);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.25);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
}

.wa-direct-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--emerald-400);
  box-shadow: 0 0 12px var(--emerald-glow);
}

.badge-priority {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

.badge-priority.urgent {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-priority.normal {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.status-stage-select {
  background: rgba(14, 12, 28, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.status-stage-select:focus {
  border-color: var(--purple-500);
}

.delete-lead-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.delete-lead-btn:hover {
  color: var(--red-400);
  background: rgba(239, 68, 68, 0.1);
}

.table-empty {
  text-align: center;
  padding: 60px 20px !important;
}

.empty-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.empty-icon {
  font-size: 44px;
}

/* ==========================================================================
   KANBAN PIPELINE VIEW STYLES
   ========================================================================== */

.kanban-pipeline-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 1200px) {
  .kanban-pipeline-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .kanban-pipeline-container {
    grid-template-columns: 1fr;
  }
}

.kanban-col {
  background: rgba(18, 15, 34, 0.7);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.kanban-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

.col-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.col-title-wrap h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.col-badge {
  font-size: 13px;
}

.col-count {
  background: rgba(255, 255, 255, 0.08);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.kanban-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.kanban-empty {
  text-align: center;
  padding: 40px 10px;
  color: var(--text-dim);
  font-size: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

/* Kanban Lead Card */
.kanban-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: grab;
  position: relative;
}

.kanban-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55), 0 0 18px var(--purple-glow);
}

.kanban-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.lead-client-name {
  font-size: 14px;
  font-weight: 700;
  color: #FFF;
}

.lead-time-stamp {
  font-size: 10px;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}

.lead-business-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-300);
}

.lead-location {
  font-size: 11px;
  color: var(--text-muted);
}

.lead-casing-reqs {
  font-size: 12px;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  border-left: 2px solid var(--purple-500);
  color: var(--text-main);
  line-height: 1.4;
}

.kanban-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stage-advance-btn {
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: var(--purple-300);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.2s;
}

.stage-advance-btn:hover {
  background: var(--purple-gradient);
  color: #FFFFFF;
}

/* ==========================================================================
   SIMULATOR STYLES (Realistic iPhone Mockup)
   ========================================================================== */

.simulator-experience-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
}

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

.device-wrapper {
  display: flex;
  justify-content: center;
}

.iphone-bezel {
  width: 380px;
  height: 680px;
  background: #0B141A;
  border: 12px solid #1A1728;
  border-radius: 46px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(124, 58, 237, 0.2);
  display: flex;
  flex-direction: column;
  position: relative;
}

.dynamic-island {
  width: 100px;
  height: 24px;
  background: #000;
  margin: 8px auto 6px auto;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
}

.island-camera {
  width: 9px;
  height: 9px;
  background: #111;
  border: 1px solid #222;
  border-radius: 50%;
}

.wa-app-header {
  background: #1F2C34;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-avatar-ring {
  position: relative;
  width: 38px;
  height: 38px;
}

.wa-avatar {
  width: 100%;
  height: 100%;
  background: var(--purple-gradient);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--purple-400);
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.35);
}

.wa-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #10B981;
  border: 2px solid #1F2C34;
  border-radius: 50%;
}

.wa-contact-details {
  flex: 1;
}

.wa-contact-title {
  font-size: 13px;
  font-weight: 700;
  color: #E9EDEF;
}

.wa-contact-sub {
  font-size: 10px;
  color: #8696A0;
}

.wa-header-icons {
  display: flex;
  gap: 12px;
  color: #8696A0;
  font-size: 15px;
}

.wa-chat-scroll {
  flex: 1;
  background: #0B141A;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 18px 18px;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-day-stamp {
  align-self: center;
  background: rgba(31, 44, 52, 0.8);
  color: #8696A0;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.wa-bubble {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.45;
  word-wrap: break-word;
  white-space: pre-wrap;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  animation: bubblePop 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes bubblePop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.wa-bubble.bot {
  background: #202C33;
  color: #E9EDEF;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.wa-bubble.user {
  background: #005C4B;
  color: #E9EDEF;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.bubble-time {
  display: block;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
  margin-top: 4px;
}

/* Typing Indicator */
.typing-indicator-bubble {
  align-self: flex-start;
  background: #202C33;
  padding: 8px 12px;
  border-radius: 12px;
  border-bottom-left-radius: 2px;
  display: flex;
  gap: 4px;
  width: fit-content;
  margin: 0 14px 6px 14px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: #8696A0;
  border-radius: 50%;
  animation: typingPulse 1.2s infinite ease-in-out;
}

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

@keyframes typingPulse {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.wa-input-container {
  background: #202C33;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-attach-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #8696A0;
}

.wa-input-container input {
  flex: 1;
  background: #2A3942;
  border: none;
  border-radius: 20px;
  padding: 8px 14px;
  color: #FFF;
  font-size: 12px;
  outline: none;
}

.wa-send-circle-btn {
  background: var(--purple-gradient);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 2px 8px var(--purple-glow);
}

.wa-send-circle-btn:hover {
  transform: scale(1.08);
}

/* Simulator Controls Panel */
.simulator-control-panel {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.control-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.panel-heading {
  font-size: 18px;
  font-weight: 700;
  color: #FFF;
}

.panel-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.reset-chat-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.reset-chat-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.scenario-group-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  display: block;
}

.chips-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.action-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.action-chip:hover {
  transform: translateY(-2px);
  border-color: var(--purple-500);
  color: var(--purple-300);
  box-shadow: 0 4px 12px var(--purple-glow);
}

.action-chip.gold { border-color: rgba(168, 85, 247, 0.35); color: var(--purple-300); }
.action-chip.purple { border-color: rgba(192, 132, 252, 0.4); color: var(--purple-300); }
.action-chip.emerald { border-color: rgba(16, 185, 129, 0.3); color: var(--emerald-400); }
.action-chip.amber { border-color: rgba(245, 158, 11, 0.3); color: var(--amber-400); }
.action-chip.red { border-color: rgba(239, 68, 68, 0.3); color: var(--red-400); }

.spotlight-glass-box {
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-top: auto;
}

.spotlight-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  color: var(--purple-300);
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.spotlight-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   CONNECTION TAB STYLES
   ========================================================================== */

.connection-showcase {
  max-width: 800px;
  margin: 0 auto;
}

.connection-hero-card {
  background: var(--bg-card);
  backdrop-filter: blur(22px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.hero-badge {
  background: rgba(168, 85, 247, 0.16);
  color: var(--purple-300);
  border: 1px solid rgba(168, 85, 247, 0.35);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 14px;
}

.connection-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 8px;
}

.connection-subheadline {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 28px auto;
}

.pairing-stage-box {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.pairing-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.spinner-ring {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(168, 85, 247, 0.15);
  border-top-color: var(--purple-400);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.qr-glow-wrapper {
  position: relative;
  padding: 16px;
  background: #FFF;
  border-radius: var(--radius-md);
  box-shadow: 0 0 40px var(--purple-glow);
}

.qr-preview-img {
  width: 220px;
  height: 220px;
  display: block;
}

.connected-hero-state {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 30px 40px;
  box-shadow: 0 0 30px var(--emerald-glow);
  max-width: 520px;
}

.success-ring-icon {
  width: 56px;
  height: 56px;
  background: var(--emerald-500);
  color: #080711;
  font-size: 28px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 0 20px var(--emerald-glow);
}

.connected-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 10px;
}

.phone-display-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--emerald-400);
  border: 1px solid rgba(16, 185, 129, 0.3);
  margin-bottom: 14px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald-500);
  border-radius: 50%;
}

.connected-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.pairing-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

@media (max-width: 680px) {
  .pairing-steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.step-num {
  width: 24px;
  height: 24px;
  background: var(--purple-gradient);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 11px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.step-card h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #FFF;
}

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

/* ==========================================================================
   CASINGS CATALOG EXPLORER STYLES
   ========================================================================== */

.catalog-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.catalog-search-wrap {
  position: relative;
  flex: 1;
  max-width: 480px;
}

.catalog-filters-flex {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.cat-filter-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

.cat-filter-btn.active {
  background: var(--purple-gradient);
  color: #FFFFFF;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 14px var(--purple-glow);
}

.catalog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.catalog-glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s ease;
  position: relative;
}

.catalog-glass-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: var(--shadow-md), 0 0 20px var(--purple-glow);
}

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

.casing-name {
  font-size: 15px;
  font-weight: 700;
  color: #FFF;
}

.species-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
}

.species-pill.hog {
  background: rgba(236, 72, 153, 0.15);
  color: #F472B6;
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.species-pill.sheep {
  background: rgba(14, 165, 233, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.casing-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(0, 0, 0, 0.28);
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  font-size: 11px;
}

.spec-item span:first-child {
  color: var(--text-dim);
  font-weight: 600;
}

.spec-item span:last-child {
  color: #FFF;
  font-weight: 600;
  margin-left: 4px;
}

.casing-application-badge {
  font-size: 12px;
  color: var(--purple-300);
  background: rgba(168, 85, 247, 0.1);
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  border-left: 3px solid var(--purple-500);
  line-height: 1.4;
}

.test-casing-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
}

.test-casing-btn:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.45);
  color: var(--purple-200);
}

/* ==========================================================================
   SETTINGS TAB STYLES
   ========================================================================== */

.settings-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .settings-two-col-grid {
    grid-template-columns: 1fr;
  }
}

.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.panel-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  width: fit-content;
}

.panel-badge.gold {
  background: rgba(168, 85, 247, 0.18);
  color: var(--purple-300);
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.panel-badge.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
}

.panel-section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #FFF;
}

.panel-subtext {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-row {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.info-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.info-value {
  font-size: 13px;
  font-weight: 600;
  color: #FFF;
}

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

.muted-box-header {
  margin-top: 10px;
  margin-bottom: 10px;
}

.muted-box-header h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.muted-contacts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.empty-muted-item {
  font-size: 12px;
  color: var(--text-dim);
  font-style: italic;
  padding: 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-xs);
}

.muted-item-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.unmute-btn {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #F87171;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.2s;
}

.unmute-btn:hover {
  background: var(--red-500);
  color: #FFF;
}

/* Supabase & Cloudflare Helper Styles */
.text-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.sync-feedback-box {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid var(--purple-400);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  font-size: 12px;
  color: #F8FAFC;
  margin-top: 10px;
}

.sync-feedback-box.success {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--emerald-400);
  color: #34D399;
}

.sync-feedback-box.error {
  background: rgba(239, 68, 68, 0.15);
  border-color: var(--red-400);
  color: #F87171;
}

.code-helper-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  margin-top: 10px;
}

.code-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.code-block-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 12, 28, 0.9);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-block-row code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--purple-300);
  user-select: all;
}

