html.lf-theme-dark { color-scheme: dark; }
html.lf-theme-dark body { background-color: #0b1220 !important; color: #e2e8f0; }
html.lf-theme-dark header.sticky,
html.lf-theme-dark .glass-nav { background-color: rgba(15, 23, 42, .96) !important; border-color: #263449 !important; }
html.lf-theme-dark .bg-white,
html.lf-theme-dark .bg-white\/95 { background-color: #111c2e !important; }
html.lf-theme-dark .bg-slate-50 { background-color: #111c2e !important; }
html.lf-theme-dark .bg-slate-100 { background-color: #1e293b !important; }
html.lf-theme-dark .bg-slate-200,
html.lf-theme-dark .bg-slate-300,
html.lf-theme-dark .bg-slate-400,
html.lf-theme-dark .bg-slate-100\/80,
html.lf-theme-dark .bg-slate-100\/90,
html.lf-theme-dark .bg-gray-100,
html.lf-theme-dark .bg-gray-50,
html.lf-theme-dark .bg-gray-200,
html.lf-theme-dark .bg-gray-300 { background-color: #243247 !important; }
html.lf-theme-dark .bg-sky-50,
html.lf-theme-dark .bg-sky-50\/50,
html.lf-theme-dark .bg-sky-50\/40,
html.lf-theme-dark .bg-sky-50\/60,
html.lf-theme-dark .bg-sky-50\/70,
html.lf-theme-dark .bg-sky-50\/80,
html.lf-theme-dark .bg-blue-50,
html.lf-theme-dark .bg-blue-50\/60,
html.lf-theme-dark .bg-blue-50\/70,
html.lf-theme-dark .bg-blue-50\/80,
html.lf-theme-dark .bg-sky-100\/60,
html.lf-theme-dark .bg-sky-200\/40 { background-color: #102b43 !important; }
html.lf-theme-dark .bg-sky-100,
html.lf-theme-dark .bg-blue-100,
html.lf-theme-dark .bg-cyan-50,
html.lf-theme-dark .bg-cyan-100 { background-color: #123650 !important; }
html.lf-theme-dark .bg-emerald-50,
html.lf-theme-dark .bg-emerald-50\/50,
html.lf-theme-dark .bg-emerald-50\/60,
html.lf-theme-dark .bg-emerald-50\/70,
html.lf-theme-dark .bg-emerald-50\/80,
html.lf-theme-dark .bg-emerald-100\/60,
html.lf-theme-dark .bg-green-50 { background-color: #10352f !important; }
html.lf-theme-dark .bg-emerald-100,
html.lf-theme-dark .bg-green-100 { background-color: #16443a !important; }
html.lf-theme-dark .bg-amber-50,
html.lf-theme-dark .bg-amber-50\/50,
html.lf-theme-dark .bg-amber-50\/60,
html.lf-theme-dark .bg-amber-50\/70,
html.lf-theme-dark .bg-amber-50\/95,
html.lf-theme-dark .bg-yellow-50 { background-color: #392b17 !important; }
html.lf-theme-dark .bg-amber-100,
html.lf-theme-dark .bg-amber-100\/60,
html.lf-theme-dark .bg-yellow-100 { background-color: #493516 !important; }
html.lf-theme-dark .bg-purple-50,
html.lf-theme-dark .bg-purple-100,
html.lf-theme-dark .bg-purple-200,
html.lf-theme-dark .bg-violet-50,
html.lf-theme-dark .bg-indigo-50\/60,
html.lf-theme-dark .bg-indigo-50\/70,
html.lf-theme-dark .bg-indigo-50 { background-color: #252746 !important; }
html.lf-theme-dark .bg-indigo-100 { background-color: #30335b !important; }
html.lf-theme-dark .bg-rose-50,
html.lf-theme-dark .bg-rose-100,
html.lf-theme-dark .bg-red-50,
html.lf-theme-dark .bg-red-100 { background-color: #3b202b !important; }
html.lf-theme-dark .bg-orange-50,
html.lf-theme-dark .bg-orange-50\/70,
html.lf-theme-dark .bg-orange-100 { background-color: #3b291b !important; }
html.lf-theme-dark .bg-lime-100 { background-color: #293719 !important; }
html.lf-theme-dark .bg-cyan-200\/30,
html.lf-theme-dark .bg-emerald-400\/20 { background-color: rgba(8, 145, 178, .12) !important; }
html.lf-theme-dark .text-slate-900,
html.lf-theme-dark .text-slate-800,
html.lf-theme-dark .text-slate-700 { color: #e5edf8 !important; }
html.lf-theme-dark .text-slate-600,
html.lf-theme-dark .text-slate-500 { color: #bac8da !important; }
html.lf-theme-dark .text-slate-400 { color: #91a1b8 !important; }
html.lf-theme-dark .text-sky-700,
html.lf-theme-dark .text-blue-700,
html.lf-theme-dark .text-emerald-700,
html.lf-theme-dark .text-green-700,
html.lf-theme-dark .text-amber-700,
html.lf-theme-dark .text-purple-700,
html.lf-theme-dark .text-rose-700,
html.lf-theme-dark .text-red-700 { color: #c6d7eb !important; }
html.lf-theme-dark .text-sky-600,
html.lf-theme-dark .text-sky-700,
html.lf-theme-dark .text-sky-900 { color: #7dd3fc !important; }
html.lf-theme-dark .text-blue-600,
html.lf-theme-dark .text-blue-700 { color: #93c5fd !important; }
html.lf-theme-dark .text-cyan-600,
html.lf-theme-dark .text-cyan-700 { color: #67e8f9 !important; }
html.lf-theme-dark .text-emerald-600,
html.lf-theme-dark .text-emerald-700,
html.lf-theme-dark .text-emerald-900,
html.lf-theme-dark .text-green-600,
html.lf-theme-dark .text-green-700 { color: #6ee7b7 !important; }
html.lf-theme-dark .text-amber-600,
html.lf-theme-dark .text-amber-700,
html.lf-theme-dark .text-amber-800,
html.lf-theme-dark .text-amber-900,
html.lf-theme-dark .text-amber-950,
html.lf-theme-dark .text-yellow-600,
html.lf-theme-dark .text-yellow-700 { color: #fcd34d !important; }
html.lf-theme-dark .text-orange-600,
html.lf-theme-dark .text-orange-700,
html.lf-theme-dark .text-orange-950 { color: #fdba74 !important; }
html.lf-theme-dark .text-purple-600,
html.lf-theme-dark .text-purple-700,
html.lf-theme-dark .text-purple-800,
html.lf-theme-dark .text-purple-900,
html.lf-theme-dark .text-violet-600,
html.lf-theme-dark .text-violet-700 { color: #c4b5fd !important; }
html.lf-theme-dark .text-indigo-600,
html.lf-theme-dark .text-indigo-700 { color: #a5b4fc !important; }
html.lf-theme-dark .text-rose-600,
html.lf-theme-dark .text-rose-700,
html.lf-theme-dark .text-red-600,
html.lf-theme-dark .text-red-700 { color: #fda4af !important; }
html.lf-theme-dark .text-lime-600,
html.lf-theme-dark .text-lime-700 { color: #bef264 !important; }
html.lf-theme-dark .border-slate-100,
html.lf-theme-dark .border-slate-200,
html.lf-theme-dark .border-sky-100,
html.lf-theme-dark .border-sky-200,
html.lf-theme-dark .border-blue-100,
html.lf-theme-dark .border-blue-200,
html.lf-theme-dark .border-cyan-100,
html.lf-theme-dark .border-emerald-100,
html.lf-theme-dark .border-green-100 { border-color: #2a4b63 !important; }
html.lf-theme-dark .border-amber-100,
html.lf-theme-dark .border-amber-200,
html.lf-theme-dark .border-orange-100 { border-color: #514126 !important; }
html.lf-theme-dark .border-purple-100,
html.lf-theme-dark .border-indigo-100 { border-color: #3c3c61 !important; }
html.lf-theme-dark .border-rose-100,
html.lf-theme-dark .border-red-100 { border-color: #50303b !important; }
html.lf-theme-dark .border-lime-100 { border-color: #3d4b27 !important; }
html.lf-theme-dark input:not([type="checkbox"]):not([type="radio"]),
html.lf-theme-dark select,
html.lf-theme-dark textarea { background-color: #0b1423; color: #e5edf8; border-color: #33445b; }
html.lf-theme-dark input::placeholder,
html.lf-theme-dark textarea::placeholder { color: #8192aa; }
html.lf-theme-dark .order-skeleton-block { background: #1e293b !important; }
html.lf-theme-dark .order-skeleton-block::after { background: linear-gradient(90deg, transparent, rgba(148, 163, 184, .16), transparent) !important; }
html.lf-theme-dark .storefront-search-panel { background: #111c2e; border-color: #2a3a50; color: #e5edf8; }
html.lf-theme-dark .storefront-search-heading,
html.lf-theme-dark .storefront-search-result-name { color: #e5edf8; }
html.lf-theme-dark .storefront-search-result-subtitle,
html.lf-theme-dark .storefront-search-empty { color: #a8b6ca; }
html.lf-theme-dark .storefront-search-result img { background: #1e293b; border-color: #33445b; }
html.lf-theme-dark .storefront-search-result-badge { background: #102b43; border-color: #2a4b63; color: #7dd3fc; }
html.lf-theme-dark .storefront-search-footer { border-color: #2a3a50; }
html.lf-theme-dark .swal2-popup { background: #111c2e !important; color: #e5edf8 !important; }
html.lf-theme-dark .swal2-title,
html.lf-theme-dark .swal2-html-container { color: #e5edf8 !important; }
html.lf-theme-dark .swal2-input,
html.lf-theme-dark .swal2-textarea,
html.lf-theme-dark .swal2-select { background: #0b1423 !important; color: #e5edf8 !important; border-color: #33445b !important; }
html.lf-theme-dark ::-webkit-scrollbar-track { background: #111c2e; }
html.lf-theme-dark ::-webkit-scrollbar-thumb { background: #33445b; }
html.lf-theme-dark ::-webkit-scrollbar-thumb:hover { background: #0ea5e9; }
html.lf-theme-dark .pack-card.selected,
html.lf-theme-dark .carrier-card[class*="active-"] {
  color: #e5edf8 !important;
  background: linear-gradient(145deg, #102b43, #142137) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, .18), 0 8px 22px rgba(2, 132, 199, .16) !important;
}
html.lf-theme-dark .telco-confirm-card { background: #111c2e; border-color: #2a3a50; }
html.lf-theme-dark .telco-confirm-title,
html.lf-theme-dark .telco-confirm-row strong { color: #e5edf8; }
html.lf-theme-dark .telco-confirm-subtitle,
html.lf-theme-dark .telco-confirm-row { color: #bac8da; }
html.lf-theme-dark .telco-confirm-details { background: #0b1423; border-color: #2a3a50; }
html.lf-theme-dark .telco-confirm-total { background: #10352f; color: #6ee7b7; }
html.lf-theme-dark .telco-confirm-cancel { background: #243247; color: #d6e1ef; }
html.lf-theme-dark .lf-mobile-nav { background: rgba(15, 23, 42, .97); border-color: #263449; }
html.lf-theme-dark .lf-mobile-nav a { color: #a8b6ca; }
html.lf-theme-dark .lf-mobile-nav a[aria-current="page"] { color: #7dd3fc; background: #10263a; }
.lf-theme-toggle-header {
  display: inline-flex; width: 36px; height: 36px; flex: 0 0 36px; align-items: center; justify-content: center;
  border: 1px solid #dbeafe; border-radius: 12px; background: #fff; color: #334155; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.lf-theme-toggle-header:hover { background: #eff6ff; color: #0284c7; border-color: #7dd3fc; }
.lf-theme-toggle-nav { display: none; }
html.lf-theme-dark .lf-theme-toggle-header { background: #111c2e; color: #e2e8f0; border-color: #33445b; }
@media (max-width: 767px) {
  .lf-theme-toggle-header { display: none !important; }
  .admin-page .lf-theme-toggle-header { display: inline-flex !important; }
  .lf-theme-toggle-nav {
    display: flex; min-width: 0; min-height: 48px; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; border: 0; border-radius: 12px; background: transparent; color: #73849a;
    font: 600 9px/1.2 system-ui, sans-serif; -webkit-tap-highlight-color: transparent;
  }
  .lf-theme-toggle-nav i { font-size: 16px; }
}
