/* ============================================================
   dark-theme.css  —  Global dark theme for Visa Application
   ============================================================ */

/* ── Google Font ── */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");


/* ── Base ── */
*{
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

/* Fix Font Awesome strike-out */
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands, .fa-classic {
  font-family: var(--_fa-family) !important;
}
html,
body {
  background: linear-gradient(135deg, #161f3b 0%, #030450 30%,#18016d 70%, #0123aa 100%) !important;
  color: #e2e8f0 !important;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}


body::before,
body::after {
  content: "";
  position: fixed;
  width: 45vw;
  height: 45vw;
  min-width: 350px;
  min-height: 350px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -10;
  pointer-events: none;
  opacity: 0.16;
}
body::before {
  top: -10%;
  left: -10%;
  background: radial-gradient(circle, #6366f1 0%, #4f46e5 100%);
  animation: float-purple 18s ease-in-out infinite alternate;
}
body::after {
  bottom: -10%;
  right: -10%;
  background: radial-gradient(circle, #9333ea 0%, #ec4899 100%);
  animation: float-indigo 22s ease-in-out infinite alternate;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #12141f;
}
::-webkit-scrollbar-thumb {
  background: #2d3148;
  border-radius: 4px;
}

/* ============================================================
   TOP NAVBAR
   ============================================================ */
#main-navbar {
  background: rgba(18, 20, 31, 0.6) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  height: 58px;
}
#main-navbar .navbar-brand,
#main-navbar h4,
#main-navbar .nav-title {
  color: #e2e8f0 !important;
  font-weight: 600;
  font-size: 1rem;
}
#main-navbar .navbar-toggler {
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.15);
}
#main-navbar .navbar-toggler-icon {
  filter: invert(1);
}
.nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  cursor: default;
}
.nav-settings-btn {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8 !important;
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-decoration: none;
  transition: all 0.2s;
}
.nav-settings-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc !important;
  border-color: rgba(99, 102, 241, 0.4);
}
.nav-logout-btn {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5 !important;
  border: 1px solid rgba(239, 68, 68, 0.25);
  text-decoration: none;
  transition: all 0.2s;
}
.nav-logout-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #fecaca !important;
}

/* User-portal navbar (no sidebar) */
.user-navbar {
  background: rgba(18, 20, 31, 0.6) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.user-navbar .un-title {
  color: #e2e8f0 !important;
  font-weight: 700;
  font-size: 1.1rem;
}
.user-navbar .un-welcome {
  color: #94a3b8 !important;
  font-size: 0.82rem;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  padding: 58px 0 0;
  width: 235px;
  z-index: 600;
  background: rgba(18, 20, 31, 0.45) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}
@media (max-width: 991.98px) {
  .sidebar {
    width: 100%;
  }
}

.sidebar-brand {
  padding: 20px 20px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #475569;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin: 2px 10px;
  border-radius: 10px;
  font-size: 0.855rem;
  font-weight: 500;
  color: #94a3b8 !important;
  text-decoration: none;
  transition: all 0.18s;
  border: 1px solid transparent;
}
.sidebar-nav-link i {
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
}
.sidebar-nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0 !important;
}
.sidebar-nav-link.active {
  background: rgba(99, 102, 241, 0.15) !important;
  color: #a5b4fc !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
}
.sidebar-nav-link.active i {
  color: #818cf8;
}

/* ============================================================
   MAIN CONTENT OFFSET
   ============================================================ */
@media (min-width: 991.98px) {
  main {
    padding-left: 235px;
  }
}

/* ============================================================
   CARDS / PANELS
   ============================================================ */
.card {
  background: rgba(255, 255, 255, 0.045) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(6, 9, 153, 0.877) !important;
  border-radius: 16px !important;
  color: #e2e8f0 !important;
  box-shadow: 0 8px 32px 0 rgba(42, 29, 224, 0.973), 0 0 12px 1px rgba(9, 12, 226, 0.87) !important;
}
.card-header {
  background: rgba(255, 255, 255, 0.02) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
}
.card-body {
  color: #cbd5e1 !important;
}

/* ============================================================
   LIST GROUP
   ============================================================ */
.list-group-item {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  color: #cbd5e1 !important;
}
.list-group-item:hover {
  background: rgba(255, 255, 255, 0.04) !important;
}

/* ============================================================
   TABLES
   ============================================================ */
.table {
  color: #e2e8f0 !important;
}
.table thead th {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #94a3b8 !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.table tbody tr {
  border-color: rgba(255, 255, 255, 0.05) !important;
  color: #e2e8f0 !important;
}
.table tbody td {
  color: #e2e8f0 !important;
}
.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04) !important;
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
  color: #e2e8f0 !important;
  background: rgba(255, 255, 255, 0.02) !important;
}
/* DataTables rendered cells */
.dataTables_wrapper table td,
.dataTables_wrapper table th {
  color: #e2e8f0 !important;
}
.dataTables_scrollBody td,
.dataTables_scrollHeadInner th {
  color: #e2e8f0 !important;
}
.dataTables_wrapper .dataTables_filter input {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #e2e8f0 !important;
  border-radius: 10px;
  padding: 8px 16px;
}
.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_info {
  color: #94a3b8 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #94a3b8 !important;
  border-radius: 8px !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: rgba(99, 102, 241, 0.2) !important;
  color: #a5b4fc !important;
  border-color: rgba(99, 102, 241, 0.35) !important;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  transition: all 0.2s;
}

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-position: right 1rem center !important;
  background-repeat: no-repeat !important;
  background-size: 16px 12px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer;
}

.form-select option,
.form-control option {
  background-color: #0b0d13 !important;
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  padding: 12px !important;
}
.form-select option:hover,
.form-select option:focus,
.form-select option:active,
.form-select option:checked,
.form-control option:hover,
.form-control option:focus,
.form-control option:active,
.form-control option:checked {
  background-color: #6366f1 !important;
  color: #ffffff !important;
}

.form-control:focus,
.form-select:focus {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(99, 102, 241, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
  color: #e2e8f0 !important;
}
.form-control::placeholder {
  color: #d2e4fc !important;
}
.form-label {
  color: #94a3b8 !important;
  font-size: 0.82rem;
  font-weight: 500;
}
textarea.form-control {
  min-height: 100px;
}

/* ============================================================
   BUTTONS (override)
   ============================================================ */
.btn-primary {
  background: #6366f1 !important;
  border-color: #6366f1 !important;
}
.btn-primary:hover {
  background: #4f46e5 !important;
}
.btn-dark {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
}
.btn-dark:hover {
  background: rgba(255, 255, 255, 0.14) !important;
}
.btn-success {
  background: #059669 !important;
  border-color: #059669 !important;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #94a3b8 !important;
}
.btn-outline-dark {
  color: #94a3b8 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}
.btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
}

/* ============================================================
   ACCORDION (admin pages)
   ============================================================ */
.accordion-item {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
}
.accordion-button {
  background: rgba(255, 255, 255, 0.03) !important;
  color: #e2e8f0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}
.accordion-button:not(.collapsed) {
  background: rgba(99, 102, 241, 0.1) !important;
  color: #a5b4fc !important;
  box-shadow: none !important;
}
.accordion-button::after {
  filter: invert(1) opacity(0.5);
}
.accordion-body {
  background: rgba(255, 255, 255, 0.01) !important;
  color: #cbd5e1 !important;
}

/* ============================================================
   USER PORTAL SPECIFIC
   ============================================================ */
.user-navbar {
  background: rgba(18, 20, 31, 0.8) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.un-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #e2e8f0;
}

.un-welcome {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert-success {
  background: rgba(5, 150, 105, 0.15) !important;
  border-color: rgba(5, 150, 105, 0.3) !important;
  color: #6ee7b7 !important;
}
.alert-danger {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.25) !important;
  color: #fca5a5 !important;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge.bg-success {
  background: rgba(5, 150, 105, 0.2) !important;
  color: #34d399 !important;
}
.badge.bg-danger {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #fb7185 !important;
}

/* ============================================================
   VALIDATION ERRORS
   ============================================================ */
.vjs-error {
  color: #fb7185;
  font-size: 0.82rem;
  margin-top: 0.25rem;
  display: block;
}
input.is-invalid,
textarea.is-invalid,
select.is-invalid {
  border-color: #f43f5e !important;
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-muted {
  color: #94a3b8 !important; /* Brighter slate for better readability */
}
hr {
  border-color: rgba(255, 255, 255, 0.07) !important;
}
.shadow-2-strong {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35) !important;
}
small {
  color: #94a3b8;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #e2e8f0;
}
a {
  color: #818cf8;
}
a:hover {
  color: #a5b4fc;
}

/* ============================================================
   DASHBOARD PAGE
   ============================================================ */
main { margin-top: 58px; }

.dash-greeting {
    background: linear-gradient(135deg, #1e2235 0%, #16192b 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 28px 36px;
}
.dash-greeting h2 { font-size: 1.6rem; font-weight: 700; margin: 0; color: #e2e8f0; }
.dash-greeting p  { font-size: .875rem; color: #94a3b8; margin: 4px 0 0; }
.dash-greeting .time-badge {
    background: rgba(99,102,241,.15); border: 1px solid rgba(99,102,241,.35);
    color: #a5b4fc; font-size: .78rem; padding: 5px 14px; border-radius: 20px;
}
.quick-nav {
    display: flex; gap: 10px; flex-wrap: wrap;
    padding: 18px 36px; background: #12141f;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.quick-nav a {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 18px; border-radius: 10px; font-size: .82rem; font-weight: 500;
    text-decoration: none; transition: all .2s;
    background: rgba(255,255,255,0.04); color: #cbd5e1 !important;
    border: 1px solid rgba(255,255,255,0.07);
}
.quick-nav a:hover { background: rgba(99,102,241,.2); color: #a5b4fc !important; border-color: rgba(99,102,241,.4); transform: translateY(-1px); }
.quick-nav a i { font-size: .9rem; }
.dash-body { padding: 28px 36px; }

/* stat cards */
.stat-card {
    border-radius: 18px; padding: 24px 20px;
    position: relative; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.09) !important;
    transition: transform .25s, box-shadow .25s; cursor: default;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.stat-card .stat-icon {
    width: 50px; height: 50px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 16px;
}
.stat-card .stat-value { font-size: 2.4rem; font-weight: 700; line-height: 1; color: #fff !important; }
.stat-card .stat-label { font-size: .8rem; font-weight: 500; margin-top: 6px; opacity: .8; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.75) !important; }
.stat-card .stat-badge { position: absolute; top: 18px; right: 18px; font-size: .7rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.stat-card::before { content: ''; position: absolute; top: -30px; right: -30px; width: 100px; height: 100px; border-radius: 50%; opacity: .12; }

.sc-indigo  { background: linear-gradient(140deg, rgba(49, 46, 129, 0.4), rgba(30, 27, 75, 0.4)) !important; }
.sc-indigo  .stat-icon  { background: rgba(129,140,248,.2); color: #818cf8; }
.sc-indigo  .stat-badge { background: rgba(129,140,248,.2); color: #a5b4fc; }
.sc-indigo::before  { background: #818cf8; }
.sc-violet  { background: linear-gradient(140deg, rgba(76, 29, 149, 0.4), rgba(46, 16, 101, 0.4)) !important; }
.sc-violet  .stat-icon  { background: rgba(167,139,250,.2); color: #a78bfa; }
.sc-violet  .stat-badge { background: rgba(167,139,250,.2); color: #c4b5fd; }
.sc-violet::before  { background: #a78bfa; }
.sc-emerald { background: linear-gradient(140deg, rgba(6, 95, 70, 0.4), rgba(2, 44, 34, 0.4)) !important; }
.sc-emerald .stat-icon  { background: rgba(52,211,153,.2); color: #34d399; }
.sc-emerald .stat-badge { background: rgba(52,211,153,.2); color: #6ee7b7; }
.sc-emerald::before { background: #34d399; }
.sc-rose    { background: linear-gradient(140deg, rgba(136, 19, 55, 0.4), rgba(76, 5, 25, 0.4)) !important; }
.sc-rose    .stat-icon  { background: rgba(251,113,133,.2); color: #fb7185; }
.sc-rose    .stat-badge { background: rgba(251,113,133,.2); color: #fca5a5; }
.sc-rose::before    { background: #fb7185; }

/* glass panels */
.glass-panel { background: rgba(255,255,255,0.045) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(99, 102, 241, 0.2) !important; border-radius: 18px !important; overflow: hidden; box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25), 0 0 12px 1px rgba(99, 102, 241, 0.12) !important; }
.glass-panel .panel-header { padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-between; }
.glass-panel .panel-header h6 { font-size: .9rem; font-weight: 600; margin: 0; color: #e2e8f0; display: flex; align-items: center; gap: 10px; }
.glass-panel .panel-header h6 i { color: #818cf8; }
.panel-badge { background: rgba(99,102,241,.2); color: #a5b4fc; font-size: .72rem; padding: 3px 10px; border-radius: 20px; }

/* user rows */
.user-row { display: flex; align-items: center; gap: 14px; padding: 13px 22px; border-bottom: 1px solid rgba(255,255,255,0.04); transition: background .18s; }
.user-row:last-child { border-bottom: none; }
.user-row:hover { background: rgba(255,255,255,0.04); }
.user-avatar { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #6366f1, #8b5cf6); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; color: #fff; flex-shrink: 0; }
.user-name  { font-size: .88rem; font-weight: 600; color: #e2e8f0; }
.user-email { font-size: .75rem; color: #64748b; }
.user-date  { font-size: .72rem; color: #475569; margin-left: auto; }
.user-link  { color: #6366f1 !important; font-size: .8rem; margin-left: 10px; transition: color .2s; }
.user-link:hover { color: #a5b4fc !important; }

/* activity feed */
.act-row { display: flex; align-items: flex-start; gap: 14px; padding: 13px 22px; border-bottom: 1px solid rgba(255,255,255,0.04); transition: background .18s; }
.act-row:last-child { border-bottom: none; }
.act-row:hover { background: rgba(255,255,255,0.04); }
.act-dot { width: 8px; height: 8px; border-radius: 50%; background: #6366f1; margin-top: 6px; flex-shrink: 0; }
.act-dot.is-new { background: #34d399; box-shadow: 0 0 8px #34d399; }
.act-text { font-size: .82rem; color: #cbd5e1; line-height: 1.4; }
.act-new-badge { background: rgba(52,211,153,.15); color: #34d399; font-size: .68rem; padding: 2px 8px; border-radius: 10px; font-weight: 600; }
.act-link { color: #6366f1 !important; font-size: .78rem; margin-left: auto; flex-shrink: 0; transition: color .2s; }
.act-link:hover { color: #a5b4fc !important; }


.section-label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #475569; margin-bottom: 14px; }

/* ── Validation & Errors ── */
.error-msg {
    color: #fca5a5;
    font-size: 0.75rem;
    margin-top: 4px;
    display: block;
    font-weight: 500;
}

.is-invalid:focus {
    box-shadow: 0 0 0 0.25rem rgba(248, 113, 113, 0.25) !important;
}

/* ── Edit User UI Utilities ── */
.danger-panel {
    background: rgba(239, 68, 68, 0.04) !important;
    border: 1px solid rgba(239, 68, 68, 0.15) !important;
    border-radius: 18px !important;
}
.shadow-soft {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2) !important;
}
.bordered-section {
    border-left: 2px solid rgba(99, 102, 241, 0.1);
    padding-left: 1.5rem;
}
.hover-opacity-100:hover {
    opacity: 1 !important;
}
.btn-primary.shadow-soft:hover {
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.3) !important;
    transform: translateY(-1px);
}

/* ============================================================
   SWEETALERT2 GLASSMORPHISM OVERRIDES
   ============================================================ */
.swal2-container {
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

.swal2-popup {
  background: rgba(30, 41, 59, 0.55) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45) !important;
  color: #e2e8f0 !important;
}

.swal2-title {
  color: #f1f5f9 !important;
  font-weight: 700 !important;
}

.swal2-html-container {
  color: #cbd5e1 !important;
}

.swal2-actions {
  gap: 12px;
}

.swal2-styled {
  border-radius: 12px !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}

.swal2-styled.swal2-confirm {
  background-color: #6366f1 !important;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2) !important;
}

.swal2-styled.swal2-confirm:hover {
  background-color: #4f46e5 !important;
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.35) !important;
}

.swal2-styled.swal2-cancel {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
}

.swal2-styled.swal2-cancel:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
}

/* Close Button Blue Glow Overrides */
.btn-close {
  filter: invert(1) hue-rotate(180deg) !important;
  opacity: 0.8 !important;
  transition: all 0.2s ease-in-out !important;
  outline: none !important;
}
.btn-close:hover {
  opacity: 1 !important;
  filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 6px rgba(99, 102, 241, 0.95)) !important;
  box-shadow: none !important;
}

.swal2-close {
  color: #94a3b8 !important;
  transition: all 0.2s ease-in-out !important;
}
.swal2-close:hover {
  color: #6366f1 !important;
  text-shadow: 0 0 8px rgba(99, 102, 241, 0.8) !important;
}


/* ============================================================
   CUSTOM GLASS SELECT DROPDOWN OVERRIDES
   ============================================================ */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  user-select: none;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  color: #e2e8f0 !important;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.05), 0 2px 4px 0 rgba(0, 0, 0, 0.15) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.custom-select-trigger:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(99, 102, 241, 0.4) !important;
}

.custom-select-wrapper.open .custom-select-trigger {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(99, 102, 241, 0.7) !important;
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.1), 0 0 14px 0 rgba(99, 102, 241, 0.25) !important;
}

.custom-select-arrow {
  font-size: 0.85rem;
  color: #94a3b8;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-select-wrapper.open .custom-select-arrow {
  transform: rotate(180deg);
  color: #a5b4fc;
}

.custom-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1050;
  margin-top: 6px;
  background: rgba(11, 14, 25, 0.85) !important;
  backdrop-filter: blur(25px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px;
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.6), inset 0 1px 0 0 rgba(255, 255, 255, 0.12) !important;
  max-height: 260px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  padding: 6px;
}

.custom-select-wrapper.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  padding: 10px 14px;
  color: #cbd5e1;
  cursor: pointer;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.15s ease;
  margin-bottom: 2px;
}

.custom-select-option:last-child {
  margin-bottom: 0;
}

.custom-select-option:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
}

.custom-select-option.selected {
  background: rgba(99, 102, 241, 0.2) !important;
  color: #a5b4fc !important;
  border-left: 3px solid #6366f1;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  font-weight: 600;
}

.custom-select-option.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Custom Scrollbar for Dropdown Options */
.custom-select-options::-webkit-scrollbar {
  width: 6px;
}
.custom-select-options::-webkit-scrollbar-track {
  background: transparent;
}
.custom-select-options::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
.custom-select-options::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}


