/**
 * admin-luxury.css
 * Universal Carib Live High-Contrast Luxury Design System
 * Matched to https://iptv.caribliveagency.info/index.php
 * Deep blue/indigo/midnight canvas, translucent elevated glass cards, cyan-to-indigo gradients, and generous spacing.
 */

:root {
  --bg-canvas: radial-gradient(circle at top left, #1e3a8a 0, #1d4ed8 22%, transparent 55%), radial-gradient(circle at bottom right, #4c1d95 0, #020617 55%), #020617;
  --bg-card: radial-gradient(circle at top left, rgba(248, 250, 252, 0.12), rgba(15, 23, 42, 0.98));
  --bg-card-header: rgba(15, 23, 42, 0.85);
  --border: rgba(148, 163, 184, 0.32);
  --border-light: rgba(148, 163, 184, 0.20);
  --text-main: #FFFFFF;
  --text-muted: #CBD5E1;
  --text-light: #94A3B8;
  --primary: #00D2FF;
  --primary-hover: #38BDF8;
  --primary-gradient: linear-gradient(135deg, #00D2FF, #6366F1);
  --primary-gradient-hover: linear-gradient(135deg, #38BDF8, #4F46E5);
  --primary-light: rgba(0, 210, 255, 0.22);
  --success: #00E676;
  --success-bg: rgba(0, 230, 118, 0.22);
  --warning: #FFB300;
  --warning-bg: rgba(255, 179, 0, 0.22);
  --danger: #FF2A55;
  --danger-bg: rgba(255, 42, 85, 0.22);
  --purple: #A855F7;
  --purple-light: rgba(168, 85, 247, 0.22);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 4px 16px rgba(2, 6, 23, 0.5);
  --shadow-md: 0 20px 60px rgba(15, 23, 42, 0.95), 0 0 0 1px rgba(148, 163, 184, 0.32);
  --sidebar-width: 260px;
  --nav-height: 64px;
}

/* ── Typography & Global Reset ── */
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  background: var(--bg-canvas) !important;
  background-color: #020617 !important;
  background-attachment: fixed !important;
  color: var(--text-main) !important;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ── Global Enterprise Shell Layout Offsets ── */
@media (min-width: 992px) {
  body {
    padding-left: var(--sidebar-width) !important;
  }
  [dir="rtl"] body {
    padding-left: 0 !important;
    padding-right: var(--sidebar-width) !important;
  }
}
@media (max-width: 991.98px) {
  body {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ── Content Container Standardization ── */
.plat-container, .admin-main {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 28px 36px 60px !important;
  box-sizing: border-box !important;
  flex: 1 0 auto;
}
@media (max-width: 768px) {
  .plat-container, .admin-main {
    padding: 18px 16px 40px !important;
  }
}

/* ── Sticky Platform Top Action Bar ── */
.plat-navbar, .plat-topbar {
  position: sticky;
  top: 0;
  z-index: 1020;
  height: var(--nav-height);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  .plat-navbar, .plat-topbar {
    padding: 0 16px;
  }
}

.plat-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-create-reseller {
  background: linear-gradient(135deg, #38BDF8, #6366F1);
  color: #FFF !important;
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(56,189,248,0.35);
  transition: all 0.2s;
  text-decoration: none !important;
}
.btn-create-reseller:hover {
  background: linear-gradient(135deg, #0EA5E9, #4F46E5);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56,189,248,0.45);
  color: #FFF !important;
}
.btn-reseller-link {
  background: rgba(255,255,255,0.06);
  color: #CBD5E1 !important;
  font-weight: 500;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}
.btn-reseller-link:hover {
  background: rgba(56,189,248,0.15);
  color: #38BDF8 !important;
  border-color: rgba(56,189,248,0.4);
}

h1, h2, h3, h4, h5, .page-title, .page-header-title {
  color: #FFFFFF !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}
.page-subtitle, .page-header-subtitle, .text-muted, small.text-muted {
  color: var(--text-muted) !important;
  font-size: 13.5px;
  line-height: 1.5;
}

/* ── Sleek Platform Stat Cards (matches dashboard.php?tab=devices) ── */
/* ── Sleek Platform Stat Cards (matches dashboard.php?tab=devices) ── */
.stats-grid, .stats-grid-4 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 24px !important;
}

/* 5-card grid for Executive Dashboard (keeps all 5 KPI cards in 1 row on laptop/desktop) */
.stats-grid-5 {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 24px !important;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .stats-grid, .stats-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .stats-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

@media (max-width: 991.98px) and (min-width: 576px) {
  .stats-grid, .stats-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .stats-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (max-width: 575.98px) {
  .stats-grid, .stats-grid-4, .stats-grid-5 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* ── SaaS Subscription Plans Grid (Strict 4-Column Layout) ── */
.plans-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: 20px !important;
  margin-bottom: 28px !important;
  width: 100% !important;
  align-items: stretch !important;
}
.plans-grid > .omni-card {
  overflow: visible !important; /* Allow Most Popular badge to sit neatly on top edge */
  margin-bottom: 0 !important;
}
@media (max-width: 1280px) and (min-width: 850px) {
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}
@media (max-width: 849.98px) {
  .plans-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ── 3-Column Telemetry Grid (Fleet Status, Reseller Usage, Timeline) ── */
.telemetry-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
  width: 100% !important;
}
@media (max-width: 991.98px) {
  .telemetry-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ── 2-Column Balanced Dashboard Grid (Top Resellers & Audit Feed) ── */
.dashboard-duo-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
  width: 100% !important;
}
@media (max-width: 991.98px) {
  .dashboard-duo-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.stat-card, .omni-stat-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  padding: 16px 18px 20px !important;
  box-shadow: var(--shadow-sm) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  position: relative;
  overflow: visible !important;
  min-height: 126px !important;
  height: auto !important;
  box-sizing: border-box !important;
}
.stat-card:hover, .omni-stat-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(56, 189, 248, 0.25) !important;
}
.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.stat-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.stat-card:hover .stat-icon-badge {
  transform: scale(1.08);
}
.stat-icon-badge.purple { background: rgba(139, 92, 246, 0.16); color: #C4B5FD; border: 1px solid rgba(139, 92, 246, 0.35); }
.stat-icon-badge.green  { background: rgba(16, 185, 129, 0.16); color: #34D399; border: 1px solid rgba(16, 185, 129, 0.35); }
.stat-icon-badge.cyan, .stat-icon-badge.blue { background: rgba(56, 189, 248, 0.16); color: #38BDF8; border: 1px solid rgba(56, 189, 248, 0.35); }
.stat-icon-badge.amber  { background: rgba(245, 158, 11, 0.16); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.35); }
.stat-icon-badge.red    { background: rgba(239, 68, 68, 0.16); color: #F87171; border: 1px solid rgba(239, 68, 68, 0.35); }

.stat-label, .omni-stat-label, .omni-stat-info .stat-label {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #94A3B8 !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stat-num, .omni-stat-value, .omni-stat-info .stat-val {
  font-size: 28px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin: 6px 0 4px !important;
  color: #FFFFFF;
  font-family: inherit !important;
}
.stat-num.blue, .stat-num.primary, .omni-stat-value.text-primary { color: var(--primary) !important; }
.stat-num.cyan, .stat-num.info, .omni-stat-value.text-info       { color: #38BDF8 !important; }
.stat-num.green, .stat-num.success, .omni-stat-value.text-success { color: var(--success) !important; }
.stat-num.amber, .stat-num.warning, .omni-stat-value.text-warning { color: var(--warning) !important; }
.stat-num.purple, .omni-stat-value.purple                        { color: var(--purple) !important; }
.stat-num.red, .stat-num.danger, .omni-stat-value.text-danger    { color: var(--danger) !important; }

.stat-sub, .omni-stat-info .stat-sub {
  font-size: 12px !important;
  color: #CBD5E1 !important;
  margin-top: 2px;
  margin-bottom: 0 !important;
  line-height: 1.35;
  white-space: normal !important;
  overflow: visible !important;
  display: block !important;
}
.omni-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}
.omni-stat-badge.purple { background: rgba(168, 85, 247, 0.22); color: #C084FC; border: 1px solid #A855F7; box-shadow: 0 0 10px rgba(168, 85, 247, 0.35); }
.omni-stat-badge.green  { background: rgba(0, 230, 118, 0.22); color: #00E676; border: 1px solid #00E676; box-shadow: 0 0 10px rgba(0, 230, 118, 0.35); }
.omni-stat-badge.cyan   { background: rgba(0, 210, 255, 0.22); color: #00D2FF; border: 1px solid #00D2FF; box-shadow: 0 0 10px rgba(0, 210, 255, 0.35); }
.omni-stat-badge.amber  { background: rgba(255, 179, 0, 0.22); color: #FFB300; border: 1px solid #FFB300; box-shadow: 0 0 10px rgba(255, 179, 0, 0.35); }
.omni-stat-badge.red    { background: rgba(255, 42, 85, 0.22); color: #FF2A55; border: 1px solid #FF2A55; box-shadow: 0 0 10px rgba(255, 42, 85, 0.35); }

/* High-Vibrancy Global Badges & Glowing Status Indicators */
.badge {
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  padding: 5px 12px !important;
  border-radius: 999px !important;
}
.badge.bg-success, .badge-success, .badge.text-success, [class*="badge-success"], .badge.bg-opacity-25.text-success {
  background: rgba(16, 185, 129, 0.25) !important;
  color: #A7F3D0 !important;
  border: 1.5px solid #10B981 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45) !important;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.5) !important;
}
.badge.bg-danger, .badge-danger, .badge.text-danger, [class*="badge-danger"], .badge.bg-opacity-25.text-danger {
  background: rgba(239, 68, 68, 0.25) !important;
  color: #FFA4A4 !important;
  border: 1.5px solid #EF4444 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.45) !important;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.5) !important;
}
.badge.bg-warning, .badge-warning, .badge.text-warning, [class*="badge-warning"], .badge.bg-opacity-25.text-warning {
  background: rgba(245, 158, 11, 0.25) !important;
  color: #FDE68A !important;
  border: 1.5px solid #F59E0B !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.45) !important;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.5) !important;
}
.badge.bg-info, .badge.bg-primary, .badge-info, .badge-primary, .badge.bg-opacity-25.text-primary, .badge.bg-opacity-25.text-info {
  background: rgba(56, 189, 248, 0.22) !important;
  color: #BAE6FD !important;
  border: 1.5px solid #38BDF8 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45) !important;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.5) !important;
}
.badge.bg-secondary, .badge-secondary, .badge.text-secondary, [class*="badge-secondary"], .badge.bg-opacity-25.text-secondary {
  background: rgba(148, 163, 184, 0.22) !important;
  color: #F8FAFC !important;
  border: 1.5px solid #64748B !important;
  box-shadow: 0 0 8px rgba(148, 163, 184, 0.3) !important;
}
.badge.bg-purple, .badge-purple {
  background: rgba(168, 85, 247, 0.25) !important;
  color: #E9D5FF !important;
  border: 1.5px solid #A855F7 !important;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.45) !important;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.5) !important;
}

/* Tab Guidance Information Card */
.tab-guidance-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.85)) !important;
  border: 1px solid rgba(0, 210, 255, 0.35) !important;
  border-radius: var(--radius-lg) !important;
  padding: 16px 24px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 10px 30px -10px rgba(0, 210, 255, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.tab-guidance-card h3 {
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin: 0 0 4px !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tab-guidance-card p {
  font-size: 0.84rem !important;
  color: #CBD5E1 !important;
  margin: 0 !important;
  line-height: 1.45;
}
.tab-guidance-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── Luxury Card Containers ── */
.omni-card, .table-card, .manage-card, .al-card, .staff-card, .pc-card, .ann-card, .card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm) !important;
  overflow: hidden;
  margin-bottom: 24px !important;
}
.row > [class*="col-"] > .omni-card,
.row > [class*="col-"] > .card,
.row > [class*="col-"] > .al-card,
.row > [class*="col-"] > .table-card,
.row > [class*="col-"] > .staff-card {
  margin-bottom: 0 !important;
}
.omni-card-head, .pc-card-head, .ann-card-head, .card-header {
  padding: 18px 24px !important;
  background: var(--bg-card-header) !important;
  border-bottom: 1px solid var(--border) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.omni-card-head .head-title, .pc-card-head span, .card-title {
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.omni-card-body, .pc-card-body, .ann-card-body, .card-body {
  padding: 24px !important;
  color: var(--text-main) !important;
}

/* ── Tables & Cell Spacing ── */
.table-responsive, .table-responsive-wrap, .pc-table-wrap {
  width: 100%;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  position: relative;
}
.table-responsive::-webkit-scrollbar,
.table-responsive-wrap::-webkit-scrollbar,
.pc-table-wrap::-webkit-scrollbar {
  height: 8px;
}
.table-responsive::-webkit-scrollbar-track,
.table-responsive-wrap::-webkit-scrollbar-track,
.pc-table-wrap::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-thumb,
.table-responsive-wrap::-webkit-scrollbar-thumb,
.pc-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-thumb:hover,
.table-responsive-wrap::-webkit-scrollbar-thumb:hover,
.pc-table-wrap::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.7);
}

/* Sticky Actions Column for perfect multi-resolution reactivity */
.table-responsive th:last-child,
.table-responsive td:last-child,
.table-responsive-wrap th:last-child,
.table-responsive-wrap td:last-child,
.pc-table-wrap th:last-child,
.pc-table-wrap td:last-child {
  position: sticky !important;
  right: 0 !important;
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: -8px 0 16px rgba(0, 0, 0, 0.45) !important;
  z-index: 3 !important;
  text-align: right !important;
}
.table-responsive tbody tr:hover td:last-child,
.table-responsive-wrap tbody tr:hover td:last-child,
.pc-table-wrap tbody tr:hover td:last-child {
  background: rgba(22, 33, 58, 0.98) !important;
}

/* Table Quick Scroll Navigation Glide Controls */
.table-glide-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.6);
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.15);
}
.table-glide-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94A3B8;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.table-glide-btn:hover {
  background: #38BDF8;
  color: #0F172A;
  border-color: #38BDF8;
}

/* Luxury Button Color Hierarchy */
.btn-luxury-primary, .btn-omni-primary {
  background: linear-gradient(135deg, #06B6D4 0%, #6366F1 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3) !important;
  transition: all 0.2s ease !important;
}
.btn-luxury-primary:hover, .btn-omni-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45) !important;
  color: #FFFFFF !important;
}

.btn-luxury-success {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3) !important;
  transition: all 0.2s ease !important;
}
.btn-luxury-success:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45) !important;
  color: #FFFFFF !important;
}

.btn-luxury-warning {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  color: #0F172A !important;
  border: none !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3) !important;
  transition: all 0.2s ease !important;
}
.btn-luxury-warning:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45) !important;
  color: #0F172A !important;
}

.btn-luxury-danger {
  background: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.3) !important;
  transition: all 0.2s ease !important;
}
.btn-luxury-danger:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.45) !important;
  color: #FFFFFF !important;
}

.btn-luxury-secondary, .btn-omni-outline {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #CBD5E1 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  font-weight: 500 !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
}
.btn-luxury-secondary:hover, .btn-omni-outline:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.omni-table, .custom-table, .table, .table-staff {
  width: 100% !important;
  min-width: 960px;
  border-collapse: collapse !important;
  text-align: left;
  background: transparent !important;
  color: var(--text-main) !important;
  margin: 0 !important;
}
.omni-table thead th, .custom-table th, .table thead th, .table-staff thead th {
  padding: 14px 20px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #94A3B8 !important;
  background: rgba(15, 23, 42, 0.85) !important;
  border-bottom: 2px solid rgba(56, 189, 248, 0.25) !important;
  letter-spacing: 0.6px !important;
  white-space: nowrap !important;
}
.omni-table tbody td, .custom-table td, .table tbody td, .table-staff tbody td {
  padding: 16px 20px !important;
  font-size: 13.5px !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12) !important;
  vertical-align: middle !important;
  color: #F8FAFC !important;
  background: transparent !important;
  white-space: nowrap !important;
}
.omni-table tbody tr:hover td, .custom-table tr:hover td, .table tbody tr:hover td, .table-staff tbody tr:hover td {
  background: rgba(56, 189, 248, 0.08) !important;
}
.omni-table tbody tr:last-child td, .custom-table tr:last-child td, .table tbody tr:last-child td {
  border-bottom: none !important;
}

/* ── Badges & Status Pills (Ultra Luminous & High Contrast) ── */
.badge-status, .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: capitalize;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}
.badge-status.active, .status-badge.active, .badge-status.online, .status-badge.online {
  background: rgba(16, 185, 129, 0.25) !important;
  color: #A7F3D0 !important;
  border: 1.5px solid #10B981 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45) !important;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.5) !important;
}
.badge-status.active i, .status-badge.active i, .badge-status.online i, .status-badge.online i {
  color: #34D399 !important;
  text-shadow: 0 0 8px #10B981 !important;
}
.badge-status.trial, .status-badge.trial {
  background: rgba(56, 189, 248, 0.25) !important;
  color: #BAE6FD !important;
  border: 1.5px solid #38BDF8 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45) !important;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.5) !important;
}
.badge-status.expired, .status-badge.expired, .badge-status.offline, .status-badge.offline, .badge-status.suspended, .status-badge.suspended {
  background: rgba(239, 68, 68, 0.25) !important;
  color: #FFA4A4 !important;
  border: 1.5px solid #EF4444 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.45) !important;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.5) !important;
}
.badge-status.expired i, .status-badge.expired i, .badge-status.offline i, .status-badge.offline i {
  color: #FF4B4B !important;
  text-shadow: 0 0 8px #EF4444 !important;
}
.badge-status.blocked, .status-badge.blocked {
  background: rgba(148, 163, 184, 0.25) !important;
  color: #F8FAFC !important;
  border: 1.5px solid #94A3B8 !important;
  box-shadow: 0 0 10px rgba(148, 163, 184, 0.35) !important;
}

.connection-badge, .connection-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}
.connection-badge.online, .connection-status.online {
  background: rgba(16, 185, 129, 0.25) !important;
  color: #A7F3D0 !important;
  border: 1.5px solid #10B981 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45) !important;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.5) !important;
}
.connection-badge.online i, .connection-status.online i {
  color: #34D399 !important;
  text-shadow: 0 0 8px #10B981 !important;
}
.connection-badge.offline, .connection-status.offline {
  background: rgba(239, 68, 68, 0.25) !important;
  color: #FFA4A4 !important;
  border: 1.5px solid #EF4444 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.45) !important;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.5) !important;
}
.connection-badge.offline i, .connection-status.offline i {
  color: #FF4B4B !important;
  text-shadow: 0 0 8px #EF4444 !important;
}

/* ── Date Pills ── */
.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}
.date-pill--start {
  background: rgba(56, 189, 248, 0.2) !important;
  color: #BAE6FD !important;
  border: 1.5px solid #38BDF8 !important;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.3) !important;
}
.date-pill--end {
  background: rgba(245, 158, 11, 0.2) !important;
  color: #FDE68A !important;
  border: 1.5px solid #F59E0B !important;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.3) !important;
}

/* ── Filter Nav Pills ── */
.filter-pills, .omni-nav-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
.filter-pill, .omni-nav-pills .nav-link {
  padding: 6px 14px !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  border: 1px solid var(--border) !important;
  background: rgba(15, 23, 42, 0.8) !important;
  transition: all 0.15s !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.filter-pill:hover, .omni-nav-pills .nav-link:hover {
  background: rgba(56, 189, 248, 0.12) !important;
  color: #FFFFFF !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}
.filter-pill.active, .omni-nav-pills .nav-link.active {
  background: var(--primary-gradient) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35) !important;
}

/* ── Form Controls & Inputs (Matching https://iptv.caribliveagency.info) ── */
.form-control, .form-select, .omni-input, .search-input,
input[type="text"]:not(.form-check-input),
input[type="password"],
input[type="email"],
input[type="number"],
input[type="url"],
input[type="search"] {
  width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(148, 163, 184, 0.45) !important;
  color: #F8FAFC !important;
  border-radius: 12px !important;
  padding: 9px 14px !important;
  font-size: 13.5px !important;
  outline: none !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
}
.form-control:focus, .form-select:focus, .omni-input:focus, .search-input:focus,
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus {
  border-color: rgba(56, 189, 248, 0.9) !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3) !important;
  color: #FFFFFF !important;
}

/* Allow flex items in input-group to size correctly without bursting */
.input-group > .form-control,
.input-group > .form-select,
.input-group > .omni-input {
  width: 1% !important;
  flex: 1 1 auto !important;
}

/* Universal utilities for guaranteed layout expansion across 10" to 50" screens */
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.min-w-0 { min-width: 0 !important; }

.card, .omni-card, .al-card, .table-card {
  min-width: 0 !important;
}

.form-label, .omni-label {
  display: block;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #F8FAFC !important;
  margin-bottom: 6px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* ── Action Buttons (Gradient matching https://iptv.caribliveagency.info) ── */
.btn-omni-primary, .btn-primary {
  background: var(--primary-gradient) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 8px 18px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.35) !important;
  text-decoration: none !important;
}
.btn-omni-primary:hover, .btn-primary:hover {
  background: var(--primary-gradient-hover) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.45) !important;
}
.btn-create-reseller, .btn-success-solid, .btn-success {
  background: linear-gradient(135deg, #10B981, #059669) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 8px 18px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
  text-decoration: none !important;
}
.btn-create-reseller:hover, .btn-success-solid:hover, .btn-success:hover {
  opacity: 0.95;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}
.btn-omni-outline, .btn-outline-secondary, .btn-outline-light {
  background: rgba(15, 23, 42, 0.75) !important;
  color: #F8FAFC !important;
  border: 1px solid rgba(148, 163, 184, 0.4) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 8px 18px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}
.btn-omni-outline:hover, .btn-outline-secondary:hover, .btn-outline-light:hover {
  background: rgba(56, 189, 248, 0.18) !important;
  color: #38BDF8 !important;
  border-color: rgba(56, 189, 248, 0.6) !important;
}

/* Global Filter Toolbar Pills */
.filter-tabs .btn,
.filter-pills .btn,
.card-body .btn-sm:not(.btn-act):not(.btn-action):not(.dropdown-toggle) {
  border-radius: 999px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  transition: all 0.2s ease !important;
}

.filter-tabs .btn.btn-outline-light,
.card-body .btn-sm.btn-outline-light {
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(148, 163, 184, 0.35) !important;
  color: #CBD5E1 !important;
}

.filter-tabs .btn.btn-outline-light:hover,
.card-body .btn-sm.btn-outline-light:hover {
  background: rgba(56, 189, 248, 0.18) !important;
  border-color: rgba(56, 189, 248, 0.55) !important;
  color: #38BDF8 !important;
}

.filter-tabs .btn .badge,
.card-body .btn-sm .badge {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(148, 163, 184, 0.4) !important;
  color: #FFFFFF !important;
  font-size: 11px !important;
  padding: 3px 8px !important;
}

.filter-tabs .btn.btn-primary .badge,
.card-body .btn-sm.btn-primary .badge {
  background: rgba(255, 255, 255, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: #FFFFFF !important;
}

/* Action Icons inside Tables & Everywhere (Ultra Luminous & Glowing) */
.btn-act, .btn-action {
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 9px;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  border: 1.5px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  color: #F8FAFC;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.btn-act:hover, .btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}
.btn-act.btn-act-edit, .btn-act.impersonate, .btn-action.btn-edit, .btn-edit {
  background: rgba(56, 189, 248, 0.2) !important;
  border-color: #38BDF8 !important;
  color: #38BDF8 !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35) !important;
}
.btn-act.btn-act-edit:hover, .btn-act.impersonate:hover, .btn-action.btn-edit:hover, .btn-edit:hover {
  background: #38BDF8 !important;
  color: #020617 !important;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.8) !important;
}
.btn-act.btn-act-block {
  background: rgba(245, 158, 11, 0.2) !important;
  border-color: #F59E0B !important;
  color: #FBBF24 !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.35) !important;
}
.btn-act.btn-act-block:hover {
  background: #F59E0B !important;
  color: #020617 !important;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.8) !important;
}
.btn-act.btn-act-unblock {
  background: rgba(16, 185, 129, 0.22) !important;
  border-color: #10B981 !important;
  color: #34D399 !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35) !important;
}
.btn-act.btn-act-unblock:hover {
  background: #10B981 !important;
  color: #020617 !important;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.8) !important;
}
.btn-act.danger, .btn-act.btn-act-delete, .btn-action.btn-delete, .btn-delete {
  background: rgba(244, 63, 94, 0.22) !important;
  border-color: #F43F5E !important;
  color: #FB7185 !important;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.35) !important;
}
.btn-act.danger:hover, .btn-act.btn-act-delete:hover, .btn-action.btn-delete:hover, .btn-delete:hover {
  background: #F43F5E !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 18px rgba(244, 63, 94, 0.8) !important;
}

/* ── Modals ── */
.modal-content {
  background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.10), rgba(15, 23, 42, 0.98)) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.95), 0 0 0 1px rgba(148, 163, 184, 0.25) !important;
  color: #F8FAFC !important;
}
.modal-header {
  background: rgba(15, 23, 42, 0.85) !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 18px 24px !important;
}
.modal-title {
  font-weight: 800 !important;
  color: #FFFFFF !important;
  font-size: 16px !important;
}
.modal-body {
  padding: 24px !important;
  background: transparent !important;
  color: #F8FAFC !important;
}
.modal-footer {
  background: rgba(15, 23, 42, 0.85) !important;
  border-top: 1px solid var(--border) !important;
  padding: 16px 24px !important;
}
.modal-dialog-scrollable .modal-content {
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}
.modal-dialog-scrollable .modal-content > form {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  max-height: inherit !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
.modal-dialog-scrollable .modal-body {
  overflow-y: auto !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: calc(90vh - 140px) !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.4) rgba(15, 23, 42, 0.6);
}
.modal-dialog-scrollable .modal-footer {
  flex-shrink: 0 !important;
  position: sticky !important;
  bottom: 0 !important;
  z-index: 10 !important;
}
.btn-close {
  filter: invert(1) grayscale(100%) brightness(200%) !important;
}

/* ── Alerts ── */
.alert {
  border-radius: var(--radius-md) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
}
.alert-success { background: rgba(16, 185, 129, 0.18) !important; color: #34D399 !important; border: 1px solid rgba(16, 185, 129, 0.35) !important; }
.alert-danger  { background: rgba(239, 68, 68, 0.18) !important; color: #F87171 !important; border: 1px solid rgba(239, 68, 68, 0.35) !important; }
.alert-warning { background: rgba(245, 158, 11, 0.18) !important; color: #FBBF24 !important; border: 1px solid rgba(245, 158, 11, 0.35) !important; }
.alert-info    { background: rgba(56, 189, 248, 0.18) !important; color: #38BDF8 !important; border: 1px solid rgba(56, 189, 248, 0.35) !important; }

/* ── Theme Switcher Button ── */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F8FAFC;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}
.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #38BDF8;
  transform: scale(1.05);
}

/* ══════════════════════════════════════════════════════════════════
   LIGHT MODE THEME ENGINE (WCAG AAA High-Contrast & Crisp Readability)
   ══════════════════════════════════════════════════════════════════ */
[data-theme="light"] {
  --bg-canvas: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-header: #F1F5F9;
  --border: #E2E8F0;
  --border-light: #CBD5E1;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --primary: #0284C7;
  --primary-hover: #0369A1;
  --primary-gradient: linear-gradient(135deg, #0284C7, #4F46E5);
  --primary-gradient-hover: linear-gradient(135deg, #0369A1, #4338CA);
  --primary-light: rgba(2, 132, 199, 0.12);
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08), 0 0 0 1px #E2E8F0;
}

[data-theme="light"] body {
  background: #F8FAFC !important;
  background-color: #F8FAFC !important;
  color: #0F172A !important;
}

[data-theme="light"] .admin-shell-card,
[data-theme="light"] .card,
[data-theme="light"] .omni-card,
[data-theme="light"] .table-card,
[data-theme="light"] .chart-card,
[data-theme="light"] .portal-card {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05), 0 0 0 1px #E2E8F0 !important;
}

[data-theme="light"] .table > thead th,
[data-theme="light"] .custom-table th {
  background: #F1F5F9 !important;
  color: #1E293B !important;
  border-bottom: 2px solid #CBD5E1 !important;
}

[data-theme="light"] .table > tbody td,
[data-theme="light"] .custom-table td {
  color: #0F172A !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

[data-theme="light"] .table-responsive th:last-child,
[data-theme="light"] .table-responsive td:last-child,
[data-theme="light"] .custom-table th:last-child,
[data-theme="light"] .custom-table td:last-child {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: -8px 0 16px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .form-control,
[data-theme="light"] .form-select,
[data-theme="light"] .omni-style,
[data-theme="light"] .search-input {
  background-color: #FFFFFF !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
}

[data-theme="light"] .form-control:focus,
[data-theme="light"] .form-select:focus,
[data-theme="light"] .omni-style:focus,
[data-theme="light"] .search-input:focus {
  border-color: #0284C7 !important;
  box-shadow: 0 0 0 0.25rem rgba(2, 132, 199, 0.2) !important;
  color: #0F172A !important;
}

[data-theme="light"] .app-sidebar {
  background: #FFFFFF !important;
  border-right-color: #E2E8F0 !important;
  box-shadow: 4px 0 25px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .sidebar-header {
  border-bottom-color: #E2E8F0 !important;
}

[data-theme="light"] .sidebar-brand-title {
  color: #0F172A !important;
}

[data-theme="light"] .sidebar-link {
  color: #475569 !important;
}

[data-theme="light"] .sidebar-link:hover {
  background: rgba(99, 102, 241, 0.08) !important;
  color: #0F172A !important;
}

[data-theme="light"] .sidebar-link.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.12)) !important;
  color: #4F46E5 !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
}

[data-theme="light"] .sidebar-footer {
  background: #F8FAFC !important;
  border-top-color: #E2E8F0 !important;
}

[data-theme="light"] .sidebar-user-name {
  color: #0F172A !important;
}

[data-theme="light"] .plat-topbar {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom-color: #E2E8F0 !important;
}

[data-theme="light"] .modal-content {
  background: #FFFFFF !important;
  color: #0F172A !important;
}

[data-theme="light"] .modal-header,
[data-theme="light"] .modal-footer {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}

[data-theme="light"] .btn-close {
  filter: none !important;
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.15);
  color: #0F172A;
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(15, 23, 42, 0.12);
  color: #0284C7;
}

[data-theme="light"] .btn-reseller-link {
  background: rgba(15, 23, 42, 0.06) !important;
  border-color: rgba(15, 23, 42, 0.15) !important;
  color: #0F172A !important;
}

[data-theme="light"] .lang-toggle {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  box-shadow: none !important;
}

[data-theme="light"] .text-secondary {
  color: #475569 !important;
}

[data-theme="light"] .text-muted {
  color: #64748B !important;
}

[data-theme="light"] .omni-card-title,
[data-theme="light"] .head-title {
  color: #0F172A !important;
}

[data-theme="light"] .badge.bg-secondary {
  background: rgba(100, 116, 139, 0.15) !important;
  color: #334155 !important;
  border-color: rgba(100, 116, 139, 0.3) !important;
  font-weight: 600 !important;
}

[data-theme="light"] .badge.bg-primary {
  background: rgba(14, 165, 233, 0.15) !important;
  color: #0284C7 !important;
  border-color: rgba(14, 165, 233, 0.3) !important;
  font-weight: 600 !important;
}

[data-theme="light"] .badge.bg-success {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #059669 !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  font-weight: 600 !important;
}

/* ══════════════════════════════════════════════════════════════
   UNIVERSAL CARIB LIVE LUMINOUS HIGH-CONTRAST SYSTEM (2026)
   Guarantees maximum visibility, light-up neon badges, glowing
   action buttons, and crystal-clear text across the obsidian theme.
   ══════════════════════════════════════════════════════════════ */

/* ── Universal Sidebar High-Contrast Luminous Navigation ── */
.sidebar-section-title {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.09em !important;
  color: #93C5FD !important;
  text-transform: uppercase !important;
  padding: 14px 10px 4px !important;
  text-shadow: 0 0 10px rgba(147, 197, 253, 0.45) !important;
}
.sidebar-link {
  color: #E2E8F0 !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  transition: all 0.18s ease !important;
}
.sidebar-link i {
  color: #38BDF8 !important;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.45) !important;
}
.sidebar-link:hover {
  background: rgba(56, 189, 248, 0.16) !important;
  color: #FFFFFF !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}
.sidebar-link:hover i {
  color: #7DD3FC !important;
  text-shadow: 0 0 12px #38BDF8 !important;
}
.sidebar-link.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.28), rgba(99, 102, 241, 0.38)) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border-left: 3.5px solid #38BDF8 !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.3) !important;
}
.sidebar-link.active i {
  color: #38BDF8 !important;
  text-shadow: 0 0 12px #38BDF8 !important;
}
.sidebar-badge {
  margin-left: auto;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 2px 9px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #3B82F6, #6366F1) !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.7) !important;
}
.sidebar-badge.bg-warning {
  background: rgba(245, 158, 11, 0.25) !important;
  color: #FDE68A !important;
  border: 1.5px solid #F59E0B !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6) !important;
}
.sidebar-badge.bg-info {
  background: rgba(56, 189, 248, 0.25) !important;
  color: #BAE6FD !important;
  border: 1.5px solid #38BDF8 !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6) !important;
}

/* ── Universal Text Contrast Overrides (Bright, Vibrant, Crystal-Clear) ── */
.text-success { color: #34D399 !important; font-weight: 600; }
.text-danger  { color: #FF4D6D !important; font-weight: 600; }
.text-warning { color: #FBBF24 !important; font-weight: 600; }
.text-info    { color: #38BDF8 !important; font-weight: 600; }
.text-primary { color: #60A5FA !important; font-weight: 600; }
.text-secondary { color: #E2E8F0 !important; }
.text-muted   { color: #CBD5E1 !important; }
.text-white-50 { color: #E2E8F0 !important; }
.page-subtitle, .page-header-subtitle { color: #CBD5E1 !important; font-size: 0.88rem !important; }
.stat-sub { color: #CBD5E1 !important; font-weight: 500 !important; font-size: 0.8rem !important; }

/* ── Universal Platform Pills ── */
.badge-platform {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}
.badge-platform.android {
  background: rgba(16, 185, 129, 0.22) !important;
  color: #A7F3D0 !important;
  border: 1.5px solid #34D399 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35) !important;
}
.badge-platform.ios {
  background: rgba(56, 189, 248, 0.22) !important;
  color: #BAE6FD !important;
  border: 1.5px solid #38BDF8 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35) !important;
}
.badge-platform.web {
  background: rgba(245, 158, 11, 0.22) !important;
  color: #FDE68A !important;
  border: 1.5px solid #FBBF24 !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35) !important;
}
.badge-platform.windows {
  background: rgba(6, 182, 212, 0.22) !important;
  color: #A5F3FC !important;
  border: 1.5px solid #22D3EE !important;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.35) !important;
}
.badge-platform.mac {
  background: rgba(167, 139, 250, 0.22) !important;
  color: #DDD6FE !important;
  border: 1.5px solid #A78BFA !important;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.35) !important;
}
.badge-platform.samsung {
  background: rgba(59, 130, 246, 0.22) !important;
  color: #BFDBFE !important;
  border: 1.5px solid #60A5FA !important;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.35) !important;
}
.badge-platform.lg {
  background: rgba(244, 63, 94, 0.22) !important;
  color: #FECDD3 !important;
  border: 1.5px solid #FB7185 !important;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.35) !important;
}
.badge-platform.apple {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35) !important;
}
.badge-platform.unknown {
  background: rgba(99, 102, 241, 0.22) !important;
  color: #C7D2FE !important;
  border: 1.5px solid #818CF8 !important;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.35) !important;
}

/* ── Omni Outline Button Enhancements ── */
.btn-omni-outline {
  background: rgba(15, 23, 42, 0.85) !important;
  color: #F8FAFC !important;
  border: 1.5px solid rgba(148, 163, 184, 0.4) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}
.btn-omni-outline:hover {
  background: rgba(56, 189, 248, 0.2) !important;
  color: #38BDF8 !important;
  border-color: #38BDF8 !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4) !important;
  transform: translateY(-1px);
}
.btn-omni-outline.text-success, .btn-omni-outline .text-success {
  color: #34D399 !important;
}
.btn-omni-outline.text-danger, .btn-omni-outline .text-danger {
  color: #FB7185 !important;
}
.btn-omni-outline.text-warning, .btn-omni-outline .text-warning {
  color: #FBBF24 !important;
}
.btn-omni-outline.text-info, .btn-omni-outline .text-info {
  color: #38BDF8 !important;
}

/* ── Universal High-Contrast Dropdowns & Customer Selectors ── */
.omni-style,
.omni-input,
.form-select,
select.form-control {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  border: 1.5px solid rgba(56, 189, 248, 0.45) !important;
  border-radius: 10px !important;
  padding: 9px 14px !important;
  font-size: 0.88rem !important;
  transition: all 0.2s ease !important;
}

.omni-style:focus,
.omni-input:focus,
.form-select:focus,
select.form-control:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35) !important;
  background-color: #0b1120 !important;
  color: #ffffff !important;
}

/* Style options and optgroups inside all browser dropdowns */
.omni-style option,
.omni-input option,
.form-select option,
select option {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  padding: 8px 12px !important;
  font-size: 0.88rem !important;
}

.omni-style optgroup,
.omni-input optgroup,
.form-select optgroup,
select optgroup {
  background-color: #070d18 !important;
  color: #38bdf8 !important;
  font-weight: 700 !important;
  padding: 8px 10px !important;
  font-size: 0.85rem !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.25) !important;
}

.omni-style option:checked,
.omni-input option:checked,
.form-select option:checked,
select option:checked {
  background: #0284c7 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.omni-style option:hover,
.omni-input option:hover,
.form-select option:hover,
select option:hover {
  background: rgba(56, 189, 248, 0.2) !important;
  color: #38bdf8 !important;
}

/* Color-Coded Customer Select Options */
option.cust-opt-active,
.omni-input option.cust-opt-active,
select option.cust-opt-active {
  color: #38bdf8 !important;
  font-weight: 600 !important;
  background-color: #0f172a !important;
}
option.cust-opt-ready,
.omni-input option.cust-opt-ready,
select option.cust-opt-ready {
  color: #34d399 !important;
  font-weight: 600 !important;
  background-color: #0f172a !important;
}
option.cust-opt-expiring,
.omni-input option.cust-opt-expiring,
select option.cust-opt-expiring {
  color: #fbbf24 !important;
  font-weight: 600 !important;
  background-color: #0f172a !important;
}
option.cust-opt-expired,
.omni-input option.cust-opt-expired,
select option.cust-opt-expired {
  color: #f87171 !important;
  font-weight: 600 !important;
  background-color: #0f172a !important;
}

/* Customer Live Dossier Card in Provisioning Modals */
.cust-live-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.75));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}
.cust-live-card:hover {
  border-color: rgba(56, 189, 248, 0.55);
}

/* Provisioning Mode Cards */
.provision-mode-card {
  border: 1.5px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.7);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
}
.provision-mode-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(15, 23, 42, 0.95);
}
input[type="radio"]:checked + .provision-mode-card {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}
