html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="dark"] body, html[data-theme="dark"] .bg-white, html[data-theme="dark"] .module:not(.parallax) { background-color: #121722 !important; color: #b6c0d1; }
html[data-theme="dark"] .module.bg-white-dark, html[data-theme="dark"] .bg-white-dark { background-color: #171d2b !important; }
html[data-theme="dark"] .header, html[data-theme="dark"] .header.header-fixed { background: #171d2b !important; border-color: #263046 !important; box-shadow: 0 2px 14px rgba(0,0,0,.4); }
html[data-theme="dark"] .inner-nav > li > a, html[data-theme="dark"] .extras-search a, html[data-theme="dark"] .kp-theme-toggle a { color: #cbd5e1 !important; }
html[data-theme="dark"] .inner-nav > li > a:hover, html[data-theme="dark"] .inner-nav > li.active > a { color: #6aa7ff !important; }
html[data-theme="dark"] .inner-nav > li > a.kp-nav-cta { color: #fff !important; }
html[data-theme="dark"] .nav-icon-toggle .icon-bar { background: #cbd5e1; }
html[data-theme="dark"] .main-nav.collapse.in, html[data-theme="dark"] .main-nav.collapsing { background: #171d2b; }
html[data-theme="dark"] .brand-dark { filter: brightness(0) invert(1); }
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4,
html[data-theme="dark"] h5, html[data-theme="dark"] h6, html[data-theme="dark"] label, html[data-theme="dark"] strong { color: #e5e9f2; }
html[data-theme="dark"] .color-white h1, html[data-theme="dark"] .color-white h2, html[data-theme="dark"] .color-white h3,
html[data-theme="dark"] .color-white h4, html[data-theme="dark"] .color-white strong, html[data-theme="dark"] .kp-footer h1,
html[data-theme="dark"] .kp-footer h2, html[data-theme="dark"] .kp-footer h3, html[data-theme="dark"] .kp-footer h4, html[data-theme="dark"] .kp-footer h5 { color: #fff; }
html[data-theme="dark"] p, html[data-theme="dark"] li, html[data-theme="dark"] .module-subtitle { color: #b6c0d1; }
html[data-theme="dark"] .color-white p, html[data-theme="dark"] .color-white li { color: rgba(255,255,255,.9); }
html[data-theme="dark"] .text-muted, html[data-theme="dark"] small, html[data-theme="dark"] .help-block { color: #94a3b8; }
html[data-theme="dark"] a { color: #6aa7ff; }
html[data-theme="dark"] .btn, html[data-theme="dark"] .kp-card-cat, html[data-theme="dark"] .kp-nav-cta { color: inherit; }
html[data-theme="dark"] hr { border-color: #2a3550; }

html[data-theme="dark"] .kp-card, html[data-theme="dark"] .kp-side-card, html[data-theme="dark"] .kp-ticket-card,
html[data-theme="dark"] .kp-feature-box, html[data-theme="dark"] .kp-att-main, html[data-theme="dark"] .kp-registered-card,
html[data-theme="dark"] .kp-account-card, html[data-theme="dark"] .kp-profile-card, html[data-theme="dark"] .kp-ticket,
html[data-theme="dark"] .kp-ticket-mini, html[data-theme="dark"] .kp-share, html[data-theme="dark"] .kp-compare,
html[data-theme="dark"] .kp-panel-pick, html[data-theme="dark"] .kp-schedule, html[data-theme="dark"] .kp-att-block { background: #1b2233 !important; border-color: #2a3550 !important; box-shadow: 0 4px 20px rgba(0,0,0,.3); }
html[data-theme="dark"] .kp-card-title a, html[data-theme="dark"] .kp-more-list li a, html[data-theme="dark"] .kp-profile-info b { color: #e5e9f2; }
html[data-theme="dark"] .kp-card-meta, html[data-theme="dark"] .kp-feature-box p { color: #94a3b8; }
html[data-theme="dark"] .kp-card-photo { background: #232c42; }
html[data-theme="dark"] .kp-card-date { background: #1b2233; }
html[data-theme="dark"] .kp-card-date strong { color: #e5e9f2; }
html[data-theme="dark"] .kp-more-list li a { border-color: #2a3550; }
html[data-theme="dark"] .kp-empty { color: #94a3b8; }

html[data-theme="dark"] .kp-subheader { background: #171d2b; border-color: #263046; }
html[data-theme="dark"] .form-control, html[data-theme="dark"] select.form-control, html[data-theme="dark"] textarea.form-control,
html[data-theme="dark"] .kp-hero-search .form-control, html[data-theme="dark"] .kp-search-strip .form-control, html[data-theme="dark"] .input-group-addon { background-color: #121722; color: #e5e9f2; border-color: #2f3b57; }
html[data-theme="dark"] .form-control::placeholder { color: #6b7a96; }
html[data-theme="dark"] select.form-control option { background: #121722; color: #e5e9f2; }
html[data-theme="dark"] .kp-hero-search { background: rgba(23,29,43,.96); color: #cbd5e1; }

html[data-theme="dark"] .table, html[data-theme="dark"] .table > tbody > tr > td, html[data-theme="dark"] .table > thead > tr > th { border-color: #2a3550; color: #b6c0d1; }
html[data-theme="dark"] .pagination > li > a, html[data-theme="dark"] .kp-pagination a { background: #1b2233; border-color: #2a3550; color: #cbd5e1; }
html[data-theme="dark"] .modal-content, html[data-theme="dark"] .swal2-popup { background: #1b2233; color: #cbd5e1; }

html[data-theme="dark"] .kp-bottom-nav { --kpn-accent: #fff; --kpn-muted: #f0f4ff; --kpn-bg: #3959e5; --kpn-line: #e5e8ec; }
html[data-theme="dark"] .kp-bottom-nav a { color: var(--kpn-muted); }
html[data-theme="dark"] .kp-bottom-nav a.active { color: var(--kpn-accent); font-weight: 800; }
html[data-theme="dark"] .kp-footer { background: #0d111a; }

.kp-theme-toggle { list-style: none; }
.kp-theme-toggle a, .kp-theme-row { cursor: pointer; }
html[data-theme="dark"] .page-loader { background: #121722; }
html[data-theme="dark"] .menu-extras { box-shadow: none; }
html[data-theme="dark"] .module-sm:not(.parallax):not(.bg-brand-alfa-60):not(.bg-black-alfa-60) { background-color: #121722 !important; }
html[data-theme="dark"] .kp-app-subheader { background: #985f11; color: #ffc92b; }
html[data-theme="dark"] .kp-more-heading { color: #94a3b8; }
html[data-theme="dark"] .kp-more-list li a { color: #e5e9f2 !important; }
html[data-theme="dark"] .kp-app-subheader .btn { color: #4a2d00; }
html[data-theme="dark"] .btn-white, html[data-theme="dark"] .btn-white:focus { background: #1253bd; border-color: #fff; color: #fff !important; }
html[data-theme="dark"] .btn-white:hover { background: #fff; border-color: #fff; color: #1253bd !important; }

/* ...and plain black in dark mode */
html[data-theme="dark"] .bg-black-alfa-5:before { background: rgba(0, 0, 0, 0.05); }
html[data-theme="dark"] .bg-black-alfa-10:before { background: rgba(0, 0, 0, 0.1); }
html[data-theme="dark"] .bg-black-alfa-15:before { background: rgba(0, 0, 0, 0.15); }
html[data-theme="dark"] .bg-black-alfa-20:before { background: rgba(0, 0, 0, 0.2); }
html[data-theme="dark"] .bg-black-alfa-25:before { background: rgba(0, 0, 0, 0.25); }
html[data-theme="dark"] .bg-black-alfa-30:before { background: rgba(0, 0, 0, 0.3); }
html[data-theme="dark"] .bg-black-alfa-35:before { background: rgba(0, 0, 0, 0.35); }
html[data-theme="dark"] .bg-black-alfa-40:before { background: rgba(0, 0, 0, 0.4); }
html[data-theme="dark"] .bg-black-alfa-45:before { background: rgba(0, 0, 0, 0.45); }
html[data-theme="dark"] .bg-black-alfa-50:before { background: rgba(0, 0, 0, 0.5); }
html[data-theme="dark"] .bg-black-alfa-55:before { background: rgba(0, 0, 0, 0.55); }
html[data-theme="dark"] .bg-black-alfa-60:before { background: rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .bg-black-alfa-65:before { background: rgba(0, 0, 0, 0.65); }
html[data-theme="dark"] .bg-black-alfa-70:before { background: rgba(0, 0, 0, 0.7); }
html[data-theme="dark"] .bg-black-alfa-75:before { background: rgba(0, 0, 0, 0.75); }
html[data-theme="dark"] .bg-black-alfa-80:before { background: rgba(0, 0, 0, 0.8); }
html[data-theme="dark"] .bg-black-alfa-85:before { background: rgba(0, 0, 0, 0.85); }
html[data-theme="dark"] .bg-black-alfa-90:before { background: rgba(0, 0, 0, 0.9); }
html[data-theme="dark"] .bg-black-alfa-95:before { background: rgba(0, 0, 0, 0.95); }
