/* ==========================================================================
   NexaZone Enterprise MLM Design System
   Brand: NexaZone (Smart Products. Better Life.)
   Colors: Electric Royal Blue, Slate Navy, Fresh Eco Green, Amber Glow
   ========================================================================== */

/* NexaZone Brand Fonts: Parkinsans (primary) + Figtree (secondary) */
@import url('https://fonts.googleapis.com/css2?family=Parkinsans:wght@300;400;500;600;700;800&family=Figtree:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --nexa-blue-primary: #0066FF;
  --nexa-blue-hover: #0052cc;
  --nexa-blue-dark: #0045b5;
  --nexa-blue-light: #eff6ff;
  --nexa-blue-gradient: linear-gradient(135deg, #0052FF 0%, #0066FF 45%, #00a2ff 100%);
  --nexa-blue-gradient-subtle: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  
  --nexa-navy: #0A192F;
  --nexa-navy-card: #0F223D;
  --nexa-navy-light: #1E293B;
  --nexa-navy-border: rgba(255, 255, 255, 0.08);

  --nexa-green: #10B981;
  --nexa-green-hover: #059669;
  --nexa-green-light: #ecfdf5;
  --nexa-green-gradient: linear-gradient(135deg, #059669 0%, #10B981 100%);

  --nexa-orange: #F97316;
  --nexa-orange-light: #fff7ed;
  --nexa-orange-gradient: linear-gradient(135deg, #ea580c 0%, #f97316 100%);

  --nexa-amber: #F59E0B;
  --nexa-amber-light: #fffbeb;

  --nexa-bg: #f8fafc;
  --nexa-card-bg: #ffffff;
  --nexa-border: #e2e8f0;
  --nexa-border-subtle: #f1f5f9;

  --nexa-text-main: #0f172a;
  --nexa-text-muted: #64748b;
  --nexa-text-light: #94a3b8;

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

  --nexa-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --nexa-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --nexa-shadow-lg: 0 16px 36px -8px rgba(0, 102, 255, 0.12), 0 6px 16px -4px rgba(15, 23, 42, 0.06);
  --nexa-shadow-hover: 0 14px 28px -4px rgba(0, 102, 255, 0.15), 0 8px 16px -4px rgba(15, 23, 42, 0.08);

  --nexa-font: 'Parkinsans', system-ui, -apple-system, sans-serif;
  --nexa-font-secondary: 'Figtree', system-ui, -apple-system, sans-serif;
  --nexa-font-mono: 'Figtree', monospace;
  /* Override Bootstrap's default sans-serif (was "Public Sans") */
  --bs-font-sans-serif: 'Parkinsans', system-ui, -apple-system, sans-serif;
  /* Override Bootstrap's monospace — was the OS-default monospace stack */
  --bs-font-monospace: 'Figtree', monospace;
}

/* Global Reset & Base */
body {
  font-family: var(--nexa-font) !important;
  background-color: var(--nexa-bg) !important;
  color: var(--nexa-text-main);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--nexa-blue-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: var(--nexa-blue-hover);
}

/* ==========================================================================
   Topbar (Header)
   ========================================================================== */
.topbar-custom {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nexa-border) !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02) !important;
  height: 70px !important;
  display: flex !important;
  align-items: center !important;
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  padding: 0 20px !important;
  transition: all 0.15s ease-out !important;
  margin-left: 260px !important; /* Sits next to the 260px sidebar */
}

.topbar-custom .button-toggle-menu {
  color: var(--nexa-navy) !important;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--nexa-radius-sm);
  background: var(--nexa-bg);
  border: 1px solid var(--nexa-border);
  transition: all 0.2s ease;
  cursor: pointer;
}
.topbar-custom .button-toggle-menu:hover {
  background: var(--nexa-blue-light);
  color: var(--nexa-blue-primary) !important;
  border-color: #bfdbfe;
}

/* User Identity Pill in Header */
.user-identity-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--nexa-bg);
  padding: 5px 14px 5px 8px;
  border-radius: var(--nexa-radius-full);
  border: 1px solid var(--nexa-border);
}
.user-avatar-initial {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--nexa-blue-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 102, 255, 0.3);
}
.user-identity-info {
  line-height: 1.2;
}
.user-identity-name {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--nexa-navy);
}
.user-identity-id {
  font-size: 11px;
  font-weight: 600;
  color: var(--nexa-blue-primary);
  background: var(--nexa-blue-light);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
}
/* Topbar Search Bar */
.topbar-search-wrap {
  position: relative !important;
  width: 260px !important;
}
.topbar-search-wrap .topbar-search-icon {
  position: absolute !important;
  left: 15px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #64748b !important;
  font-size: 13px !important;
  pointer-events: none !important;
  z-index: 5 !important;
}
.topbar-search-wrap input.topbar-search-input,
.topbar-custom .topbar-search-input {
  height: 38px !important;
  border-radius: 20px !important;
  font-size: 13px !important;
  background-color: #f8fafc !important;
  border: 1.5px solid var(--nexa-border) !important;
  padding-left: 44px !important;
  padding-right: 14px !important;
  color: #0f172a !important;
  transition: all 0.2s ease !important;
}
.topbar-search-wrap input.topbar-search-input:focus,
.topbar-custom .topbar-search-input:focus {
  background-color: #ffffff !important;
  border-color: var(--nexa-blue-primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15) !important;
}
.topbar-search-wrap:focus-within .topbar-search-icon {
  color: var(--nexa-blue-primary) !important;
}

/* Topbar Notification & Cart */
.topbar-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--nexa-bg);
  border: 1px solid var(--nexa-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--nexa-navy) !important;
  position: relative;
  transition: all 0.2s ease;
}
.topbar-icon-btn:hover {
  background: var(--nexa-blue-light);
  color: var(--nexa-blue-primary) !important;
  border-color: #bfdbfe;
  transform: translateY(-1px);
}
.topbar-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--nexa-green);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   Sidebar & Logo Box Layout
   ========================================================================== */
.logo-box {
  height: 70px !important;
  width: 260px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 1005 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border-bottom: 1px solid var(--nexa-border) !important;
  border-right: 1px solid var(--nexa-border) !important;
  padding: 0 12px !important;
  transition: all 0.15s ease-out !important;
}
.logo-box .logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  line-height: 70px !important;
}
.logo-box .logo-lg {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}
.logo-box .logo-sm {
  display: none !important;
}
.logo-box .logo img {
  max-height: 92px !important;
  height: 90px !important;
  width: auto !important;
  max-width: 236px !important;
  object-fit: contain !important;
}

.app-sidebar-menu {
  width: 260px !important;
  background: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
  box-shadow: 2px 0 16px rgba(0, 0, 0, 0.03) !important;
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  padding-top: 70px !important; /* leaves 70px space for logo-box */
  z-index: 1001 !important;
  transition: all 0.15s ease-out !important;
}

/* Main Content Page Container
   2026-10-15: top padding was 4px under a 70px sticky topbar, so every report
   looked welded to the header. 18px gives the header room to breathe. */
.content-page {
  margin-left: 260px !important;
  margin-top: 0 !important;
  padding: 18px 10px 60px 10px !important;
  min-height: calc(100vh - 70px) !important;
  transition: all 0.15s ease-out !important;
}
.content-page .content {
  padding-top: 0 !important;
}

/* Sidebar Toggle Collapsed States */
body[data-sidebar="hidden"] .logo-box {
  width: 0 !important;
  display: none !important;
}
body[data-sidebar="hidden"] .topbar-custom {
  left: 0 !important;
}
body[data-sidebar="hidden"] .content-page {
  margin-left: 0 !important;
}
body[data-sidebar="hidden"] .app-sidebar-menu {
  width: 0 !important;
  transform: translateX(-260px) !important;
}

/* Upgraded Side Menu (White Theme & Utilized Left Space) */
#side-menu {
  padding: 12px 10px 10px !important;
  list-style: none !important;
  margin-bottom: 0 !important;
}
#side-menu > li:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#side-menu .menu-title {
  color: #0f172a !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 14px 10px 6px !important;
  opacity: 0.95;
}

/* Main Menu Items (Solid Black Typography) */
#side-menu > li > a {
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 9px 12px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: all 0.15s ease-in-out !important;
  margin-bottom: 2px !important;
  text-decoration: none !important;
}

#side-menu > li > a i,
#side-menu > li > a svg {
  color: #0f172a !important;
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2.2 !important;
  transition: all 0.15s ease !important;
  flex-shrink: 0 !important;
}

#side-menu > li > a .menu-arrow {
  margin-left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  color: #64748b !important;
  transition: transform 0.2s ease, color 0.15s ease !important;
  font-size: 11px !important;
}

#side-menu > li > a .menu-arrow::before {
  content: "\f054" !important; /* FontAwesome chevron-right */
  font-family: "Font Awesome 6 Free", "FontAwesome" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block !important;
}

li > a[aria-expanded="true"] > span.menu-arrow,
li.menuitem-active > a:not(.collapsed) > span.menu-arrow,
li.active > a:not(.collapsed) > span.menu-arrow {
  transform: rotate(90deg) !important;
}

/* Main Menu Hover State */
#side-menu > li > a:hover {
  color: var(--nexa-blue-primary, #0066FF) !important;
  background: #f0f7ff !important;
}
#side-menu > li > a:hover i,
#side-menu > li > a:hover svg {
  color: var(--nexa-blue-primary, #0066FF) !important;
}

/* Active Main Item */
#side-menu > li.menuitem-active > a,
#side-menu > li.active > a {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0066FF, #0052FF) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25) !important;
}
#side-menu > li.menuitem-active > a i,
#side-menu > li.menuitem-active > a svg,
#side-menu > li.active > a i,
#side-menu > li.active > a svg {
  color: #ffffff !important;
}
#side-menu > li.menuitem-active > a .menu-arrow,
#side-menu > li.active > a .menu-arrow {
  color: #ffffff !important;
}

/* Icon Font Protection (Ensures FontAwesome & MDI font-family & weights are exact) */
i.fas, i.fa, .fas, .fa, .fa-solid {
  font-family: "Font Awesome 6 Free", "FontAwesome" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block !important;
}
i.far, .far, .fa-regular {
  font-family: "Font Awesome 6 Free", "FontAwesome" !important;
  font-weight: 400 !important;
  font-style: normal !important;
  display: inline-block !important;
}
i.fab, .fab, .fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
  font-style: normal !important;
  display: inline-block !important;
}
i.mdi, .mdi {
  font-family: "Material Design Icons" !important;
  font-weight: normal !important;
  font-style: normal !important;
  display: inline-block !important;
}

/* Submenu - Solid Black & Left Space Utilized */
.nav-second-level {
  padding: 4px 0 6px 6px !important;
  margin: 2px 0 6px 6px !important;
  list-style: none !important;
  position: relative !important;
  border-left: 1.5px solid #e2e8f0 !important;
}
.nav-second-level::before {
  display: none !important;
}
.nav-second-level li {
  margin-bottom: 1px !important;
}
.nav-second-level li a {
  color: #0f172a !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 7px 12px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}
.nav-second-level li a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #475569;
  display: inline-block;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.nav-second-level li a:hover {
  color: var(--nexa-blue-primary, #0066FF) !important;
  background: #f1f5f9 !important;
  padding-left: 14px !important;
}
.nav-second-level li a:hover::before {
  background: var(--nexa-blue-primary, #0066FF);
  transform: scale(1.4);
}
.nav-second-level li.menuitem-active a,
.nav-second-level li.active a {
  color: var(--nexa-blue-primary, #0066FF) !important;
  font-weight: 700 !important;
  background: #eff6ff !important;
}
.nav-second-level li.menuitem-active a::before,
.nav-second-level li.active a::before {
  background: var(--nexa-blue-primary, #0066FF) !important;
  transform: scale(1.4);
}

/* Sidebar Logout Button */
.sidebar-logout-btn {
  background: #fef2f2 !important;
  color: #ef4444 !important;
  border: 1px solid #fee2e2 !important;
  border-radius: 8px !important;
  margin: 8px 4px 4px !important;
  padding: 9px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}
.sidebar-logout-btn i,
.sidebar-logout-btn svg {
  color: #ef4444 !important;
  width: 18px !important;
  height: 18px !important;
}
.sidebar-logout-btn:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25) !important;
}
.sidebar-logout-btn:hover i,
.sidebar-logout-btn:hover svg {
  color: #ffffff !important;
}

/* Sidebar Scrollbar (Clean & Subtle) */
.app-sidebar-menu [data-simplebar],
.app-sidebar-menu .simplebar-content,
.app-sidebar-menu .simplebar-content-wrapper {
  padding-bottom: 0 !important;
}
.app-sidebar-menu .simplebar-scrollbar:before {
  background: #cbd5e1 !important;
  border-radius: 4px !important;
}

/* ==========================================================================
   Content Area & Cards
   ========================================================================== */
.content-page {
  background-color: var(--nexa-bg) !important;
  min-height: calc(100vh - 70px) !important;
  width: auto !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.content-page .content {
  width: 100% !important;
  max-width: 100% !important;
}

.content-page .content > .container-fluid {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.nexa-card {
  background: var(--nexa-card-bg);
  border-radius: var(--nexa-radius);
  border: 1px solid var(--nexa-border);
  box-shadow: var(--nexa-shadow);
  padding: 24px;
  margin-bottom: 24px;
  width: 100% !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.nexa-card:hover {
  box-shadow: var(--nexa-shadow-lg);
  border-color: #cbd5e1;
}

.nexa-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--nexa-border);
}
.nexa-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--nexa-navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nexa-card-title i,
.nexa-card-title svg {
  color: var(--nexa-blue-primary);
}

/* Section Headings */
.nexa-section-head {
  display: flex;
  align-items: center;
  margin: 32px 0 20px;
}
.nexa-section-head:first-child {
  margin-top: 0;
}
.nexa-section-head h5 {
  font-weight: 700;
  color: var(--nexa-navy);
  margin: 0;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nexa-section-head .section-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--nexa-blue-light);
  color: var(--nexa-blue-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.nexa-section-head .nexa-section-line {
  flex-grow: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--nexa-border) 0%, rgba(226, 232, 240, 0) 100%);
  margin-left: 18px;
  border-radius: 2px;
}

/* ==========================================================================
   Dashboard Compact Stat Cards & News Ticker
   ========================================================================== */
.nexa-compact-stat {
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  border: 1px solid var(--nexa-border) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.2s ease-in-out !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.nexa-compact-stat::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 3.5px !important;
  height: 100% !important;
  background: var(--stat-color, #0066FF) !important;
}

.nexa-compact-stat:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08) !important;
  border-color: var(--stat-color, #0066FF) !important;
}

.nexa-compact-label {
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.nexa-compact-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  color: var(--stat-color, #0066FF) !important;
  background: var(--stat-bg, #eff6ff) !important;
  flex-shrink: 0 !important;
}

.nexa-compact-value {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
  margin: 6px 0 !important;
  letter-spacing: -0.02em !important;
}

.nexa-compact-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 11.5px !important;
  color: #94a3b8 !important;
  margin-top: 4px !important;
  padding-top: 6px !important;
  border-top: 1px solid #f1f5f9 !important;
}

.nexa-compact-link {
  color: var(--stat-color, #0066FF) !important;
  font-size: 11px !important;
  text-decoration: none !important;
  transition: transform 0.15s ease !important;
}
.nexa-compact-stat:hover .nexa-compact-link {
  transform: translateX(3px) !important;
}

/* ==========================================================================
   Dashboard Proportional Banner (Enterprise Height)
   ========================================================================== */
.nexa-banner-container {
  width: 100% !important;
  height: 380px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  border: 1px solid var(--nexa-border) !important;
  box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.12) !important;
  background: #f8fafc !important;
  position: relative !important;
}
.nexa-banner-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
@media (max-width: 991px) {
  .nexa-banner-container {
    height: 280px !important;
  }
}
@media (max-width: 576px) {
  .nexa-banner-container {
    height: 190px !important;
  }
}

/* ==========================================================================
   50/50 Split Row Widgets: News Announcement Box & Multi-Channel Referral
   ========================================================================== */
.nexa-split-widget {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 20px 22px !important;
  border: 1.5px solid var(--nexa-border) !important;
  box-shadow: var(--nexa-shadow-sm) !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: all 0.2s ease-in-out !important;
}
.nexa-split-widget:hover {
  box-shadow: var(--nexa-shadow) !important;
  border-color: #cbd5e1 !important;
}

.nexa-widget-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
}
.nexa-widget-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Interactive News Announcement Preview Box */
.news-preview-card {
  background: #fef2f2 !important;
  border: 1.5px solid #fecaca !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 108px !important;
}
.news-preview-card:hover {
  background: #fee2e2 !important;
  border-color: #f87171 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.12) !important;
}
.news-preview-body {
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  color: #7f1d1d !important;
  font-weight: 500 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  margin-bottom: 8px !important;
}
.news-preview-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #dc2626 !important;
  border-top: 1px dashed #fca5a5 !important;
  padding-top: 6px !important;
  margin-top: 4px !important;
}

/* Multi-Channel Referral Social Share Buttons */
.social-share-btn, .social-share-item {
  height: 38px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border: none !important;
  transition: all 0.2s ease !important;
  padding: 0 12px !important;
  white-space: nowrap !important;
}
.social-share-btn *, .social-share-item * {
  color: #ffffff !important;
}
.social-share-btn:hover, .social-share-item:hover {
  transform: translateY(-2px) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
}
.social-share-copy {
  background: linear-gradient(135deg, #0052FF 0%, #0066FF 100%) !important;
}
.social-share-whatsapp { background: #16a34a !important; }
.social-share-facebook { background: #1877F2 !important; }
.social-share-telegram { background: #0284c7 !important; }
.social-share-twitter { background: #000000 !important; }
.social-share-qr {
  background: #0f172a !important;
}

/* ==========================================================================
   Enterprise Dual-Metric Multi-Cards (3 Major Dashboard Pillars)
   ========================================================================== */
.nexa-dual-card {
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1.5px solid var(--nexa-border) !important;
  box-shadow: var(--nexa-shadow) !important;
  padding: 18px 20px !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}
.nexa-dual-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 3.5px !important;
  background: var(--card-accent-gradient, linear-gradient(90deg, #0066FF, #0052FF)) !important;
}
.nexa-dual-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--nexa-shadow-hover) !important;
  border-color: #cbd5e1 !important;
}

.nexa-dual-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 14px !important;
  margin-bottom: 14px !important;
  border-bottom: 1.5px solid #f1f5f9 !important;
}
.nexa-dual-card-title {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  letter-spacing: -0.01em !important;
}
.nexa-dual-card-action {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--nexa-blue-primary, #0066FF) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  background: var(--nexa-blue-light, #eff6ff) !important;
  transition: all 0.15s ease !important;
}
.nexa-dual-card-action:hover {
  background: #dbeafe !important;
  color: #0052cc !important;
}

/* Metric Items Grid: Stacked Vertically (Ek Uper and Ek Niche) */
.nexa-dual-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.nexa-dual-item {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: all 0.2s ease !important;
  position: relative !important;
}
.nexa-dual-item:hover {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
}

.nexa-dual-item-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 6px !important;
}
.nexa-dual-item-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  line-height: 1.2 !important;
}
.nexa-dual-item-icon {
  width: 28px !important;
  height: 28px !important;
  border-radius: 7px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  flex-shrink: 0 !important;
}

.nexa-dual-item-val {
  font-size: 1.28rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  margin: 4px 0 !important;
}

.nexa-dual-item-sub {
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  margin-top: 2px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* ==========================================================================
   Dashboard News & Referral Banners
   ========================================================================== */
.nexa-news-card {
  background: #ffffff;
  border-radius: var(--nexa-radius);
  padding: 20px 24px;
  border: 1px solid var(--nexa-border);
  box-shadow: var(--nexa-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nexa-news-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--nexa-border-subtle);
}
.nexa-news-badge {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--nexa-radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}
.nexa-news-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--nexa-navy);
}

/* Referral Banner with Electric Blue Gradient */
.nexa-referral-banner {
  background: var(--nexa-blue-gradient);
  border-radius: var(--nexa-radius);
  padding: 24px 28px;
  color: #ffffff;
  box-shadow: var(--nexa-shadow-lg);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nexa-referral-banner::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}
.nexa-referral-banner h4 {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 0 4px;
}
.nexa-referral-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  margin: 0 0 16px;
}
.nexa-ref-action-box {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  padding: 6px 6px 6px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nexa-ref-input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  width: 100%;
  outline: none;
}
.nexa-ref-input::selection {
  background: rgba(255, 255, 255, 0.4);
}
.nexa-btn-copy {
  background: #ffffff;
  color: var(--nexa-blue-primary);
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nexa-btn-copy:hover {
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-nexa-primary {
  background: var(--nexa-blue-primary) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25) !important;
}
.btn-nexa-primary:hover {
  background: var(--nexa-blue-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.35) !important;
}

.btn-nexa-gradient {
  background: var(--nexa-blue-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 12px 24px !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3) !important;
}
.btn-nexa-gradient:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4) !important;
}

.btn-nexa-success {
  background: var(--nexa-green) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
}
.btn-nexa-success:hover {
  background: var(--nexa-green-hover) !important;
  transform: translateY(-1px) !important;
}

.btn-nexa-outline {
  background: transparent !important;
  color: var(--nexa-blue-primary) !important;
  border: 1.5px solid var(--nexa-blue-primary) !important;
  border-radius: 10px !important;
  padding: 9px 20px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}
.btn-nexa-outline:hover {
  background: var(--nexa-blue-light) !important;
  color: var(--nexa-blue-dark) !important;
}

/* ==========================================================================
   Form Controls
   ========================================================================== */
.form-label {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--nexa-navy);
  margin-bottom: 6px;
}

.form-control,
.form-select {
  border-radius: 10px;
  border: 1.5px solid var(--nexa-border) !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  font-family: var(--nexa-font) !important;
  color: var(--nexa-text-main) !important;
  background-color: #ffffff !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--nexa-blue-primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15) !important;
  outline: none !important;
}

.form-control::placeholder {
  color: var(--nexa-text-light);
  font-weight: 400;
}

/* ==========================================================================
   Universal Seamless Input Groups (Zero Disconnected Borders)
   ========================================================================== */
.input-group {
  position: relative !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 100% !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
}

/* Base input-group-text styling */
.input-group > .input-group-text {
  background-color: #ffffff !important;
  color: #64748b !important;
  border: 1.5px solid var(--nexa-border) !important;
  font-size: 14px !important;
  padding: 10px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: border-color 0.2s ease, color 0.2s ease !important;
}

/* First element in input-group */
.input-group > :first-child:not(.dropdown-menu) {
  border-top-left-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* Middle elements in input-group */
.input-group > :not(:first-child):not(:last-child):not(.dropdown-menu) {
  border-radius: 0 !important;
}

/* Last element in input-group */
.input-group > :last-child:not(.dropdown-menu) {
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

/* When input-group-text is on the LEFT of form-control */
.input-group > .input-group-text:first-child {
  border-right: none !important;
  padding-left: 14px !important;
  padding-right: 8px !important;
}
.input-group > .input-group-text:first-child + .form-control,
.input-group > .input-group-text:first-child + .form-select {
  border-left: none !important;
  padding-left: 10px !important;
}

/* When input-group-text or button is on the RIGHT of form-control */
.input-group > .form-control:not(:last-child) {
  border-right: none !important;
}
.input-group > .form-control + .input-group-text,
.input-group > .form-control + .btn {
  border-left: none !important;
}

/* Buttons inside input-group */
.input-group > .btn {
  border: 1.5px solid var(--nexa-border) !important;
  font-size: 14px !important;
  padding: 10px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  background-color: #ffffff !important;
  color: #64748b !important;
}
.input-group > .btn-outline-secondary {
  background-color: #ffffff !important;
  color: #64748b !important;
  border-color: var(--nexa-border) !important;
}
.input-group > .btn-outline-secondary:hover {
  background-color: #f8fafc !important;
  color: var(--nexa-blue-primary) !important;
  border-color: var(--nexa-border) !important;
}
.input-group > .btn-nexa-gradient,
.input-group > .btn-primary {
  background: var(--nexa-blue-primary) !important;
  color: #ffffff !important;
  border-color: var(--nexa-blue-primary) !important;
}

/* Unified Focus-Within State */
.input-group:focus-within {
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15) !important;
  border-radius: 10px !important;
}
.input-group:focus-within > .input-group-text,
.input-group:focus-within > .btn {
  border-color: var(--nexa-blue-primary) !important;
}
.input-group:focus-within > .input-group-text {
  color: var(--nexa-blue-primary) !important;
}
.input-group:focus-within > .form-control,
.input-group:focus-within > .form-select {
  border-color: var(--nexa-blue-primary) !important;
  box-shadow: none !important; /* Managed by .input-group:focus-within */
}

/* Universal Input with Icon Containers (Login, Register, Passwords, Topup, etc.) */
.input-icon-group,
.nexa-input-group {
  position: relative !important;
  width: 100% !important;
}
.input-icon-group i.input-icon,
.input-icon-group .input-icon,
.nexa-input-group .nexa-input-icon {
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #94a3b8 !important;
  font-size: 15px !important;
  pointer-events: none !important;
  z-index: 5 !important;
  transition: color 0.2s ease !important;
}
.input-icon-group .form-control,
.nexa-input-group .form-control {
  height: 48px !important;
  padding-left: 48px !important;
  padding-right: 48px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  color: #0f172a !important;
  transition: all 0.2s ease !important;
}
.input-icon-group .form-control:focus,
.nexa-input-group .form-control:focus {
  border-color: var(--nexa-blue-primary, #0066FF) !important;
  box-shadow: 0 0 0 3.5px rgba(0, 102, 255, 0.15) !important;
}
.input-icon-group .form-control:focus ~ i.input-icon,
.input-icon-group .form-control:focus ~ .input-icon,
.nexa-input-group .form-control:focus ~ .nexa-input-icon {
  color: var(--nexa-blue-primary, #0066FF) !important;
}
.password-toggle-btn {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: none !important;
  border: none !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  padding: 6px !important;
  z-index: 6 !important;
}

/* ==========================================================================
   Tables & DataTables
   ========================================================================== */
.table-responsive {
  border-radius: var(--nexa-radius);
  overflow-x: auto;
  overflow-y: visible;
  border: 1px solid var(--nexa-border);
}
/* Inside nexa-card, table-responsive should NOT add extra border — the card already has one */
.nexa-card .table-responsive {
  border: none;
  border-radius: 0;
  overflow: visible;
}
/* DT wrapper inside nexa-card needs clean spacing */
.nexa-card .dataTables_wrapper {
  padding: 0;
}
.nexa-card .dataTables_wrapper .dt-buttons {
  padding: 0 0 16px 0;
}
.nexa-card .dataTables_wrapper .dataTables_info,
.nexa-card .dataTables_wrapper .dataTables_paginate {
  padding-bottom: 4px;
}

.table {
  margin-bottom: 0 !important;
  color: var(--nexa-text-main);
  font-size: 13.5px;
  border-collapse: separate;
  border-spacing: 0;
}

.table thead th {
  background: #f8fafc !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  padding: 14px 16px !important;
  border-bottom: 2px solid var(--nexa-border) !important;
  border-top: none !important;
}

.table tbody td {
  padding: 14px 16px !important;
  vertical-align: middle !important;
  border-bottom: 1px solid var(--nexa-border-subtle) !important;
  color: #0f172a !important;
  font-weight: 500 !important;
}

.table-hover tbody tr:hover td {
  background-color: #f1f5f9 !important;
}

/* ---------- DataTables Controls - Consistent Styling ---------- */

/* ==========================================================================
   Zero '+' / '-' Collapse: Always Show All Columns Cleanly
   ========================================================================== */
.dtr-control,
td.dtr-control,
th.dtr-control,
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before,
table.dataTable.dtr-column > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-column > tbody > tr > th.dtr-control:before,
.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:before {
  display: none !important;
  content: none !important;
  padding-left: 12px !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}
table.dataTable tr.child {
  display: none !important;
}

/* ==========================================================================
   Remove All DataTables Sorting Arrows (↑ ↓) Globally from Entire App
   ========================================================================== */
table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead > tr > th.sorting:before,
table.dataTable thead > tr > th.sorting:after,
table.dataTable thead > tr > th.sorting_asc:before,
table.dataTable thead > tr > th.sorting_asc:after,
table.dataTable thead > tr > th.sorting_desc:before,
table.dataTable thead > tr > th.sorting_desc:after,
table.dataTable thead > tr > td.sorting:before,
table.dataTable thead > tr > td.sorting:after,
table.dataTable thead > tr > td.sorting_asc:before,
table.dataTable thead > tr > td.sorting_asc:after,
table.dataTable thead > tr > td.sorting_desc:before,
table.dataTable thead > tr > td.sorting_desc:after,
table.dataTable > thead > tr > th:before,
table.dataTable > thead > tr > th:after,
table.dataTable > thead > tr > td:before,
table.dataTable > thead > tr > td:after {
  display: none !important;
  content: "" !important;
  opacity: 0 !important;
  visibility: hidden !important;
  background-image: none !important;
}
table.dataTable thead th,
table.dataTable thead td,
table thead th {
  background-image: none !important;
  padding-right: 14px !important;
  cursor: default !important;
}

/* Table containers must allow all columns to stretch and show cleanly */
.table-responsive {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  width: 100% !important;
}
.table-responsive table.dataTable,
.table-responsive table {
  width: 100% !important;
  min-width: 100% !important;
}
table.dataTable th,
table.dataTable td {
  white-space: nowrap !important;
}

/* Hide default DT length & search when custom filters exist */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  display: none !important;
}

/* Export Buttons - Uniform Enterprise Style */
.dataTables_wrapper .dt-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 14px !important;
}
.dataTables_wrapper .dt-buttons .dt-button,
.dataTables_wrapper .dt-buttons .btn {
  background: #ffffff !important;
  border: 1.5px solid var(--nexa-border) !important;
  color: var(--nexa-navy) !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  cursor: pointer !important;
  transition: all 0.15s ease-in-out !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  line-height: 1.4 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}
.dataTables_wrapper .dt-buttons .dt-button:hover,
.dataTables_wrapper .dt-buttons .btn:hover {
  background: var(--nexa-blue-primary) !important;
  color: #ffffff !important;
  border-color: var(--nexa-blue-primary) !important;
  box-shadow: 0 2px 6px rgba(0, 102, 255, 0.25) !important;
}
.dataTables_wrapper .dt-buttons .dt-button:active,
.dataTables_wrapper .dt-buttons .dt-button.active {
  background: var(--nexa-blue-hover) !important;
  color: #ffffff !important;
  border-color: var(--nexa-blue-hover) !important;
}
.dataTables_wrapper .dt-buttons .dt-button span {
  font-size: 12.5px !important;
  font-weight: 600 !important;
}

/* Info Text */
.dataTables_wrapper .dataTables_info {
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding-top: 0 !important;
  margin: 0 !important;
}

/* Pagination - Enterprise SaaS Clean Design (Zero Green, Universal Royal Blue) */
.pagination,
ul.pagination,
.page-item,
.page-link {
  font-family: 'Figtree', sans-serif !important;
}

.pagination,
ul.pagination,
div.dataTables_wrapper div.dataTables_paginate {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin-left: auto !important;
}

nav[role="navigation"] {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}

nav[role="navigation"] .justify-content-sm-between {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}

nav[role="navigation"] p.small.text-muted,
nav[role="navigation"] p.text-muted {
  margin-bottom: 0 !important;
  font-size: 13px !important;
  color: #64748b !important;
  font-weight: 500 !important;
}

/* 1. COMPLETE RESET of ALL LI and parent containers — NEVER have borders, padding, or backgrounds */
div.dataTables_wrapper div.dataTables_paginate ul.pagination,
ul.pagination {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 4px !important;
  list-style: none !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination li,
div.dataTables_wrapper div.dataTables_paginate ul.pagination li.paginate_button,
div.dataTables_wrapper div.dataTables_paginate ul.pagination li.page-item,
div.dataTables_wrapper div.dataTables_paginate ul.pagination li.previous,
div.dataTables_wrapper div.dataTables_paginate ul.pagination li.next,
ul.pagination li,
ul.pagination li.page-item,
ul.pagination li.paginate_button,
.page-item {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
}

/* 2. Style ONLY the single inner clickable button */
.page-link,
div.dataTables_wrapper div.dataTables_paginate ul.pagination li .page-link,
div.dataTables_wrapper div.dataTables_paginate a.paginate_button {
  color: #334155 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  margin: 0 2px !important;
  min-width: 36px !important;
  height: 36px !important;
  padding: 0 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.15s ease-in-out !important;
  text-decoration: none !important;
}

/* 3. Hover state */
.page-link:hover,
div.dataTables_wrapper div.dataTables_paginate ul.pagination li:not(.active):not(.disabled) .page-link:hover,
div.dataTables_wrapper div.dataTables_paginate a.paginate_button:not(.current):not(.disabled):hover {
  color: #0052FF !important;
  background: #eff6ff !important;
  background-color: #eff6ff !important;
  border-color: #bfdbfe !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 6px rgba(0, 82, 255, 0.15) !important;
}

/* 4. Active / Current Page (Strict NexaZone Royal Blue Gradient - ZERO GREEN) */
.page-item.active .page-link,
.page-link.active,
.active > .page-link,
li.active > .page-link,
li.page-item.active .page-link,
div.dataTables_wrapper div.dataTables_paginate ul.pagination li.active .page-link,
div.dataTables_wrapper div.dataTables_paginate a.paginate_button.current,
.paginate_button.current {
  background: linear-gradient(135deg, #0052FF 0%, #0066FF 100%) !important;
  background-color: #0052FF !important;
  border-color: #0052FF !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 8px rgba(0, 82, 255, 0.35) !important;
}

/* 5. Disabled state */
.page-item.disabled .page-link,
.page-link:disabled,
.paginate_button.disabled,
div.dataTables_wrapper div.dataTables_paginate ul.pagination li.disabled .page-link,
div.dataTables_wrapper div.dataTables_paginate a.paginate_button.disabled {
  color: #94a3b8 !important;
  background: #f8fafc !important;
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
  opacity: 0.65 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Processing indicator */
.dataTables_wrapper .dataTables_processing {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--nexa-blue-primary) !important;
  font-weight: 700 !important;
  border: 1px solid var(--nexa-border) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  padding: 14px 24px !important;
  z-index: 100 !important;
}

/* Status Badges */
.badge-status {
  padding: 5px 12px;
  border-radius: var(--nexa-radius-full);
  font-weight: 700;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.02em;
}
.badge-status-active,
.badge-status-approved,
.badge-status-success {
  background: var(--nexa-green-light);
  color: var(--nexa-green-hover);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-status-pending,
.badge-status-warning {
  background: var(--nexa-amber-light);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.badge-status-inactive,
.badge-status-rejected,
.badge-status-danger {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #ffffff !important;
  border-top: 1px solid var(--nexa-border) !important;
  padding: 18px 0 !important;
  color: var(--nexa-text-muted) !important;
  font-size: 13px !important;
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */
@media (max-width: 1039px) {
  .logo-box {
    display: none !important;
  }
  .topbar-custom {
    left: 0 !important;
    margin-left: 0 !important;
    padding: 0 14px !important;
  }
  .content-page {
    margin-left: 0 !important;
    padding: 14px 6px 60px 6px !important;
  }
  .app-sidebar-menu {
    transform: translateX(-280px) !important;
    width: 280px !important;
  }
  body.sidebar-enable .app-sidebar-menu {
    transform: translateX(0) !important;
    width: 280px !important;
    padding-top: 0 !important;
    z-index: 1050 !important;
  }
  body.sidebar-enable .logo-box {
    display: flex !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 64px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border-bottom: 1px solid var(--nexa-border) !important;
    border-right: none !important;
    z-index: 1051 !important;
    box-sizing: border-box !important;
  }
  body.sidebar-enable .logo-box .logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 100% !important;
    width: auto !important;
    line-height: normal !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.sidebar-enable .logo-box .logo-lg {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.sidebar-enable .logo-box .logo-sm {
    display: none !important;
  }
  body.sidebar-enable .logo-box .logo img {
    height: 38px !important;
    max-height: 42px !important;
    width: auto !important;
    max-width: 185px !important;
    object-fit: contain !important;
    object-position: left center !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }
  .nexa-stat-value {
    font-size: 1.4rem;
  }
}

/* Absolute Guarantee: Topbar Search Padding & Alignment */
.topbar-custom .topbar-search-wrap input.topbar-search-input,
.topbar-search-wrap .form-control.topbar-search-input {
  padding-left: 46px !important;
  padding-right: 16px !important;
}

/* Centered Clean Footer */
.footer {
  background: #ffffff !important;
  border-top: 1px solid var(--nexa-border) !important;
  padding: 16px 20px !important;
  color: #64748b !important;
  font-size: 13px !important;
  text-align: center !important;
}

/* Absolute Guarantee: Auth & Form Icon Inputs (Login, Register, Passwords, etc.) */
.input-icon-group input.form-control,
.nexa-input-group input.form-control,
.input-icon-group .form-control,
.nexa-input-group .form-control {
  padding-left: 48px !important;
  padding-right: 48px !important;
  height: 48px !important;
}
.input-icon-group i.input-icon,
.input-icon-group .input-icon,
.nexa-input-group .nexa-input-icon {
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 5 !important;
}

/* ==========================================================================
   Topbar Impersonation Exit Action (Compact Logout-Style Red Button)
   ========================================================================== */
.topbar-impersonate-exit-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 38px !important;
  padding: 0 14px !important;
  border-radius: 9px !important;
  background: #dc2626 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border: 1px solid #b91c1c !important;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  margin-left: 4px !important;
}

.topbar-impersonate-exit-btn:hover {
  background: #b91c1c !important;
  border-color: #991b1b !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35) !important;
}

.topbar-impersonate-exit-btn i {
  font-size: 13px !important;
  line-height: 1 !important;
}

@media (max-width: 575.98px) {
  .topbar-impersonate-exit-btn {
    width: 38px !important;
    padding: 0 !important;
  }
  .topbar-impersonate-exit-btn span {
    display: none !important;
  }
}

/* ==========================================================================
   NATIVE MOBILE APP DESIGN SYSTEM (PWA & Mobile Viewport Experience)
   Visible ONLY on Mobile & Tablet Viewports (max-width: 1039px)
   STRICTLY HIDDEN ON DESKTOP SCREENS (> 1039px)
   ========================================================================== */

/* By default on Desktop: Strictly Hide All Mobile App Components */
.nexa-mobile-bottom-bar,
.mobile-user-greeting-card,
.mobile-quick-actions-card,
.sidebar-mobile-user-card,
.sidebar-mobile-backdrop {
  display: none !important;
}

/* Enable Mobile App Shell ONLY on Screen Width <= 1039px */
@media (max-width: 1039px) {

  /* 1. Mobile Bottom Navigation Bar (Sticky App Footer) */
  .nexa-mobile-bottom-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    height: 64px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid var(--nexa-border) !important;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06) !important;
    z-index: 1040 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 8px calc(env(safe-area-inset-bottom, 0px)) 8px !important;
    box-sizing: border-box !important;
  }

  .nexa-mobile-bottom-bar .mobile-nav-items-wrapper {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
  }

  .mobile-nav-tab {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    height: 100% !important;
    padding: 4px 0 !important;
    color: #64748b !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    position: relative !important;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
    -webkit-tap-highlight-color: transparent !important;
    cursor: pointer !important;
  }

  .mobile-nav-tab .mobile-nav-icon-wrap {
    width: 32px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    position: relative !important;
    transition: all 0.2s ease !important;
  }

  .mobile-nav-tab .mobile-nav-label {
    font-size: 10.5px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    margin-top: 2px !important;
    transition: all 0.2s ease !important;
  }

  .mobile-nav-tab:active {
    transform: scale(0.92) !important;
  }

  .mobile-nav-tab.active {
    color: var(--nexa-blue-primary) !important;
  }

  .mobile-nav-tab.active .mobile-nav-icon-wrap {
    transform: translateY(-2px) !important;
    color: var(--nexa-blue-primary) !important;
  }

  .mobile-nav-tab.active .mobile-nav-label {
    color: var(--nexa-blue-primary) !important;
    font-weight: 700 !important;
  }

  .mobile-nav-badge {
    position: absolute !important;
    top: -2px !important;
    right: -4px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid #ffffff !important;
  }

  /* 2. Mobile Sidebar Backdrop Overlay */
  .sidebar-mobile-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 1045 !important;
    opacity: 0 !important;
    display: block !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease !important;
  }

  body.sidebar-enable .sidebar-mobile-backdrop {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* 3. Mobile Sidebar Drawer Profile Header */
  .sidebar-mobile-user-card {
    display: block !important;
    padding: 16px !important;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%) !important;
    border-bottom: 1px solid #bae6fd !important;
  }

  .mobile-drawer-avatar {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: var(--nexa-blue-gradient) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.25) !important;
  }

  .mobile-drawer-name {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--nexa-navy) !important;
  }

  .mobile-drawer-id {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--nexa-blue-primary) !important;
  }

  .btn-close-drawer {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
  }

  .btn-copy-mini {
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    padding: 0 4px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: color 0.15s ease !important;
  }
  .btn-copy-mini:hover {
    color: var(--nexa-blue-primary) !important;
  }

  /* 4. Mobile User Greeting Card on Dashboard */
  .mobile-user-greeting-card {
    display: block !important;
    background: #ffffff !important;
    border: 1px solid var(--nexa-border) !important;
    border-radius: 16px !important;
    padding: 16px 18px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
  }

  .mobile-greeting-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: var(--nexa-blue-gradient) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25) !important;
  }

  /* 5. Mobile 8-Icon Quick Actions Hub */
  .mobile-quick-actions-card {
    display: block !important;
    background: #ffffff !important;
    border: 1px solid var(--nexa-border) !important;
    border-radius: 16px !important;
    padding: 16px 12px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
  }

  .mobile-quick-actions-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px 6px !important;
  }

  .mobile-action-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    color: var(--nexa-navy) !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: transform 0.15s ease !important;
  }

  .mobile-action-item:active {
    transform: scale(0.92) !important;
  }

  .mobile-action-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    margin-bottom: 6px !important;
    transition: all 0.2s ease !important;
  }

  .mobile-action-text {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    text-align: center !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
}

/* 6. Native Mobile Modals as Smooth Bottom Sheets */
@media (max-width: 768px) {
  .modal-dialog {
    margin: 0 !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: auto !important;
    transform: translateY(100%) !important;
    transition: transform 0.28s cubic-bezier(0.1, 0.9, 0.2, 1) !important;
    z-index: 1060 !important;
  }

  .modal.show .modal-dialog {
    transform: translateY(0) !important;
  }

  .modal-content {
    border-radius: 24px 24px 0 0 !important;
    border: none !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px) !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25) !important;
  }

  .modal-header {
    border-bottom: 1px solid var(--nexa-border) !important;
    padding: 16px 20px !important;
    position: relative !important;
  }

  /* Bottom sheet drag handle */
  .modal-header::before {
    content: '' !important;
    position: absolute !important;
    top: 8px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 36px !important;
    height: 4px !important;
    background: #cbd5e1 !important;
    border-radius: 4px !important;
  }

  /* Content area adjustment for mobile navigation padding */
  .content-page {
    padding-bottom: 90px !important;
  }

  /* 7. Mobile Table & Report Experience: Mobile Card View for Reports */
  .table-responsive {
    border-radius: 12px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .nexa-card {
    border-radius: 16px !important;
    padding: 14px !important;
  }

  /* Banner image height auto-tuning */
  .nexa-banner-container {
    height: 180px !important;
    min-height: 180px !important;
    border-radius: 14px !important;
  }

  /* Social Share Buttons on Mobile */
  .social-share-btn {
    flex: 1 1 calc(33.333% - 6px) !important;
    padding: 8px 10px !important;
    font-size: 11.5px !important;
    justify-content: center !important;
  }

  /* Universal Mobile Report Cards (Pure App Experience) */
  .report-table-desktop {
    display: table !important;
    width: 100% !important;
  }
  .report-cards-mobile {
    display: none !important;
  }

  @media (max-width: 767.98px) {
    .report-table-desktop {
      display: none !important;
    }
    .report-cards-mobile {
      display: flex !important;
      flex-direction: column !important;
      gap: 12px !important;
      padding: 4px 0 12px 0 !important;
    }
    .report-mobile-card {
      background: #ffffff !important;
      border: 1.5px solid #e2e8f0 !important;
      border-radius: 16px !important;
      padding: 15px !important;
      box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
      transition: transform 0.15s ease, box-shadow 0.15s ease !important;
      position: relative !important;
    }
    .report-mobile-card:active {
      transform: scale(0.99) !important;
      background: #f8fafc !important;
    }
    .report-card-top {
      display: flex !important;
      justify-content: space-between !important;
      align-items: flex-start !important;
      margin-bottom: 12px !important;
      padding-bottom: 10px !important;
      border-bottom: 1px solid #f1f5f9 !important;
      gap: 8px !important;
    }
    .report-card-title {
      font-weight: 700 !important;
      font-size: 14.5px !important;
      color: #0f172a !important;
      line-height: 1.3 !important;
    }
    .report-card-subtitle {
      font-size: 11.5px !important;
      color: #64748b !important;
      margin-top: 2px !important;
    }
    .report-card-grid {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 10px 14px !important;
      margin-bottom: 12px !important;
    }
    .report-card-stat {
      display: flex !important;
      flex-direction: column !important;
    }
    .report-stat-label {
      font-size: 10px !important;
      font-weight: 700 !important;
      color: #64748b !important;
      text-transform: uppercase !important;
      letter-spacing: 0.4px !important;
      margin-bottom: 2px !important;
    }
    .report-stat-value {
      font-size: 13.5px !important;
      font-weight: 700 !important;
      color: #0f172a !important;
    }
    .report-card-actions {
      display: flex !important;
      align-items: center !important;
      gap: 8px !important;
      padding-top: 10px !important;
      border-top: 1px dashed #e2e8f0 !important;
    }
    .btn-mobile-details {
      height: 38px !important;
      padding: 0 16px !important;
      font-size: 13px !important;
      font-weight: 600 !important;
      border-radius: 8px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      flex: 1 !important;
      text-decoration: none !important;
    }
    
    /* 1 Row = 1 Full-Width Card on Mobile (No 2-col cramping, clean vertical spacing) */
    .row.g-2 > [class*="col-"],
    .row.g-3 > [class*="col-"],
    .row.g-md-3 > [class*="col-"],
    .row > [class*="col-xl-4"],
    .row > [class*="col-lg-4"],
    .row > [class*="col-md-6"] {
      flex: 0 0 100% !important;
      max-width: 100% !important;
      width: 100% !important;
      margin-bottom: 14px !important;
    }
    .row > [class*="col-"]:last-child {
      margin-bottom: 0 !important;
    }
    .nexa-card,
    .nexa-dual-card,
    .stat-metric-card,
    .nexa-split-widget {
      margin-bottom: 0 !important;
      border-radius: 16px !important;
    }
    
    /* Topbar on mobile */
    .topbar-custom {
      height: 58px !important;
      padding: 0 12px !important;
    }
    
    /* Native App Form inputs (No auto-zoom on iOS) */
    input.form-control, select.form-select {
      font-size: 15px !important;
      min-height: 44px !important;
    }

    /* ══════════════════════════════════════════════════════════
       UNIVERSAL MOBILE TABLE-TO-CARD TRANSFORMATION ENGINE
       Applies across ALL Member & Admin pages on mobile (< 768px)
       ══════════════════════════════════════════════════════════ */
    .table-responsive > table:not(.no-mobile-cards):not(.report-table-desktop) {
      border: 0 !important;
      background: transparent !important;
      width: 100% !important;
    }
    .table-responsive > table:not(.no-mobile-cards):not(.report-table-desktop) thead {
      display: none !important; /* Hide desktop table headers */
    }
    .table-responsive > table:not(.no-mobile-cards):not(.report-table-desktop) tbody {
      display: flex !important;
      flex-direction: column !important;
      gap: 14px !important;
      padding: 6px 0 !important;
    }
    .table-responsive > table:not(.no-mobile-cards):not(.report-table-desktop) tbody tr {
      display: block !important;
      background: #ffffff !important;
      border: 1.5px solid #e2e8f0 !important;
      border-radius: 16px !important;
      padding: 14px 16px !important;
      box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
      position: relative !important;
      margin-bottom: 0 !important;
    }
    .table-responsive > table:not(.no-mobile-cards):not(.report-table-desktop) tbody tr td {
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
      padding: 8px 0 !important;
      border: none !important;
      border-bottom: 1px dashed #f1f5f9 !important;
      font-size: 13px !important;
      text-align: right !important;
      word-break: break-word !important;
    }
    .table-responsive > table:not(.no-mobile-cards):not(.report-table-desktop) tbody tr td:last-child {
      border-bottom: none !important;
      padding-top: 10px !important;
      justify-content: stretch !important;
      flex-direction: column !important;
      align-items: stretch !important;
    }
    .table-responsive > table:not(.no-mobile-cards):not(.report-table-desktop) tbody tr td::before {
      content: attr(data-label);
      font-weight: 700 !important;
      font-size: 11px !important;
      text-transform: uppercase !important;
      color: #64748b !important;
      letter-spacing: 0.3px !important;
      text-align: left !important;
      margin-right: 12px !important;
      flex: 0 0 auto !important;
      min-width: 90px !important;
    }
    .table-responsive > table:not(.no-mobile-cards):not(.report-table-desktop) tbody tr td:empty,
    .table-responsive > table:not(.no-mobile-cards):not(.report-table-desktop) tbody tr td[colspan] {
      display: block !important;
      text-align: center !important;
      border-bottom: none !important;
    }
    .table-responsive > table:not(.no-mobile-cards):not(.report-table-desktop) tbody tr td[colspan]::before {
      display: none !important;
    }

    /* Collapsible card details for wide multi-column tables */
    .table-responsive > table:not(.no-mobile-cards) tbody tr td.mobile-extra-detail {
      display: none !important;
    }
    .table-responsive > table:not(.no-mobile-cards) tbody tr.card-expanded td.mobile-extra-detail {
      display: flex !important;
    }
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   PHASE 2: NATIVE MOBILE APP EXPERIENCE ENGINE
   Applied ONLY on mobile (< 768px). Desktop remains 100% untouched.
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 767.98px) {

  /* ─────────────────────────────────────────────────
     1. REMOVE ICONS FROM ALL BUTTONS ON MOBILE
     User requirement: "poore project mein se icon hatao"
     Desktop icons remain untouched.
     ───────────────────────────────────────────────── */
  .btn > i.fas,
  .btn > i.far,
  .btn > i.fab,
  .btn > i.fal,
  .btn > i[class*="fa-"],
  button > i.fas,
  button > i.far,
  button > i.fab,
  button > i.fal,
  button > i[class*="fa-"],
  a.btn > i.fas,
  a.btn > i.far,
  a.btn > i.fab,
  a.btn > i[class*="fa-"] {
    display: none !important;
  }
  /* Keep icons ONLY in designated icon-only buttons (no text labels) */
  .btn-icon > i,
  .btn-copy-mini > i,
  .topbar-icon-btn > i,
  .button-toggle-menu i,
  .btn-close-drawer i {
    display: inline-flex !important;
  }
  /* Keep navigation bar icons, sidebar menu icons, quick action icons */
  .nexa-mobile-bottom-bar i,
  .mobile-quick-actions-grid i,
  .sidebar-nav i,
  .leftbar-tab-menu i,
  .nav-link > i,
  .mobile-action-icon i,
  .dropdown-menu i,
  .input-group-text i,
  .badge > i,
  .nexa-dual-item-icon i,
  .dash-income-icon i,
  .feature-pill-icon i,
  .password-toggle-btn i,
  .social-share-item i,
  .mobile-greeting-avatar i,
  .btn-copy-mini i {
    display: inline-flex !important;
  }

  /* ─────────────────────────────────────────────────
     2. NATIVE MOBILE PAGINATION
     Compact, touch-friendly, centered pagination
     ───────────────────────────────────────────────── */
  .pagination {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 12px 0 !important;
  }
  .pagination .page-item .page-link {
    min-width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    padding: 0 8px !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #0f172a !important;
    background: #ffffff !important;
  }
  .pagination .page-item.active .page-link {
    background: #0052FF !important;
    border-color: #0052FF !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 82, 255, 0.25) !important;
  }
  .pagination .page-item.disabled .page-link {
    opacity: 0.4 !important;
    background: #f8fafc !important;
  }
  /* Hide "Showing X to Y of Z" text on mobile — saves space */
  .dataTables_info {
    font-size: 11px !important;
    text-align: center !important;
    padding: 8px 0 4px 0 !important;
    color: #94a3b8 !important;
  }
  .dataTables_paginate {
    text-align: center !important;
    padding-top: 8px !important;
  }
  .dataTables_length {
    display: none !important;
  }
  /* DataTables search on mobile */
  .dataTables_filter {
    text-align: center !important;
    margin-bottom: 12px !important;
  }
  .dataTables_filter input {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 42px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    padding: 8px 14px !important;
    border: 1.5px solid #e2e8f0 !important;
  }
  .dataTables_filter label {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #64748b !important;
  }

  /* ─────────────────────────────────────────────────
     3. NATIVE APP CONTENT CONTAINER
     Full-width content, NO gap below header
     ───────────────────────────────────────────────── */
  .content-page {
    padding: 14px 8px 90px 8px !important;
    margin-top: 0 !important;
  }
  .content-page .content {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .content-page .content > .container-fluid {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .container-fluid {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  /* ─────────────────────────────────────────────────
     FIX: Welcome Back card — icon not clipping
     ───────────────────────────────────────────────── */
  .mobile-user-greeting-card {
    padding: 14px !important;
    overflow: visible !important;
  }
  .mobile-user-greeting-card .d-flex {
    gap: 10px !important;
  }
  .mobile-greeting-avatar {
    min-width: 42px !important;
    width: 42px !important;
    height: 42px !important;
    flex-shrink: 0 !important;
  }

  /* ─────────────────────────────────────────────────
     FIX: News card — button overflow and arrow icon
     ───────────────────────────────────────────────── */
  .nexa-widget-header {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .nexa-widget-header .btn-sm {
    min-height: 28px !important;
    height: 28px !important;
    padding: 0 12px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }
  .news-preview-footer {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  /* ─────────────────────────────────────────────────
     FIX: Referral link & social share section
     ───────────────────────────────────────────────── */
  .social-share-grid {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .social-share-item {
    flex: 1 1 calc(33% - 6px) !important;
    min-width: 80px !important;
    height: 34px !important;
    font-size: 11px !important;
    padding: 0 6px !important;
  }
  .nexa-split-widget {
    overflow: hidden !important;
  }
  .nexa-split-widget .input-group {
    flex-wrap: nowrap !important;
  }
  .nexa-split-widget .input-group .form-control {
    min-height: 38px !important;
    font-size: 11px !important;
    padding: 6px 8px !important;
  }

  /* ─────────────────────────────────────────────────
     FIX: Wallet balances — too dark amounts
     ───────────────────────────────────────────────── */
  .nexa-dual-item-val {
    font-size: 17px !important;
    font-weight: 700 !important;
  }
  .nexa-val {
    font-weight: 700 !important;
  }

  /* ─────────────────────────────────────────────────
     FIX: All Income Streams — total badge overflow
     ───────────────────────────────────────────────── */
  .d-flex.align-items-center.justify-content-between .badge {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 55% !important;
    font-size: 11px !important;
  }
  .income-mobile-card .badge,
  .report-mobile-card .badge,
  .sp-card .badge {
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: none !important;
    width: auto !important;
    display: inline-block !important;
  }
  .dash-income-grid {
    gap: 12px !important;
  }
  .dash-income-card {
    padding: 12px 14px !important;
    border-radius: 14px !important;
  }
  .dash-income-card .nexa-val {
    font-size: 16px !important;
    word-break: break-all !important;
  }
  .dash-income-card .d-flex span {
    font-size: 11px !important;
  }

  /* ─────────────────────────────────────────────────
     FIX: My Cycle Tracker — text clipping on left
     ───────────────────────────────────────────────── */
  .nexa-dual-card,
  .nexa-split-widget {
    padding: 14px !important;
    overflow: hidden !important;
  }
  .nexa-dual-card-header {
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
  }
  .nexa-dual-card-title {
    font-size: 13px !important;
    gap: 6px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
  }
  .nexa-dual-grid {
    gap: 12px !important;
  }
  .nexa-dual-item {
    padding: 10px !important;
    border-radius: 12px !important;
    word-break: break-word !important;
  }
  .nexa-dual-item-label {
    font-size: 11px !important;
  }
  .nexa-dual-item-sub {
    font-size: 11px !important;
    word-break: break-word !important;
  }
  .nexa-dual-item-sub span {
    font-size: 11px !important;
    word-break: break-word !important;
  }



  /* ─────────────────────────────────────────────────
     FIX: Quick Actions grid — proper 4-col on mobile
     ───────────────────────────────────────────────── */
  .mobile-quick-actions-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
  }
  .mobile-action-text {
    font-size: 10px !important;
  }

  /* ─────────────────────────────────────────────────
     4. NATIVE MOBILE CARD PRESENTATION
     All .card, .nexa-card, .nexa-dual-card get
     app-native rounded edges and clean shadows
     ───────────────────────────────────────────────── */
  .card,
  .nexa-card {
    border-radius: 16px !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
    overflow: hidden !important;
    margin-bottom: 14px !important;
  }
  .card-header {
    padding: 14px 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }
  .card-body {
    padding: 14px 16px !important;
  }
  .card-title,
  h5.card-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }

  /* ─────────────────────────────────────────────────
     5. FORM FIELDS NATIVE APP TOUCH TARGETS
     ───────────────────────────────────────────────── */
  .form-control,
  .form-select {
    font-size: 15px !important;
    min-height: 46px !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    border: 1.5px solid #e2e8f0 !important;
  }
  .form-control:focus,
  .form-select:focus {
    border-color: #0052FF !important;
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1) !important;
  }
  .form-label,
  label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    margin-bottom: 4px !important;
  }

  /* ─────────────────────────────────────────────────
     6. BUTTONS — CLEAN, ROUNDED, NO-ICON MOBILE STYLE
     ───────────────────────────────────────────────── */
  .btn {
    border-radius: 12px !important;
    min-height: 44px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
  }
  .btn-sm {
    min-height: 36px !important;
    font-size: 12.5px !important;
    padding: 6px 14px !important;
    border-radius: 10px !important;
  }

  /* ─────────────────────────────────────────────────
     7. BADGES — APP-NATIVE PILL STYLE
     ───────────────────────────────────────────────── */
  .badge {
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
  }

  /* ─────────────────────────────────────────────────
     8. MODAL DIALOGS — NATIVE BOTTOM SHEET STYLE
     ───────────────────────────────────────────────── */
  .modal-dialog {
    margin: auto 0 0 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .modal-content {
    border-radius: 22px 22px 0 0 !important;
    border: none !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15) !important;
  }
  .modal-header {
    padding: 16px 18px !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }
  .modal-body {
    padding: 16px 18px !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .modal-footer {
    padding: 12px 18px 20px !important;
    border-top: 1px solid #f1f5f9 !important;
  }

  /* ─────────────────────────────────────────────────
     9. PAGE HEADINGS — COMPACT APP TITLES
     ───────────────────────────────────────────────── */
  .page-title-box {
    padding: 10px 0 !important;
  }
  .page-title-box h4,
  .page-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }
  .breadcrumb {
    display: none !important;
  }

  /* ─────────────────────────────────────────────────
     10. TAB NAVIGATION — HORIZONTAL SCROLLABLE PILLS
     ───────────────────────────────────────────────── */
  .nav-tabs,
  .nav-pills {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 6px !important;
    padding-bottom: 4px !important;
  }
  .nav-tabs::-webkit-scrollbar,
  .nav-pills::-webkit-scrollbar {
    display: none !important;
  }
  .nav-tabs .nav-item,
  .nav-pills .nav-item {
    flex: 0 0 auto !important;
  }
  .nav-tabs .nav-link,
  .nav-pills .nav-link {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    white-space: nowrap !important;
    border-radius: 10px !important;
  }

  /* ─────────────────────────────────────────────────
     11. ALERTS — COMPACT MOBILE STYLE
     ───────────────────────────────────────────────── */
  .alert {
    border-radius: 14px !important;
    font-size: 13px !important;
    padding: 12px 14px !important;
  }

  /* ─────────────────────────────────────────────────
     12. DROPDOWN ACTIONS — MOBILE TOUCH FRIENDLY
     ───────────────────────────────────────────────── */
  .dropdown-menu {
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid #e2e8f0 !important;
    padding: 6px !important;
  }
  .dropdown-item {
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    min-height: 40px !important;
  }
  .dropdown-item:active {
    background: #f1f5f9 !important;
  }

  /* ─────────────────────────────────────────────────
     13. DATA EXPORT BUTTONS — HIDE ON MOBILE
     Desktop export (Copy/CSV/Excel/PDF/Print) is
     not useful on phone. Show only essential actions.
     ───────────────────────────────────────────────── */
  .dt-buttons,
  .buttons-copy,
  .buttons-csv,
  .buttons-excel,
  .buttons-pdf,
  .buttons-print {
    display: none !important;
  }

  /* ─────────────────────────────────────────────────
     14. SMOOTH SCROLL & TOUCH BEHAVIOR
     ───────────────────────────────────────────────── */
  * {
    -webkit-tap-highlight-color: rgba(0, 82, 255, 0.08) !important;
  }
  html {
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
  }
  body {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
  }

  /* ─────────────────────────────────────────────────
     15. HIDE DESKTOP-ONLY ELEMENTS ON MOBILE
     ───────────────────────────────────────────────── */
  .d-mobile-none {
    display: none !important;
  }

  /* ─────────────────────────────────────────────────
     FIX: Card-on-Card removal
     Remove outer card wrapper, show only data cards
     ───────────────────────────────────────────────── */
  .card > .card-body > .card {
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
  }
  .card > .card-body > .table-responsive {
    margin: -14px -16px !important;
    width: calc(100% + 32px) !important;
  }
  /* Data pages: card body should have no extra padding when it wraps inner cards */
  .card > .card-body:has(> .card),
  .card > .card-body:has(> .table-responsive) {
    padding: 0 !important;
  }

  /* ─────────────────────────────────────────────────
     FIX: BV Cycle Tracker gap between 3 column cards
     ───────────────────────────────────────────────── */
  .bv-cycle-card .row.g-3 {
    gap: 0 !important;
  }
  .bv-col-card {
    margin-bottom: 12px !important;
    padding: 14px !important;
    border-radius: 14px !important;
  }
  .bv-cycle-header {
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 14px !important;
  }
  .bv-cycle-header .d-flex {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  /* ─────────────────────────────────────────────────
     FIX: Income stream cards — more gap
     ───────────────────────────────────────────────── */
  .dash-income-grid {
    gap: 14px !important;
  }

  /* ─────────────────────────────────────────────────
     FIX: Top area extra space removal
     ───────────────────────────────────────────────── */
  .page-title-box {
    padding: 4px 0 !important;
    margin-bottom: 4px !important;
  }
}



/* ==========================================================================
   ENTERPRISE UNIQUE DELETE & DESTRUCTIVE ACTIONS SYSTEM
   ========================================================================== */

/* 1. Distinctive Button Style */
.btn-nexa-delete {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: rgba(239, 68, 68, 0.08) !important;
  color: #dc2626 !important;
  border: 1px solid rgba(220, 38, 38, 0.25) !important;
  padding: 6px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 1px 2px rgba(220, 38, 38, 0.05) !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.btn-nexa-delete:hover,
.btn-nexa-delete:focus {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  border-color: #dc2626 !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35) !important;
}

.btn-nexa-delete:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25) !important;
}

/* 2. Compact Table Action Icon Button */
.btn-action-icon-delete {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: rgba(239, 68, 68, 0.08) !important;
  color: #dc2626 !important;
  border: 1px solid rgba(220, 38, 38, 0.2) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  padding: 0 !important;
}

.btn-action-icon-delete:hover {
  background: #dc2626 !important;
  color: #ffffff !important;
  border-color: #dc2626 !important;
  transform: translateY(-1px) scale(1.05) !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
}

/* 3. Dropdown Item Delete Action */
.dropdown-item-delete {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #dc2626 !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  transition: all 0.15s ease !important;
}

.dropdown-item-delete:hover,
.dropdown-item-delete:focus {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #b91c1c !important;
  padding-left: 14px !important;
}

.dropdown-item-delete i {
  width: 16px !important;
  text-align: center !important;
  color: #dc2626 !important;
  transition: transform 0.2s ease !important;
}

.dropdown-item-delete:hover i {
  transform: scale(1.15) !important;
}



/* ==========================================================================
   MISSING BOOTSTRAP OPACITY UTILITIES (2026-10-16)
   --------------------------------------------------------------------------
   Bootstrap ships bg-opacity-10 / -25 / -50 / -75 / -100. It does NOT ship
   -15, -20, -45 and so on, and an unknown class fails silently.

   The markup across the franchise pages and admin screens pairs a colour
   background with the SAME colour text:

       <span class="badge bg-warning bg-opacity-15 text-warning">⚠ 3 left</span>

   Because bg-opacity-15 did nothing, `bg-warning` painted a SOLID orange pill
   and `text-warning` then painted the label the same orange — the badge
   rendered as an empty orange blob with no readable number on it. This was
   reported on the POS product catalog, but the same broken class appears in
   franchisee-stock, franchisee dashboard, stock, sell-history, purchase
   requests and package-buy.

   Declaring the missing utilities fixes every occurrence at once instead of
   hand-editing a dozen templates, and future markup using them will behave as
   its author intended.

   Text colours are darkened at the same time: #ffc107 (Bootstrap's default
   text-warning) on a 15% amber wash is roughly 2.5:1, which fails WCAG AA for
   small text. The darker pairs below clear it comfortably.
   ========================================================================== */

/* --- 15% washes ------------------------------------------------------- */
.bg-warning.bg-opacity-15 { background-color: rgba(245, 158, 11, .15) !important; }
.bg-success.bg-opacity-15 { background-color: rgba(16, 185, 129, .15) !important; }
.bg-info.bg-opacity-15    { background-color: rgba(13, 202, 243, .15) !important; }
.bg-danger.bg-opacity-15  { background-color: rgba(239, 68, 68, .15) !important; }
.bg-primary.bg-opacity-15 { background-color: rgba(0, 82, 255, .15) !important; }
.bg-secondary.bg-opacity-15 { background-color: rgba(100, 116, 139, .15) !important; }

/* --- 20% washes ------------------------------------------------------- */
.bg-warning.bg-opacity-20 { background-color: rgba(245, 158, 11, .20) !important; }
.bg-success.bg-opacity-20 { background-color: rgba(16, 185, 129, .20) !important; }
.bg-info.bg-opacity-20    { background-color: rgba(13, 202, 243, .20) !important; }
.bg-danger.bg-opacity-20  { background-color: rgba(239, 68, 68, .20) !important; }
.bg-primary.bg-opacity-20 { background-color: rgba(0, 82, 255, .20) !important; }
.bg-secondary.bg-opacity-20 { background-color: rgba(100, 116, 139, .20) !important; }

/* --- 45% washes ------------------------------------------------------- */
.bg-warning.bg-opacity-45 { background-color: rgba(245, 158, 11, .45) !important; }
.bg-success.bg-opacity-45 { background-color: rgba(16, 185, 129, .45) !important; }
.bg-info.bg-opacity-45    { background-color: rgba(13, 202, 243, .45) !important; }
.bg-danger.bg-opacity-45  { background-color: rgba(239, 68, 68, .45) !important; }
.bg-primary.bg-opacity-45 { background-color: rgba(0, 82, 255, .45) !important; }

/* --- readable text on those washed backgrounds ------------------------- */
.bg-warning.bg-opacity-15 + .text-warning,
.text-warning.bg-warning.bg-opacity-15 { color: #92400e !important; }

.text-warning { color: #92400e !important; }
.text-success { color: #047857 !important; }
.text-danger  { color: #b91c1c !important; }
.text-info    { color: #0e7490 !important; }