/* Dark Mode Theme Overrides */
body.dark-mode {
  background-color: #0F1219 !important;
  color: #E2E8F0 !important;
}

body.dark-mode .bg-white,
body.dark-mode .why-item,
body.dark-mode .trust-bar {
  background-color: #1A1F2B !important;
  color: #E2E8F0 !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .card-title {
  color: #FFFFFF !important;
}

/* Glassmorphism updates for Dark Mode */
body.dark-mode .glass-card {
  background: rgba(26, 31, 43, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #E2E8F0 !important;
}

/* Navbar Scrolled state in Dark Mode */
body.dark-mode .navbar-custom.scrolled {
  background-color: #111622 !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

/* Modals & Inputs */
body.dark-mode .modal-content {
  background-color: #1A1F2B !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .form-control,
body.dark-mode .form-select {
  background-color: #121620 !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {
  border-color: var(--accent-orange) !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 92, 0, 0.25) !important;
}

body.dark-mode .table {
  color: #E2E8F0 !important;
}

body.dark-mode .table th,
body.dark-mode .table td {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .dropdown-menu {
  background-color: #1A1F2B !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .dropdown-item {
  color: #E2E8F0 !important;
}

body.dark-mode .dropdown-item:hover {
  background-color: var(--accent-orange) !important;
  color: var(--white) !important;
}

/* Custom dark scrollbar */
body.dark-mode ::-webkit-scrollbar {
  width: 10px;
}
body.dark-mode ::-webkit-scrollbar-track {
  background: #0F1219;
}
body.dark-mode ::-webkit-scrollbar-thumb {
  background: #2D3748;
  border-radius: 5px;
}
body.dark-mode ::-webkit-scrollbar-thumb:hover {
  background: #4A5568;
}
