/* LONG MOD 1.6.9 — blue-black control-panel theme, matched to the Android DEX palette. */
:root,
:root:not([data-theme="light"]),
[data-theme="dark"],
[data-theme="light"] {
  color-scheme: dark;
  --lm-blue: #7acbff;
  --lm-blue-deep: #4b8cff;
  --lm-purple: #ded5ea;
  --lm-purple-deep: #a78bfa;
  --lm-text: #f4f7fc;
  --lm-text-soft: #c4cbd4;
  --lm-text-muted: #8fa7bf;
  --lm-bg: #0a0710;
  --lm-bg-elevated: #101725;
  --lm-bg-muted: #141a2a;
  --lm-border: rgba(123, 190, 255, .2);
  --lm-border-soft: rgba(174, 195, 215, .11);
  --lm-border-strong: rgba(123, 190, 255, .35);
  --lm-gradient-button: linear-gradient(135deg, #4b8cff 0%, #7acbff 100%);
  --lm-gradient-text: linear-gradient(110deg, #f4f7fc 0%, #82c9ff 72%, #a78bfa 100%);
  --lm-gradient-soft: linear-gradient(135deg, rgba(75,140,255,.16), rgba(167,139,250,.08));
  --nova-violet: #a78bfa;
  --nova-cyan: #7acbff;
  --nova-pink: #ff8793;
  --module-color: #7acbff;
  --bs-primary: #4b8cff;
  --bs-body-bg: #0a0710;
  --bs-body-color: #f4f7fc;
}

html { color-scheme: dark; background: #0a0710 !important; }
body {
  color: #f4f7fc !important;
  background: radial-gradient(900px 550px at 92% -16%, rgba(75,140,255,.15), transparent 68%), radial-gradient(600px 420px at -14% 94%, rgba(167,139,250,.07), transparent 72%), #0a0710 !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-weight: 450;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
}
body:before {
  opacity: .035 !important;
  background-image: linear-gradient(rgba(130,201,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(130,201,255,.15) 1px, transparent 1px) !important;
  background-size: 64px 64px !important;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 84%);
  pointer-events: none;
}

h1,h2,h3,h4,h5,h6,.page-title,.topbar-title,.brand-name {
  color: #f4f7fc !important;
  font-weight: 780 !important;
  letter-spacing: -.025em;
}
a { color: #82c9ff; text-decoration-color: rgba(130,201,255,.35); }
a:hover { color: #b4e4ff; text-decoration-color: currentColor; }
.text-primary,.gradient-text,.nova-gradient-text,.module-title { color: #82c9ff !important; }
.text-info { color: #7bd7ff !important; }
.text-success { color: #54ff9b !important; }
.text-warning { color: #f0c674 !important; }
.text-danger { color: #ff8793 !important; }
.text-muted,.small.text-muted,.form-text { color: #8fa7bf !important; }

.app-shell { background: transparent !important; }
.app-sidebar {
  color: #f4f7fc !important;
  background: linear-gradient(180deg, #101725 0%, #0b1421 62%, #0a0710 100%) !important;
  border-color: rgba(130,201,255,.14) !important;
  box-shadow: 18px 0 52px rgba(0,0,0,.3) !important;
}
.sidebar-brand { padding: 20px 18px !important; border-bottom: 1px solid rgba(130,201,255,.14) !important; }
.sidebar-brand:after { background: linear-gradient(90deg, transparent, #4b8cff, #7acbff, transparent) !important; opacity: .42 !important; }
.brand-logo-img {
  width: 46px; height: 46px; display: block; object-fit: cover;
  border: 1px solid rgba(130,201,255,.3); border-radius: 14px;
  background: #0b1421; box-shadow: 0 8px 24px rgba(0,0,0,.36), 0 0 18px rgba(75,140,255,.12);
}
.brand-name { color: #f4f7fc !important; }
.nova-brand-caption { color: #8fa7bf !important; letter-spacing: .12em; }
.nova-sidebar-status {
  background: linear-gradient(115deg,rgba(75,140,255,.1),rgba(167,139,250,.045)) !important;
  border-color: rgba(130,201,255,.15) !important;
}
.nova-sidebar-status b { color: #eaf4ff !important; }
.nova-sidebar-status small { color: #8fa7bf !important; }
.nova-sidebar-status .nova-live { background: #54ff9b !important; box-shadow: 0 0 0 3px rgba(84,255,155,.11), 0 0 14px rgba(84,255,155,.32) !important; }
.sidebar-search .form-control { background: #0b1421 !important; }
.sidebar-section-label { color: #68738a !important; font-weight: 800 !important; letter-spacing: .14em !important; }
.sidebar-link {
  color: #aeb8c7 !important; border: 1px solid transparent !important;
  border-radius: 12px !important; transition: background .18s ease,border-color .18s ease,color .18s ease;
}
.sidebar-link:hover,.sidebar-link.active {
  color: #f4f7fc !important; background: linear-gradient(100deg,rgba(75,140,255,.16),rgba(75,140,255,.045)) !important;
  border-color: rgba(123,190,255,.17) !important; box-shadow: inset 2px 0 #4b8cff, 0 5px 18px rgba(0,0,0,.12) !important; transform: none !important;
}
.sidebar-link:hover i,.sidebar-link.active i { color: #82c9ff !important; }
.sidebar-link .badge { color: #f4f7fc !important; background: #2d76dc !important; }
.sidebar-footer { border-color: rgba(130,201,255,.13) !important; }
.app-topbar {
  color: #f4f7fc !important; background: rgba(10,14,25,.9) !important;
  border-color: rgba(130,201,255,.14) !important; backdrop-filter: blur(18px);
}
.topbar-title small { color: #8fa7bf !important; }
.topbar-toggle,.topbar-user,.topbar-icon-btn {
  color: #c4cbd4 !important; background: #101a2e !important; border-color: rgba(130,201,255,.15) !important;
}
.topbar-icon-btn:hover,.topbar-toggle:hover { color: #fff !important; background: #172641 !important; }
.avatar { color: #fff !important; background: linear-gradient(135deg,#2d76dc,#4b8cff) !important; box-shadow: 0 0 20px rgba(75,140,255,.22) !important; }
.app-content { color: #f4f7fc !important; background: transparent !important; }
.app-footer { color: #8fa7bf !important; background: transparent !important; border-color: rgba(130,201,255,.12) !important; }

.card,.card-custom,.feature-card,.hero-stat,.lm-shell,.lm-card,.nova-panel,.nova-feature,.nova-panel-card,.nova-profile-card,.nova-history-card {
  color: #f4f7fc !important;
  background: linear-gradient(155deg,rgba(16,26,46,.96),rgba(11,20,33,.97)) !important;
  border: 1px solid rgba(123,190,255,.16) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 52px rgba(0,0,0,.27), inset 0 1px rgba(255,255,255,.018) !important;
}
.card:hover,.lm-card:hover,.nova-panel:hover { border-color: rgba(123,190,255,.27) !important; }
.card-header,.card-footer { color: #eaf4ff !important; background: rgba(75,140,255,.045) !important; border-color: rgba(130,201,255,.12) !important; }
.card-body,.card-title { color: #d6e1ec !important; }
.hero { color: #f4f7fc !important; background: radial-gradient(500px 220px at 95% 0,rgba(75,140,255,.2),transparent 72%),linear-gradient(145deg,#101a2e,#0b1421) !important; border: 1px solid rgba(123,190,255,.2) !important; border-radius: 22px !important; }
.hero:after { color: rgba(130,201,255,.16) !important; }
.hero h1,.hero h2,.page-head h4,.nova-section-title h2 { color: #f4f7fc !important; }
.hero .lead,.feature-card p { color: #aeb8c7 !important; }

.btn,.lm-button,.lm-button-outline { min-height: 40px; border-radius: 11px !important; font-weight: 700 !important; transition: transform .16s ease,box-shadow .16s ease,background-color .16s ease; }
.btn-primary,.btn-default,.auth-submit,.lm-button {
  color: #fff !important; background: linear-gradient(120deg,#2d76dc,#4b8cff 58%,#72bfff) !important;
  border: 1px solid rgba(130,201,255,.44) !important; box-shadow: 0 8px 22px rgba(45,118,220,.22) !important;
}
.btn-primary:hover,.btn-default:hover,.auth-submit:hover,.lm-button:hover { color: #fff !important; filter: brightness(1.09); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(45,118,220,.3) !important; }
.btn-secondary,.btn-light,.btn-outline-primary,.lm-button-outline { color: #dce8f2 !important; background: #141a2a !important; border: 1px solid rgba(130,201,255,.2) !important; }
.btn-outline-primary:hover,.btn-secondary:hover,.lm-button-outline:hover { color: #fff !important; background: #1b2b48 !important; border-color: rgba(130,201,255,.38) !important; }
.btn-success { color: #07130e !important; background: #54ff9b !important; border-color: #54ff9b !important; }
.btn-warning { color: #211a09 !important; background: #f0c674 !important; border-color: #f0c674 !important; }
.btn-danger { color: #fff !important; background: #8c414a !important; border-color: #b75a67 !important; }
.btn-info { color: #071622 !important; background: #7bd7ff !important; border-color: #7bd7ff !important; }

.form-control,.form-select,textarea.form-control,select,input:not([type=checkbox]):not([type=radio]):not([type=submit]),textarea {
  color: #f4f7fc !important; background-color: #0b1421 !important;
  border: 1px solid rgba(143,167,191,.24) !important; border-radius: 10px !important;
}
.form-control::placeholder,input::placeholder,textarea::placeholder { color: #68738a !important; }
.form-control:focus,.form-select:focus,textarea.form-control:focus,textarea:focus {
  color: #fff !important; background-color: #0c1b2b !important; border-color: #4b8cff !important;
  box-shadow: 0 0 0 3px rgba(75,140,255,.16), 0 0 18px rgba(75,140,255,.08) !important;
}
.form-label,label { color: #d6e1ec !important; font-weight: 650 !important; }
.form-check-input { background-color: #101a2e !important; border-color: #526078 !important; }
.form-check-input:checked { background-color: #2d76dc !important; border-color: #4b8cff !important; }
.form-switch .form-check-input:focus { box-shadow: 0 0 0 3px rgba(75,140,255,.16) !important; }

.table,.table thead th,.table tbody td { color: #d6e1ec !important; border-color: rgba(143,167,191,.14) !important; }
.table { --bs-table-bg: transparent; --bs-table-color: #d6e1ec; --bs-table-striped-bg: rgba(130,201,255,.035); --bs-table-hover-bg: rgba(75,140,255,.09); }
.table thead th { color: #8fa7bf !important; font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; }
.table-striped>tbody>tr:nth-of-type(odd)>* { color: #dce8f2 !important; background: rgba(130,201,255,.035) !important; }
.table-hover>tbody>tr:hover>* { color: #fff !important; background: rgba(75,140,255,.09) !important; }
.dataTables_wrapper,.dataTables_info,.dataTables_length,.dataTables_filter { color: #aeb8c7 !important; }
.modal-content,.dropdown-menu,.offcanvas,.accordion-item,.list-group-item { color: #dce8f2 !important; background: #101725 !important; border-color: rgba(130,201,255,.17) !important; }
.modal-header,.modal-footer,.dropdown-divider { border-color: rgba(130,201,255,.14) !important; }
.dropdown-item,.dropdown-item-text,.dropdown-header { color: #c4cbd4 !important; }
.dropdown-item:hover { color: #fff !important; background: rgba(75,140,255,.13) !important; }
.alert,.msgStatus,.toast { color: #dce8f2 !important; background: #101a2e !important; border-color: rgba(130,201,255,.2) !important; border-radius: 13px !important; }
.alert-success { color: #b8e0c2 !important; background: rgba(42,158,90,.12) !important; border-color: rgba(84,255,155,.24) !important; }
.alert-danger { color: #ffb5bd !important; background: rgba(140,65,74,.18) !important; border-color: rgba(255,135,147,.27) !important; }
.alert-warning { color: #f0d99e !important; background: rgba(240,198,116,.1) !important; border-color: rgba(240,198,116,.25) !important; }
.page-link { color: #aeb8c7 !important; background: #101725 !important; border-color: rgba(130,201,255,.16) !important; }
.page-link:hover { color: #fff !important; background: #172641 !important; }
.page-item.active .page-link { color: #fff !important; background: #2d76dc !important; border-color: #4b8cff !important; }
hr,.lm-divider { border-color: rgba(130,201,255,.15) !important; opacity: 1; }
.badge.bg-primary { color: #fff !important; background: #2d76dc !important; }

.auth-page { color: #f4f7fc !important; background: radial-gradient(720px 440px at 8% 8%,rgba(75,140,255,.16),transparent 68%),radial-gradient(600px 400px at 96% 96%,rgba(167,139,250,.1),transparent 70%),#0a0710 !important; }
.auth-frame { color: #f4f7fc !important; background: #101725 !important; border: 1px solid rgba(123,190,255,.24) !important; border-radius: 24px !important; box-shadow: 0 32px 100px rgba(0,0,0,.52),0 0 54px rgba(75,140,255,.1) !important; }
.auth-pane { color: #f4f7fc !important; background: linear-gradient(155deg,#101a2e,#0b1421) !important; }
.auth-visual { background: radial-gradient(500px 320px at 100% 0,rgba(75,140,255,.2),transparent 70%),linear-gradient(145deg,#101a2e,#0b1421) !important; }
.auth-brandmark.auth-brand-image { display: block; width: 56px; height: 56px; object-fit: cover; border: 1px solid rgba(130,201,255,.3); border-radius: 15px; background: #0b1421 !important; }
.auth-copy h1,.auth-card-head h2 { color: #f4f7fc !important; background: none !important; -webkit-text-fill-color: #f4f7fc !important; font-weight: 850 !important; }
.auth-copy p,.auth-card-head p { color: #aeb8c7 !important; }
.auth-input-group,.auth-field-wrap { background: #0b1421 !important; border-color: rgba(143,167,191,.24) !important; }
.auth-input-group:focus-within,.auth-field-wrap:focus-within { border-color: #4b8cff !important; box-shadow: 0 0 0 3px rgba(75,140,255,.16) !important; }
.auth-input-icon,.auth-field-wrap .auth-field-icon { color: #82c9ff !important; }
.auth-label { color: #d6e1ec !important; }
.auth-foot { border-color: rgba(130,201,255,.16) !important; color: #aeb8c7 !important; }
.auth-foot a { color: #82c9ff !important; }

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline: 2px solid #7acbff !important; outline-offset: 2px !important; }
@media (max-width: 991.98px) {
  .app-sidebar { background: linear-gradient(180deg,#101725,#0b1421) !important; }
  .app-sidebar.is-open { box-shadow: 22px 0 60px rgba(0,0,0,.48) !important; }
}
@media (max-width: 767.98px) {
  .app-content { padding-inline: 14px !important; }
  .app-footer { gap: 10px; flex-wrap: wrap; }
  .card,.lm-card { border-radius: 15px !important; }
  .table-responsive { border: 1px solid rgba(130,201,255,.13); border-radius: 12px; }
  .auth-page { padding: 18px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
