@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  /* Apex Modern Light Palette */
  --bg-canvas: #f4f6f9;
  --bg-surface: #ffffff;
  --bg-header: #ffffff;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #d97706;
  
  /* Accent Colors */
  --primary: #EAB308;
  --primary-hover: #FACC15;
  --primary-dark: #CA8A04;
  --primary-glow: rgba(234, 179, 8, 0.25);
  
  --accent: #0284C7;
  --accent-glow: rgba(2, 132, 199, 0.15);
  --success: #059669;
  --danger: #DC2626;
  --warning: #D97706;
  --info: #0284C7;
  
  /* Text */
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #94A3B8;
  
  /* Typography */
  --font-brand: "Source Sans 3", sans-serif;
  --font-ui: "Source Sans 3", sans-serif;
  --font-mono: "Source Sans 3", sans-serif;
}

*, body, button, input, select, textarea, table, td, th {
  box-sizing: border-box;
}

body, html, table, td, th, select, textarea {
  font-family: "Source Sans 3", sans-serif !important;
}

*:not(i):not([class*="fa-"]):not([class^="fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular),
input:not([class*="fa-"]):not([class^="fa-"]):not(.fas):not(.fa),
button:not([class*="fa-"]):not([class^="fa-"]):not(.fas):not(.fa) {
  font-family: "Source Sans 3", sans-serif !important;
}

/* Protect and ensure Font Awesome icon fonts */
.fa, .fas, .far, .fal, .fad, .fab, .fa-solid, .fa-regular, .fa-brands, [class*="fa-"], [class^="fa-"] {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
}
.fab, .fa-brands {
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome" !important;
}

/* Support Chat Trigger Icon Protection & Display */
#ddChatTrigger,
.dd-chat-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#ddChatTrigger i,
#ddChatTrigger .fas,
#ddChatIcon,
.dd-chat-trigger i,
.dd-chat-trigger .fas {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-size: 24px !important;
  line-height: 1 !important;
  display: inline-block !important;
}

#ddChatIcon::before,
.dd-chat-trigger .fa-comments::before {
  content: "\f086" !important;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block !important;
}

/* Sound / Volume Toggle Checkbox Display Fix */
div[style*="margin-left: 8px"][style*="margin-top: -3px"],
div:has(> input.fa-volume-mute),
div:has(> input[type="checkbox"].fas) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  overflow: visible !important;
}

input[type="checkbox"].fas.fa-volume-mute,
input[type="checkbox"].fa-volume-mute,
input.fas.fa-volume-mute,
input.fa-volume-mute,
input[type="checkbox"].fas.fa-volume-mute.fa-inverse,
input.fas.fa-volume-mute.fa-inverse {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-size: 15px !important;
  line-height: 1 !important;
  position: relative !important;
  vertical-align: middle !important;
  margin-right: 12px !important;
  color: #334155 !important;
  opacity: 0.9 !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

input[type="checkbox"].fas.fa-volume-mute:hover,
input[type="checkbox"].fa-volume-mute:hover,
input.fas.fa-volume-mute:hover {
  opacity: 1 !important;
  transform: scale(1.1) !important;
  color: #0F172A !important;
}

input[type="checkbox"].fa-volume-mute::before,
input.fa-volume-mute::before {
  content: "\f6a9" !important;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-size: 15px !important;
  display: inline-block !important;
  line-height: 1 !important;
  color: inherit !important;
}

input[type="checkbox"].fa-volume-mute:checked::before,
input.fa-volume-mute:checked::before {
  content: "\f028" !important;
  color: #10B981 !important;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-canvas);
  font-family: "Source Sans 3", sans-serif !important;
  color: var(--text-main);
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ============================================================
   1. LOGIN OVERLAY SCREEN (LIGHT THEME)
   ============================================================ */
.login-screen-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: radial-gradient(circle at center, #ffffff 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.login-screen-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.login-card-modal {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1), 0 0 25px rgba(234, 179, 8, 0.2);
  position: relative;
  overflow: hidden;
  animation: modalPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.login-card-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #EAB308, #0284C7, #10B981);
}

.modal-header-section {
  text-align: center;
  margin-bottom: 1.75rem;
}

.brand-badge-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1.5px solid rgba(234, 179, 8, 0.55);
  color: #fff;
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 1px;
  padding: 0.5rem 1.25rem 0.5rem 0.65rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(234, 179, 8, 0.25);
  margin-bottom: 0;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.brand-badge-lg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(147, 217, 221, 0.2) 50%,
    transparent 60%
  );
  animation: logoShine 4s infinite linear;
}

@keyframes logoShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.brand-badge-lg .brand-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #6f3769;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(111, 55, 105, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.brand-badge-lg .brand-name-dynamic {
  background: linear-gradient(135deg, #FFFFFF 0%, #6f3769 45%, #EAB308 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(234, 179, 8, 0.3);
}

.modal-title {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.login-input-group {
  margin-bottom: 1.15rem;
}

.input-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input-field-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 0.95rem;
  pointer-events: none;
}

.form-control-custom {
  width: 100%;
  background: #ffffff;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 0.75rem 0.9rem 0.75rem 2.5rem;
  color: #0F172A;
  font-size: 0.95rem;
  font-family: var(--font-ui);
  outline: none;
  transition: all 0.2s;
}

.form-control-custom:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.18);
}

/* Saved Logins & Autofill Enhancements */
.relative-wrap {
  position: relative !important;
}

.input-label-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 0.4rem !important;
}

.input-label-row .input-label {
  margin-bottom: 0 !important;
}

.saved-logins-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15) 0%, rgba(202, 138, 4, 0.22) 100%);
  border: 1px solid rgba(202, 138, 4, 0.4);
  color: #92400E;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.saved-logins-badge-btn:hover {
  background: #FEF3C7;
  color: #78350F;
  border-color: #EAB308;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.25);
}

.btn-toggle-pwd {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-dim, #94A3B8);
  cursor: pointer;
  font-size: 0.95rem;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  outline: none;
}

.btn-toggle-pwd:hover {
  color: #0F172A;
}

.login-options-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: -0.25rem;
  margin-bottom: 1.15rem;
}

.remember-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox-input {
  display: none !important;
}

.custom-checkbox-box {
  width: 18px;
  height: 18px;
  border: 1.5px solid #CBD5E1;
  border-radius: 5px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  color: transparent;
  transition: all 0.2s;
  box-sizing: border-box;
}

.custom-checkbox-input:checked + .custom-checkbox-box {
  background: #EAB308;
  border-color: #EAB308;
  color: #000000;
  box-shadow: 0 2px 6px rgba(234, 179, 8, 0.35);
}

.checkbox-caption {
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
}

/* Saved Logins Floating Dropdown Menu (on Hover / Focus) */
.saved-logins-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
  z-index: 100015;
  overflow: hidden;
  animation: savedDropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes savedDropdownFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.saved-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.74rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.saved-close-btn {
  font-size: 1.15rem;
  cursor: pointer;
  color: #94A3B8;
  line-height: 1;
  transition: color 0.15s;
}

.saved-close-btn:hover {
  color: #DC2626;
}

.saved-logins-list {
  max-height: 180px;
  overflow-y: auto;
}

.saved-empty-msg {
  padding: 1rem;
  text-align: center;
  color: #94A3B8;
  font-size: 0.82rem;
  font-weight: 500;
}

.saved-account-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-bottom: 1px solid #F1F5F9;
  cursor: pointer;
  transition: all 0.15s ease;
}

.saved-account-item:last-child {
  border-bottom: none;
}

.saved-account-item:hover {
  background: #FEFCE8;
}

.saved-account-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.saved-account-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #EAB308;
  color: #000000;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(234, 179, 8, 0.3);
}

.saved-account-details {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.saved-account-user {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.saved-account-pass {
  font-size: 0.72rem;
  color: #94A3B8;
  letter-spacing: 0.18em;
}

.saved-account-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.saved-btn-fill {
  background: rgba(234, 179, 8, 0.18);
  border: 1px solid #EAB308;
  color: #854D0E;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.saved-btn-fill:hover {
  background: #EAB308;
  color: #000000;
}

.saved-btn-delete {
  background: none;
  border: none;
  color: #94A3B8;
  padding: 4px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.82rem;
  transition: all 0.15s;
}

.saved-btn-delete:hover {
  color: #DC2626;
  background: #FEF2F2;
}

.login-alert {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: none;
}

.login-alert.error {
  display: block;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
}

.btn-primary-glow {
  width: 100%;
  background: #6f3769;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-family: var(--font-brand);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(111, 55, 105, 0.35);
  transition: all 0.2s;
}

.btn-primary-glow:hover {
  background: #85427e;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(111, 55, 105, 0.4);
}

/* ============================================================
   2. REFINED TOP HEADER BAR (LIGHT THEME)
   ============================================================ */
.dashboard-app-wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background: var(--bg-canvas);
}

.user-header-row {
  height: 44px;
  min-height: 44px;
  background: #ffffff;
  border-bottom: 1px solid #E2E8F0;
  padding: 0 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.header-left-col {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-brand-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 0.2rem 0.55rem 0.2rem 0.3rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  position: relative;
}

.header-brand-badge:hover {
  background: linear-gradient(135deg, #FEFCE8 0%, #FEF3C7 100%);
  border-color: #FACC15;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.2);
}

.brand-bolt-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #6f3769;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(111, 55, 105, 0.35);
  position: relative;
  transition: transform 0.25s ease;
}

.header-brand-badge:hover .brand-bolt-icon {
  transform: scale(1.08) rotate(3deg);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text-block .brand-title {
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0F172A 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-text-block .brand-sub {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.18) 0%, rgba(202, 138, 4, 0.25) 100%);
  border: 0.5px solid rgba(202, 138, 4, 0.4);
  color: #92400E;
  font-size: 0.50rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1px 4px;
  border-radius: 3px;
  margin-top: 1px;
  width: fit-content;
}

.header-divider-v,
.user-profile-badge {
  display: none !important;
}
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 0.3rem 0.8rem 0.3rem 0.35rem;
  border-radius: 30px;
  transition: all 0.2s;
}

.user-profile-badge:hover {
  background: #FEF3C7;
  border-color: #F59E0B;
}

.user-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #6f3769;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 0.85rem;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(111, 55, 105, 0.35);
}

.user-text-info {
  display: flex;
  flex-direction: column;
}

.user-name-span {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  color: #0F172A;
  line-height: 1.15;
}

.user-role-span {
  font-size: 0.7rem;
  color: #B45309;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Right Controls */
.header-right-col {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.live-pulse-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
}

.pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
  animation: pulseAnimation 1.8s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.btn-header-action {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: var(--text-main);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-header-action:hover {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #B45309;
  transform: translateY(-1px);
}

.btn-header-action.primary-nav {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border-color: #F59E0B;
  color: #78350F;
}

.btn-header-action.primary-nav:hover {
  background: #FACC15;
  border-color: #EAB308;
  color: #000;
  box-shadow: 0 0 15px var(--primary-glow);
}

.btn-header-action.logout:hover {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #DC2626;
}

/* ============================================================
   3. HOME DASHBOARD WORKSPACE CONTENT (LIGHT THEME)
   ============================================================ */
.dashboard-main-content {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.hero-launch-banner {
  background: linear-gradient(135deg, #ffffff 0%, #F8FAFC 100%);
  border: 1px solid #E2E8F0;
  border-left: 4px solid #EAB308;
  border-radius: 16px;
  padding: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.hero-text h1 {
  font-family: var(--font-brand);
  font-size: 1.65rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.hero-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.btn-launch-terminal {
  background: #6f3769;
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 18px rgba(111, 55, 105, 0.35);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-launch-terminal:hover {
  background: #85427e;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(111, 55, 105, 0.45);
}

.dashboard-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.dash-widget-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.25s;
}

.dash-widget-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.widget-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.widget-card-title {
  font-family: var(--font-brand);
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.widget-placeholder-box {
  background: #F8FAFC;
  border: 2px dashed #E2E8F0;
  border-radius: 10px;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ============================================================
   4. EXCHANGE TERMINAL FRAME CONTAINER
   ============================================================ */
.site-frame-container {
  flex: 1;
  width: 100%;
  height: calc(100vh - 44px);
  position: relative;
  background: #f4f6f9;
}

.site-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.frame-loader-overlay {
  position: absolute;
  inset: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  z-index: 50;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.frame-loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #E2E8F0;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.75s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

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

#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  color: #0F172A;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================================
   5. MOBILE RESPONSIVE OPTIMIZATIONS
   ============================================================ */
@media (max-width: 860px) {
  .user-header-row {
    height: 42px;
    min-height: 42px;
    padding: 0 0.65rem;
  }

  .btn-header-action {
    padding: 0.22rem 0.5rem;
    font-size: 0.72rem;
  }

  .hero-launch-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .site-frame-container {
    height: calc(100vh - 42px);
    overflow: hidden;
  }
}


.btn-header-action.admin-nav {
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #B45309;
}

.btn-header-action.admin-nav:hover {
  background: #FEF3C7;
  border-color: #D97706;
  color: #78350F;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #25D366;
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.65);
  color: #fff;
}

.floating-whatsapp-btn .whatsapp-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.6;
  animation: whatsappPulseAnim 2s infinite;
}

@keyframes whatsappPulseAnim {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.whatsapp-chat-tooltip {
  position: absolute;
  right: 64px;
  background: #ffffff;
  color: #0F172A;
  border: 1px solid #E2E8F0;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.2s;
}

/* ============================================================
   7. DASHBOARD WELCOME SPLASH & AUTO-REDIRECT
   ============================================================ */
.welcome-splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at center, #ffffff 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.welcome-splash-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome-splash-card {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 3rem 2.25rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 35px rgba(234, 179, 8, 0.2);
  position: relative;
  overflow: hidden;
  animation: splashZoomIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes splashZoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.welcome-splash-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FACC15, #0284C7, #10B981, #FACC15);
  background-size: 200% 100%;
  animation: shimmerBorder 2s linear infinite;
}

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

.welcome-splash-title {
  font-family: var(--font-brand);
  font-size: 1.75rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin: 1.25rem 0 0.5rem;
  line-height: 1.3;
}

.welcome-splash-title .highlight-gold {
  color: #B45309;
}

.welcome-splash-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.splash-progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
}

.splash-progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #FACC15 0%, #EAB308 100%);
  border-radius: 10px;
  transition: width 0.1s linear;
}

.splash-countdown-text {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-skip-splash {
  color: #B45309;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s;
}

.btn-skip-splash:hover {
  color: #78350F;
  transform: translateX(2px);
}

/* ============================================================
   8. MASTER & AGENT CONTROL PANEL DESIGN SYSTEM (LIGHT THEME)
   ============================================================ */
.app-header.navbar,
header.app-header {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-bottom: 2px solid #EAB308 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
  height: 56px !important;
  padding: 0 1rem !important;
}

.app-header .logo-bar {
  background: transparent !important;
  border: none !important;
  padding: 0 12px !important;
  display: flex !important;
  align-items: center !important;
}

.app-header .green-logo-text {
  font-family: var(--font-brand) !important;
  font-weight: 900 !important;
  font-size: 1.4rem !important;
  letter-spacing: 1.5px !important;
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.app-header .navbar-toggler {
  color: #D97706 !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 8px !important;
  padding: 0.3rem 0.6rem !important;
  transition: all 0.2s !important;
}

.app-header .navbar-toggler:hover {
  background: #FEF3C7 !important;
}

.app-header .nav-item .nav-link {
  color: var(--text-muted) !important;
  font-family: var(--font-ui) !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  padding: 0.5rem 0.9rem !important;
  border-radius: 8px !important;
  transition: all 0.2s !important;
}

.app-header .nav-item .nav-link:hover,
.app-header .nav-item.active .nav-link {
  color: #B45309 !important;
  background: #FEF3C7 !important;
}

/* ============================================================
   SIDEBAR & MENU NAVIGATION (APEX GOLD GRADIENT THEME)
   ============================================================ */
div#sidebar,
#sidebar,
.sidebar,
.col-md-3.col-lg-2#sidebar,
div[id="sidebar"] {
  background: #6f3769 !important;
  background-color: #6f3769 !important;
  background-image: none !important;
  color: #ffffff !important;
  font-family: var(--font-ui) !important;
  border-right: 1px solid #6f3769 !important;
  box-shadow: 2px 0 12px rgba(111, 55, 105, 0.25) !important;
}

div#sidebar *,
#sidebar *,
.sidebar * {
  color: #ffffff !important;
  font-family: var(--font-ui) !important;
}

div#sidebar a,
#sidebar a,
.sidebar .nav-link,
#sidebar .nav-link,
#sidebar li a,
#sidebar span,
#sidebar p,
#sidebar div {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-family: var(--font-ui) !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
}

div#sidebar a:hover,
#sidebar a:hover,
.sidebar .nav-link:hover,
#sidebar .nav-link:hover,
#sidebar li:hover > a {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}

div#sidebar .active,
#sidebar .active,
#sidebar a.active,
#sidebar .nav-link.active,
#sidebar li.active > a {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  border-left: 4px solid #ffffff !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
}

div#sidebar i,
#sidebar i,
#sidebar .fa,
#sidebar .fas,
#sidebar .far,
#sidebar .nav-icon {
  color: #ffffff !important;
  margin-right: 6px !important;
}

div#sidebar .nav-header,
#sidebar .nav-header,
#sidebar .sidebar-heading,
#sidebar h4,
#sidebar h5,
#sidebar h6 {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 12px 10px 4px 10px !important;
}

/* Master Cards & Tables */
.card {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
  margin-bottom: 1.5rem !important;
  overflow: hidden !important;
}

.card-header {
  background: linear-gradient(90deg, #F8FAFC 0%, #F1F5F9 100%) !important;
  border-bottom: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
  font-family: var(--font-brand) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  padding: 0.9rem 1.25rem !important;
}

.reportmenubuttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  align-items: center !important;
}

/* Master Ledger Table */
#tableLedger,
.tbl-datatable1 {
  background: #ffffff !important;
  border-collapse: collapse !important;
  width: 100% !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.accounts-chart-head-bg,
tr.accounts-chart-head-bg th,
tr.accounts-chart-head-bg td {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%) !important;
  border-bottom: 2px solid #F59E0B !important;
  color: #78350F !important;
  font-family: var(--font-brand) !important;
  font-weight: 800 !important;
  font-size: 0.98rem !important;
  padding: 10px 14px !important;
}

#tableLedger thead tr:last-child th {
  background: #F8FAFC !important;
  color: var(--text-muted) !important;
  font-family: var(--font-ui) !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border: 1px solid #E2E8F0 !important;
  border-bottom: 2px solid #EAB308 !important;
  padding: 11px 12px !important;
}

#tableLedger tbody tr {
  background: #ffffff !important;
  transition: background 0.15s ease-in-out !important;
}

#tableLedger tbody tr:nth-of-type(odd) {
  background: #F8FAFC !important;
}

#tableLedger tbody tr:hover {
  background: #FEF9C3 !important;
}

#tableLedger tbody td {
  border: 1px solid #E2E8F0 !important;
  color: var(--text-main) !important;
  padding: 9px 12px !important;
  font-size: 0.88rem !important;
  vertical-align: middle !important;
}

.position-plus {
  color: #059669 !important;
  font-family: var(--font-mono) !important;
  font-weight: 700 !important;
}

.position-minus {
  color: #DC2626 !important;
  font-family: var(--font-mono) !important;
  font-weight: 700 !important;
}

/* ============================================================
   9. LIVE IDENTITY GREEN ROUNDED DOT
   ============================================================ */
i.fa-circle.position-plus,
.fa-circle.position-plus,
.position-plus.fa-circle,
i.fa.fa-circle.position-plus {
  color: #10B981 !important;
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome', sans-serif !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block !important;
  font-size: 0.65rem !important;
  vertical-align: middle !important;
  margin-right: 5px !important;
  text-shadow: 0 0 6px rgba(16, 185, 129, 0.6) !important;
  animation: liveDotPulse 1.8s infinite ease-in-out !important;
}

@keyframes liveDotPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; text-shadow: 0 0 10px rgba(16, 185, 129, 0.9); }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* ============================================================
   10. SIDEBAR CUSTOM SVG ICONS (CSS ONLY - NO EXTERNAL FONT NEEDED)
   ============================================================ */
.sidebar-nav .nav-icon,
.nav .nav-icon,
.sidebar-nav a .fas,
.nav a .fas {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  margin-right: 10px !important;
  vertical-align: middle !important;
  background-color: currentColor !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
  opacity: 0.95 !important;
}

/* 1. Dashboard */
.sidebar-nav a[href*="index"] .nav-icon,
.nav a[href*="index"] .nav-icon,
.fa-tachometer-alt,
.fa-tachometer {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3Cpath d='M16.2 7.8l-2.1 2.1'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3Cpath d='M16.2 7.8l-2.1 2.1'/%3E%3C/svg%3E") !important;
}

/* 2. Users */
.sidebar-nav a[href*="Accounts"] .nav-icon,
.sidebar-nav a[href*="Chart"] .nav-icon,
.nav a[href*="Accounts"] .nav-icon,
.nav a[href*="Chart"] .nav-icon,
.fa-users {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") !important;
}

/* 3. Current Position (Liables) */
.sidebar-nav a[href*="Liables"] .nav-icon,
.nav a[href*="Liables"] .nav-icon,
.fa-funnel-dollar {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 7 13.5 15.5 8.5 10.5 2 17'/%3E%3Cpolyline points='16 7 22 7 22 13'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 7 13.5 15.5 8.5 10.5 2 17'/%3E%3Cpolyline points='16 7 22 7 22 13'/%3E%3C/svg%3E") !important;
}

/* 4. Reports (BookDetail) */
.sidebar-nav a[href*="Reports"] .nav-icon,
.sidebar-nav a[href*="BookDetail"] .nav-icon,
.nav a[href*="Reports"] .nav-icon,
.nav a[href*="BookDetail"] .nav-icon,
.fa-money-check {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='18' rx='2'/%3E%3Cline x1='7' y1='8' x2='17' y2='8'/%3E%3Cline x1='7' y1='12' x2='17' y2='12'/%3E%3Cline x1='7' y1='16' x2='13' y2='16'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='18' rx='2'/%3E%3Cline x1='7' y1='8' x2='17' y2='8'/%3E%3Cline x1='7' y1='12' x2='17' y2='12'/%3E%3Cline x1='7' y1='16' x2='13' y2='16'/%3E%3C/svg%3E") !important;
}

/* 5. Bet Lock */
.sidebar-nav a[href*="BetLocker"] .nav-icon,
.nav a[href*="BetLocker"] .nav-icon,
.fa-unlock-alt,
.fa-lock {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") !important;
}

/* 6. Star Casino */
.sidebar-nav a[href*="Games"] .nav-icon,
.nav a[href*="Games"] .nav-icon,
.fa-star {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") !important;
}

/* 7. World Casino */
.sidebar-nav a[href*="WorldCasino"] .nav-icon,
.nav a[href*="WorldCasino"] .nav-icon,
.fa-globe {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E") !important;
}

/* 8. BetFair Games */
.sidebar-nav a[href*="ExGames"] .nav-icon,
.nav a[href*="ExGames"] .nav-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='3'/%3E%3Cline x1='6' y1='12' x2='10' y2='12'/%3E%3Cline x1='8' y1='10' x2='8' y2='14'/%3E%3Ccircle cx='15' cy='11' r='1' fill='black'/%3E%3Ccircle cx='17' cy='13' r='1' fill='black'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='3'/%3E%3Cline x1='6' y1='12' x2='10' y2='12'/%3E%3Cline x1='8' y1='10' x2='8' y2='14'/%3E%3Ccircle cx='15' cy='11' r='1' fill='black'/%3E%3Ccircle cx='17' cy='13' r='1' fill='black'/%3E%3C/svg%3E") !important;
}

/* Sports dropdown images alignment */
.sidebar-nav .nav-dropdown-toggle img,
.nav .nav-dropdown-toggle img {
  width: 18px !important;
  height: 18px !important;
  margin-right: 10px !important;
  vertical-align: middle !important;
  display: inline-block !important;
  object-fit: contain !important;
}
