body.theme-2026 {
    --nf-bg: #0E0F11;
    --nf-bg-secondary: #161718;
    --nf-surface: rgba(20, 21, 24, 0.78);
    --nf-surface-strong: rgba(14, 15, 17, 0.92);
    --nf-border: rgba(255, 255, 255, 0.11);
    --nf-text: #ecf2ff;
    --nf-text-muted: #9aabaa;
    --nf-primary: #6BC3B2;
    --nf-secondary: #506C64;
    --nf-hot: #F4F6F8;
    --nf-warning: #75B8C8;
    --nf-danger: #BF7070;
    --nf-primary-rgb: 107, 195, 178;
    --nf-secondary-rgb: 80, 108, 100;
    --nf-hot-rgb: 244, 246, 248;
    --nf-warning-rgb: 117, 184, 200;
    --nf-danger-rgb: 191, 112, 112;
    --nf-shadow: 0 30px 80px rgba(5, 5, 6, 0.42);
    --nf-shadow-soft: 0 20px 50px rgba(5, 5, 6, 0.28);
    --nf-sidebar-width: 320px;
    --nf-sidebar-collapsed-width: 104px;
    color: var(--nf-text);
    background:
        radial-gradient(circle at 14% 18%, rgba(var(--nf-secondary-rgb), 0.28), transparent 22%),
        radial-gradient(circle at 84% 10%, rgba(var(--nf-primary-rgb), 0.18), transparent 20%),
        radial-gradient(circle at 50% 88%, rgba(var(--nf-hot-rgb), 0.14), transparent 24%),
        linear-gradient(160deg, #0A0B0D 0%, #0E0F11 35%, #111214 100%) !important;
    background-color: #0A0B0D !important;
    --bs-body-font-family: "Satoshi", sans-serif;
    font-family: "Satoshi", sans-serif;
    min-height: 100vh;
    position: relative;
}

body.theme-2026::before,
body.theme-2026::after {
    content: "";
    position: fixed;
    width: 22rem;
    height: 22rem;
    border-radius: 999px;
    filter: blur(70px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.38;
}

body.theme-2026::before {
    top: -6rem;
    right: -4rem;
    background: rgba(var(--nf-secondary-rgb), 0.45);
}

body.theme-2026::after {
    bottom: -8rem;
    left: -6rem;
    background: rgba(var(--nf-primary-rgb), 0.28);
}

body.theme-2026 #main-wrapper,
body.theme-2026 .content-body,
body.theme-2026 .content-body .container-fluid {
    background: transparent !important;
    background-color: transparent !important;
}

/* Override Bootstrap's --bs-body-bg so any element referencing it gets our dark bg */
body.theme-2026,
body.theme-2026[data-bs-theme="dark"],
[data-bs-theme="dark"].theme-2026 {
    --bs-body-bg: #0E0F11;
    --bs-body-bg-rgb: 14, 15, 17;
    --bs-secondary-bg: #161718;
    --bs-secondary-bg-rgb: 22, 23, 24;
    --bs-tertiary-bg: #1a1b1d;
    --bs-tertiary-bg-rgb: 26, 27, 29;
}

body.theme-2026 a {
    color: var(--nf-warning);
}

body.theme-2026 a:hover {
    color: var(--nf-primary);
}

body.theme-2026 .text-primary {
    color: var(--nf-warning) !important;
}

body.theme-2026 .text-dark,
body.theme-2026 .text-black,
body.theme-2026 .card-title,
body.theme-2026 .card-subtitle,
body.theme-2026 .table,
body.theme-2026 .table th,
body.theme-2026 .table td {
    color: var(--nf-text) !important;
}

body.theme-2026 .bg-white,
body.theme-2026 .bg-light,
body.theme-2026 .card-header.bg-white,
body.theme-2026 .badge.bg-secondary.bg-opacity-20 {
    background: rgba(22, 23, 26, 0.88) !important;
    color: var(--nf-text) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.theme-2026 {
    --bs-heading-color: var(--nf-text);
}

body.theme-2026 h1,
body.theme-2026 h2,
body.theme-2026 h3,
body.theme-2026 h4,
body.theme-2026 h5,
body.theme-2026 h6,
body.theme-2026 .dashboard_bar,
body.theme-2026 .brand-wordmark {
    font-family: "Satoshi", sans-serif;
    color: var(--nf-text);
}

body.theme-2026 #preloader {
    background:
        radial-gradient(circle at top, rgba(var(--nf-secondary-rgb), 0.22), transparent 30%),
        linear-gradient(180deg, rgba(8, 9, 10, 0.98), rgba(12, 13, 14, 0.98)) !important;
    background-color: #0E0F11 !important;
}

body.theme-2026 #preloader .sk-three-bounce {
    min-width: 11rem;
    padding: 2rem 2.2rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(20, 21, 24, 0.94), rgba(15, 16, 18, 0.88)) !important;
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 60px rgba(5, 5, 6, 0.35);
}

body.theme-2026 .sk-three-bounce .sk-child {
    background-color: var(--nf-primary);
    box-shadow: 0 0 18px rgba(var(--nf-primary-rgb), 0.32);
}

body.theme-2026 #main-wrapper.show {
    position: relative;
}

body.theme-2026 .nav-header,
body.theme-2026 .deznav,
body.theme-2026 .header,
body.theme-2026 .content-body {
    transition: all 0.35s ease;
}

body.theme-2026 .nav-header,
body.theme-2026 .deznav {
    width: var(--nf-sidebar-width);
}

body.theme-2026 .nav-header {
    height: 104px;
    background: transparent;
    border-right: none;
    box-shadow: none;
    padding: 1.2rem 1.2rem 0;
    z-index: 22;
}

body.theme-2026 .nav-header .brand-logo {
    min-height: 88px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.3rem;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(20, 21, 24, 0.88), rgba(18, 19, 22, 0.68));
    border: 1px solid var(--nf-border);
    box-shadow: var(--nf-shadow-soft);
    overflow: hidden;
}

/* Brand icon hidden for now */
body.theme-2026 .brand-emblem,
body.theme-2026 .brand-emblem-compact {
    display: none !important;
}

body.theme-2026 .brand-title {
    display: flex !important;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    max-width: none !important;
    margin: 0;
}

body.theme-2026 .brand-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(154, 171, 170, 0.8);
    white-space: nowrap;
}

body.theme-2026 .brand-wordmark {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #f6f8ff;
}

body.theme-2026 .nav-control {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    z-index: 3;
    padding: 0;
}

body.theme-2026 .hamburger {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: transparent;
    border: none;
    display: grid;
    place-items: center;
    transition: background 0.2s;
}

body.theme-2026 .hamburger:hover {
    background: rgba(255, 255, 255, 0.07);
}

body.theme-2026 .hamburger .line {
    display: block;
    width: 22px;
    height: 1.5px;
    margin: 3.5px auto;
    border-radius: 999px;
    background: rgba(236, 242, 255, 0.82);
    transition: background 0.2s;
}

body.theme-2026 .deznav {
    top: 104px;
    padding: 0 1.2rem 1.2rem;
    background: transparent;
    box-shadow: none;
}

body.theme-2026 .deznav-scroll {
    height: calc(100vh - 136px);
    margin-top: 0.9rem;
    padding: 1.35rem 0.45rem 1rem;
    border-radius: 32px !important;
    border-top-left-radius: 32px !important;
    border-top-right-radius: 32px !important;
    background: linear-gradient(180deg, rgba(15, 16, 18, 0.84), rgba(12, 13, 14, 0.66));
    border: 1px solid var(--nf-border);
    box-shadow: var(--nf-shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

body.theme-2026 .sidebar-panel {
    margin: 0.5rem;
    padding: 1.2rem 1.2rem 1rem;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(var(--nf-primary-rgb), 0.14), rgba(var(--nf-secondary-rgb), 0.08) 48%, rgba(var(--nf-hot-rgb), 0.1)),
        rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

body.theme-2026 .sidebar-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--nf-primary);
    margin-bottom: 0.8rem;
}

body.theme-2026 .sidebar-summary {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.6;
    color: var(--nf-text-muted);
}

body.theme-2026 .sidebar-summary strong {
    display: block;
    font-family: "Satoshi", sans-serif;
    font-size: 1.1rem;
    line-height: 1.35;
    margin-bottom: 0.45rem;
    color: var(--nf-text);
}

body.theme-2026 .sidebar-section-label {
    margin-top: 0.15rem;
    padding: 0 1.2rem 0.55rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(154, 171, 170, 0.7);
}

body.theme-2026 .deznav-scroll::-webkit-scrollbar {
    width: 4px;
}

body.theme-2026 .deznav-scroll::-webkit-scrollbar-track {
    background: transparent;
}

body.theme-2026 .deznav-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

body.theme-2026 .deznav-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.22);
}

body.theme-2026 .deznav .metismenu {
    padding: 0 0.55rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

body.theme-2026 .deznav .metismenu > li > a,
body.theme-2026 .deznav .metismenu ul a {
    border-radius: 18px;
    padding: 0.95rem 1rem;
    min-height: 56px;
    color: var(--nf-text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    position: relative;
    overflow: hidden;
}

body.theme-2026 .nav-icon-wrap {
    width: 2.6rem;
    height: 2.6rem;
    min-width: 2.6rem;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    color: #cde0dd;
    font-size: 1rem;
}

body.theme-2026 .nav-text {
    flex: 1;
}

body.theme-2026 .nav-pill {
    font-size: 0.7rem;
    color: var(--nf-primary);
    background: rgba(var(--nf-primary-rgb), 0.12);
    border: 1px solid rgba(var(--nf-primary-rgb), 0.16);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

body.theme-2026 .deznav .metismenu > li:hover > a,
body.theme-2026 .deznav .metismenu > li.mm-active > a,
body.theme-2026 .deznav .metismenu ul a:hover,
body.theme-2026 .deznav .metismenu ul a.mm-active {
    color: var(--nf-text) !important;
    background: linear-gradient(135deg, rgba(var(--nf-primary-rgb), 0.14), rgba(var(--nf-secondary-rgb), 0.16), rgba(255, 255, 255, 0.05)) !important;
    border-color: rgba(var(--nf-secondary-rgb), 0.2) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 26px rgba(5, 5, 6, 0.18);
}

body.theme-2026 .deznav .metismenu > li > a::after,
body.theme-2026 .deznav .metismenu ul a::before,
body.theme-2026 .deznav .metismenu ul::after {
    display: none !important;
}

body.theme-2026 .deznav .metismenu > li.mm-active > a .nav-icon-wrap,
body.theme-2026 .deznav .metismenu > li:hover > a .nav-icon-wrap,
body.theme-2026 .deznav .metismenu ul a:hover .nav-icon-wrap,
body.theme-2026 .deznav .metismenu ul a.mm-active .nav-icon-wrap {
    background: linear-gradient(145deg, rgba(var(--nf-secondary-rgb), 0.32), rgba(var(--nf-primary-rgb), 0.12));
    color: white;
    box-shadow: 0 10px 22px rgba(var(--nf-secondary-rgb), 0.22);
}

body.theme-2026 .deznav .metismenu > li.mm-active > a::before,
body.theme-2026 .deznav .metismenu ul a.mm-active::before {
    content: "";
    position: absolute;
    left: 0.55rem;
    top: 0.75rem;
    bottom: 0.75rem;
    width: 3px;
    border-radius: 999px;
    background: var(--nf-secondary);
}

body.theme-2026 .deznav .metismenu ul {
    background: transparent;
    margin-top: 0.45rem;
    margin-left: 0.85rem;
    padding-left: 0.85rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-2026 .deznav .metismenu .has-arrow:after {
    right: 1.25rem;
    border-color: rgba(236, 242, 255, 0.6);
}

body.theme-2026 .deznav .copyright {
    margin-top: auto;
    padding: 0.6rem 1rem 0.3rem;
}

body.theme-2026 .deznav .copyright p {
    margin: 0;
    color: rgba(154, 171, 170, 0.74);
    font-size: 0.78rem;
    line-height: 1.55;
}

body.theme-2026 .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-left: calc(var(--nf-sidebar-width) + 1rem);
    background: transparent;
    z-index: 21;
}

body.theme-2026 .header .header-content {
    height: auto;
    padding: 1.2rem 1.5rem 0.35rem;
    background: transparent;
}

body.theme-2026 .header-content .navbar {
    padding: 0;
}

body.theme-2026 .header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 84px;
    padding: 1rem 1.2rem 1rem 1.4rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(18, 19, 22, 0.84), rgba(16, 17, 20, 0.7));
    border: 1px solid var(--nf-border);
    box-shadow: var(--nf-shadow-soft);
    backdrop-filter: blur(18px);
}

body.theme-2026 .header-left-cluster {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

body.theme-2026 .header-left {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

body.theme-2026 .dashboard_eyebrow {
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--nf-text-muted);
}

body.theme-2026 .header-left .dashboard_bar {
    font-size: clamp(1.3rem, 2.3vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fbfdff;
    margin: 0;
}

body.theme-2026 .header-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-left: auto;
}

body.theme-2026 .header-right > li:not(:first-child) {
    margin-left: 0;
}

body.theme-2026 .header-right .nav-item {
    position: relative;
}

body.theme-2026 .header-chip,
body.theme-2026 .header-right .nav-link,
body.theme-2026 .profile-trigger {
    border-radius: 18px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--nf-text);
}

body.theme-2026 .header-chip {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--nf-primary);
    padding-inline: 1rem 1.15rem;
}

body.theme-2026 .header-right .nav-link:hover,
body.theme-2026 .profile-trigger:hover,
body.theme-2026 .header-chip:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

body.theme-2026 .btn.btn-primary-light {
    background: linear-gradient(135deg, rgba(var(--nf-primary-rgb), 0.16), rgba(var(--nf-secondary-rgb), 0.16));
    color: var(--nf-text);
}

body.theme-2026 .notification-bell {
    width: 52px;
    padding: 0;
}

body.theme-2026 .notification-badge {
    position: absolute;
    top: 0.4rem;
    right: 0.35rem;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--nf-hot), #dce0e2);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    align-items: center;
    justify-content: center;
    display: none;
}

body.theme-2026 .notification-dropdown,
body.theme-2026 .dropdown-menu {
    background: rgba(10, 11, 13, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--nf-shadow);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    color: var(--nf-text);
}

body.theme-2026 .notification-dropdown {
    min-width: 340px;
    margin-top: 0.75rem;
    max-height: min(520px, calc(100vh - 120px));
    overflow: hidden;
}

body.theme-2026 .notification-dropdown.show {
    display: flex !important;
    flex-direction: column;
}

body.theme-2026 .notification-dropdown .dropdown-header {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 1;
    background: rgba(10, 11, 13, 0.97);
    backdrop-filter: blur(20px);
}

body.theme-2026 .notification-dropdown #notification-list {
    overflow-y: auto;
    overscroll-behavior: contain;
}

body.theme-2026 .notification-dropdown #notification-list::-webkit-scrollbar {
    width: 4px;
}

body.theme-2026 .notification-dropdown #notification-list::-webkit-scrollbar-track {
    background: transparent;
}

body.theme-2026 .notification-dropdown #notification-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

body.theme-2026 .dropdown-item {
    padding: 0.8rem 1rem;
    border-radius: 16px;
    color: var(--nf-text);
}

body.theme-2026 .dropdown-item:hover,
body.theme-2026 .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

body.theme-2026 .profile-trigger {
    padding-right: 1.1rem;
}

body.theme-2026 .profile-avatar {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 16px;
    object-fit: cover;
}

body.theme-2026 .profile-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

body.theme-2026 .profile-label {
    font-size: 0.72rem;
    color: var(--nf-text-muted);
}

body.theme-2026 .profile-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--nf-text);
}

body.theme-2026 .content-body {
    margin-left: var(--nf-sidebar-width);
    padding-top: 7.85rem;
    padding-bottom: 2rem;
}

body.theme-2026 .content-body > .container-fluid {
    padding: 0 1.5rem 0;
}

body.theme-2026 .glass-panel,
body.theme-2026 .card,
body.theme-2026 .modal-content {
    border: 1px solid var(--nf-border);
    background: linear-gradient(180deg, rgba(20, 21, 24, 0.82), rgba(15, 16, 18, 0.7)) !important;
    box-shadow: var(--nf-shadow-soft);
    backdrop-filter: blur(18px);
}

body.theme-2026 .card,
body.theme-2026 .modal-content {
    border-radius: 26px;
}

body.theme-2026 .modal {
    z-index: 3000;
}

body.theme-2026 .modal-backdrop {
    --bs-backdrop-zindex: 2990;
    --bs-backdrop-bg: rgba(6, 7, 8, 0.74);
    --bs-backdrop-opacity: 1;
}

body.theme-2026 .modal-dialog {
    margin: 1.4rem auto;
    position: relative;
    z-index: 3010;
    filter: none !important;
}

body.theme-2026 .modal.show .modal-dialog {
    transform: none !important;
}

body.theme-2026 .modal-content,
body.theme-2026 .modal-content * {
    filter: none !important;
}

body.theme-2026 .modal-content {
    background: linear-gradient(180deg, rgba(20, 21, 24, 0.98), rgba(15, 16, 18, 0.96)) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.theme-2026 .modal-header,
body.theme-2026 .modal-header.bg-primary,
body.theme-2026 .modal-header.bg-success,
body.theme-2026 .modal-header.bg-warning {
    background: transparent !important;
    color: var(--nf-text) !important;
}

body.theme-2026 .modal-title,
body.theme-2026 .modal .form-label,
body.theme-2026 .modal .form-check-label,
body.theme-2026 .modal .fw-bold,
body.theme-2026 .modal h6 {
    color: var(--nf-text) !important;
}

body.theme-2026 .modal-body,
body.theme-2026 .modal-body p,
body.theme-2026 .modal-body li,
body.theme-2026 .modal-body small {
    color: rgba(236, 242, 255, 0.82);
}

body.theme-2026 .modal .alert-light,
body.theme-2026 .modal .alert-info,
body.theme-2026 .modal .alert-success,
body.theme-2026 .modal .alert-warning,
body.theme-2026 .modal .alert-danger {
    background: rgba(22, 23, 26, 0.82) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--nf-text) !important;
}

body.theme-2026 .modal .badge.bg-light {
    background: rgba(22, 23, 26, 0.88) !important;
    color: var(--nf-text) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-2026 .tooltip {
    --bs-tooltip-bg: rgba(14, 15, 17, 0.96);
    --bs-tooltip-color: #f5f8ff;
    --bs-tooltip-opacity: 1;
    --bs-tooltip-border-radius: 16px;
    --bs-tooltip-padding-x: 0.8rem;
    --bs-tooltip-padding-y: 0.6rem;
    z-index: 3200;
}

body.theme-2026 .tooltip .tooltip-inner {
    color: #f5f8ff !important;
    background: linear-gradient(180deg, rgba(20, 21, 24, 0.98), rgba(15, 16, 18, 0.96)) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 36px rgba(5, 5, 6, 0.26);
    font-weight: 600;
    line-height: 1.45;
}

body.theme-2026 .tooltip .tooltip-arrow::before {
    border-top-color: rgba(14, 15, 17, 0.96) !important;
    border-right-color: rgba(14, 15, 17, 0.96) !important;
    border-bottom-color: rgba(14, 15, 17, 0.96) !important;
    border-left-color: rgba(14, 15, 17, 0.96) !important;
}

body.theme-2026 .card-body {
    color: var(--nf-text);
}

body.theme-2026 .text-muted,
body.theme-2026 .text-body-secondary {
    color: var(--nf-text-muted) !important;
}

body.theme-2026 .btn {
    border-radius: 18px;
    padding: 0.92rem 1.2rem;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

body.theme-2026 .btn:hover {
    transform: translateY(-2px);
}

body.theme-2026 .btn-primary,
body.theme-2026 .btn-success {
    color: #060809;
    border: none;
    background: linear-gradient(135deg, var(--nf-primary), #a4d9d0 82%);
    box-shadow: 0 16px 35px rgba(var(--nf-primary-rgb), 0.25);
}

body.theme-2026 .btn-primary:hover,
body.theme-2026 .btn-success:hover {
    color: #060809 !important;
    background: linear-gradient(135deg, #78c9bc, #6eb8af 82%) !important;
    box-shadow: 0 20px 40px rgba(var(--nf-primary-rgb), 0.35) !important;
    transform: translateY(-1px);
}

body.theme-2026 .btn-light,
body.theme-2026 .btn-outline-secondary,
body.theme-2026 .btn-outline-light,
body.theme-2026 .btn-outline-primary,
body.theme-2026 .btn-outline-warning,
body.theme-2026 .btn-outline-info {
    color: var(--nf-text);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
}

body.theme-2026 .btn-outline-primary:hover,
body.theme-2026 .btn-outline-warning:hover,
body.theme-2026 .btn-outline-info:hover,
body.theme-2026 .btn-check:checked + .btn-outline-primary,
body.theme-2026 .btn-check:checked + .btn-outline-warning,
body.theme-2026 .btn-check:checked + .btn-outline-info {
    color: #060809;
    border-color: transparent;
    background: linear-gradient(135deg, var(--nf-primary), #a4d9d0 82%);
    box-shadow: 0 14px 30px rgba(var(--nf-primary-rgb), 0.22);
}

body.theme-2026 .form-control,
body.theme-2026 .form-select,
body.theme-2026 textarea,
body.theme-2026 input,
body.theme-2026 select {
    background: rgba(255, 255, 255, 0.05);
    color: var(--nf-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

body.theme-2026 .form-control:focus,
body.theme-2026 .form-select:focus,
body.theme-2026 textarea:focus,
body.theme-2026 input:focus,
body.theme-2026 select:focus {
    color: var(--nf-text);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(var(--nf-primary-rgb), 0.55);
    box-shadow: 0 0 0 0.2rem rgba(var(--nf-primary-rgb), 0.16);
}

body.theme-2026 .accordion-item {
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-radius: 18px !important;
    overflow: hidden;
    margin-bottom: 0.65rem;
}

body.theme-2026 .accordion-item:last-child {
    margin-bottom: 0;
}

body.theme-2026 .accordion-button,
body.theme-2026 .accordion-primary .accordion-button,
body.theme-2026 .accordion-primary .accordion-button.collapsed {
    background: rgba(255, 255, 255, 0.03);
    color: var(--nf-text);
    border: none;
    box-shadow: none;
}

body.theme-2026 .accordion-button:not(.collapsed),
body.theme-2026 .accordion-primary .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(var(--nf-primary-rgb), 0.12), rgba(var(--nf-secondary-rgb), 0.1));
    color: #fff;
    box-shadow: none;
}

body.theme-2026 .accordion-button:focus {
    box-shadow: none;
}

body.theme-2026 .bg-light-subtle {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.theme-2026 .bg-light {
    background: rgba(255, 255, 255, 0.06) !important;
}

body.theme-2026 .bg-white {
    background: rgba(255, 255, 255, 0.04) !important;
}

body.theme-2026 .text-dark {
    color: var(--nf-text) !important;
}

body.theme-2026 .alert-light {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--nf-text) !important;
}

body.theme-2026 .list-group-item {
    background: rgba(255, 255, 255, 0.04);
    color: var(--nf-text-muted);
    border-color: rgba(255, 255, 255, 0.08);
}

body.theme-2026 .list-group-item:hover,
body.theme-2026 .list-group-item-action:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--nf-text);
}

body.theme-2026 .list-group-item.active {
    background: linear-gradient(135deg, rgba(var(--nf-primary-rgb), 0.18), rgba(var(--nf-secondary-rgb), 0.14));
    border-color: rgba(var(--nf-primary-rgb), 0.3);
    color: var(--nf-text);
}

body.theme-2026 .border {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.theme-2026 .border-top {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.theme-2026 .shadow-sm {
    box-shadow: 0 4px 12px rgba(5, 5, 6, 0.2) !important;
}

body.theme-2026 .accordion-button::after {
    color: var(--nf-text);
}

body.theme-2026 .modal-header,
body.theme-2026 .modal-footer {
    border-color: rgba(255, 255, 255, 0.08);
}

body.theme-2026 .btn-close {
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23F4F6F8'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    background-image: var(--bs-btn-close-bg) !important;
    filter: none !important;
    opacity: 0.85;
}

body.theme-2026 .btn-danger,
body.theme-2026 .btn-danger:hover,
body.theme-2026 .btn-secondary,
body.theme-2026 .btn-secondary:hover {
    color: #fff;
    border: none;
    background: var(--nf-danger);
    box-shadow: 0 8px 24px rgba(var(--nf-danger-rgb), 0.28);
}

body.theme-2026 .btn-outline-danger {
    color: var(--nf-danger) !important;
    border-color: rgba(var(--nf-danger-rgb), 0.45) !important;
    background: rgba(var(--nf-danger-rgb), 0.06) !important;
}

body.theme-2026 .btn-outline-danger:hover,
body.theme-2026 .btn-check:checked + .btn-outline-danger {
    color: #fff !important;
    border-color: transparent !important;
    background: var(--nf-danger) !important;
    box-shadow: 0 8px 24px rgba(var(--nf-danger-rgb), 0.28) !important;
}

body.theme-2026 .alert {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: var(--nf-text);
}

body.theme-2026 .custom-tab-1 .nav-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 0.6rem;
}

body.theme-2026 .custom-tab-1 .nav-tabs .nav-link {
    color: var(--nf-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    padding: 0.9rem 1.15rem;
}

body.theme-2026 .custom-tab-1 .nav-tabs .nav-link.active,
body.theme-2026 .custom-tab-1 .nav-tabs .nav-link:hover {
    color: #060809;
    background: linear-gradient(135deg, var(--nf-primary), #a4d9d0 82%);
    border-color: transparent;
}

body.theme-2026 .profile-card,
body.theme-2026 .genetic-constraints-panel {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(19, 20, 22, 0.9), rgba(13, 14, 16, 0.76));
    box-shadow: var(--nf-shadow-soft);
}

body.theme-2026 .profile-card .card-header,
body.theme-2026 .section-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-2026 .section-header .btn-outline {
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--nf-text);
}

body.theme-2026 .section-header .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

body.theme-2026 .frequency-badge.frequently {
    background: rgba(var(--nf-primary-rgb), 0.16);
    color: #c8e8e2;
    border-color: rgba(var(--nf-primary-rgb), 0.28);
}

body.theme-2026 .frequency-badge.sometimes {
    background: rgba(var(--nf-warning-rgb), 0.16);
    color: #c5e4ed;
    border-color: rgba(var(--nf-warning-rgb), 0.24);
}

body.theme-2026 .frequency-badge.rare {
    background: rgba(var(--nf-hot-rgb), 0.14);
    color: #e8eaec;
    border-color: rgba(var(--nf-hot-rgb), 0.22);
}

body.theme-2026 .frequency-badge.never {
    background: rgba(239, 68, 68, 0.14);
    color: #ffd1d1;
    border-color: rgba(239, 68, 68, 0.24);
}

body.theme-2026 .genetic-constraints-panel .table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
    --bs-table-striped-color: var(--nf-text);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.05);
    --bs-table-hover-color: var(--nf-text);
    --bs-table-border-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 0;
}

body.theme-2026 .genetic-constraints-panel thead th {
    background: rgba(255, 255, 255, 0.04);
}

body.theme-2026 .dna-kit-code {
    font-family: monospace;
    font-size: 1rem;
    color: var(--nf-text) !important;
}

body.theme-2026 .dna-kit-link {
    color: var(--nf-text) !important;
    font-size: 0.8rem;
}

body.theme-2026 .img-thumbnail,
body.theme-2026 .form-control[readonly] {
    background: rgba(22, 23, 26, 0.88) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--nf-text) !important;
}

body.theme-2026 .meal-check-card,
body.theme-2026 .option-block {
    background: rgba(22, 23, 26, 0.82);
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--nf-text);
}

body.theme-2026 .form-check-input {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
}

body.theme-2026 .form-check-input:checked {
    background-color: var(--nf-primary);
    border-color: var(--nf-primary);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23060809' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
}

/* Toggle switches — fully custom, bypass Bootstrap + vendor entirely */
body.theme-2026 .form-switch .form-check-input {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 2.8rem !important;
    height: 1.5rem !important;
    border-radius: 1rem !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background-image: none !important;
    position: relative !important;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
    vertical-align: middle;
    margin-top: 0;
    box-shadow: none !important;
}

/* Kill vendor pseudo-elements first */
body.theme-2026 .form-switch .form-check-input::before {
    content: none !important;
    display: none !important;
}

/* Our single knob */
body.theme-2026 .form-switch .form-check-input::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 2px !important;
    left: 2px !important;
    width: 1.1rem !important;
    height: 1.1rem !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.5) !important;
    transition: transform 0.25s ease, background 0.25s ease !important;
    transform: translateX(0) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

body.theme-2026 .form-switch .form-check-input:checked {
    background: var(--nf-primary) !important;
    border-color: var(--nf-primary) !important;
    background-image: none !important;
}

body.theme-2026 .form-switch .form-check-input:checked::after {
    transform: translateX(1.25rem) !important;
    background: #060809 !important;
}

body.theme-2026 .form-switch .form-check-input:focus {
    outline: none !important;
    border-color: var(--nf-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(var(--nf-primary-rgb), 0.15) !important;
}

body.theme-2026 .option-block pre {
    white-space: pre-wrap;
    color: var(--nf-text-muted);
}

body.todays-updates-2026 .updates-accordion,
body.todays-updates-2026 .updates-subaccordion {
    margin-bottom: 0.75rem;
}

body.todays-updates-2026 .updates-accordion .accordion-item {
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(19, 20, 22, 0.92), rgba(13, 14, 16, 0.84));
    border: none;
    box-shadow: 0 18px 34px rgba(5, 5, 6, 0.2);
}

body.todays-updates-2026 .updates-subaccordion .accordion-item {
    border-radius: 22px;
    background: rgba(14, 15, 17, 0.88);
    border: none;
}

body.todays-updates-2026 .updates-accordion > .accordion-item > .accordion-header .accordion-button,
body.todays-updates-2026 .updates-subaccordion .accordion-button {
    padding: 1.1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
}

body.todays-updates-2026 .updates-accordion > .accordion-item > .accordion-header .accordion-button:not(.collapsed),
body.todays-updates-2026 .updates-subaccordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(var(--nf-primary-rgb), 0.12), rgba(var(--nf-secondary-rgb), 0.1));
}

body.todays-updates-2026 .updates-accordion .accordion-body {
    padding: 1.15rem;
    background: rgba(10, 11, 13, 0.72);
    color: var(--nf-text);
}

body.todays-updates-2026 .updates-accordion h4,
body.todays-updates-2026 .updates-subaccordion h5,
body.todays-updates-2026 .form-label,
body.todays-updates-2026 .form-check-label,
body.todays-updates-2026 .fw-bold {
    color: #f4f8ff !important;
}

body.todays-updates-2026 .updates-accordion .text-muted,
body.todays-updates-2026 .updates-accordion .small {
    color: var(--nf-text-muted) !important;
}

body.todays-updates-2026 .updates-accordion .btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(22, 23, 26, 0.82);
    color: #f4f8ff;
    border-radius: 18px;
    padding: 0.9rem 1rem;
}

body.todays-updates-2026 .updates-accordion .btn-check:checked + .btn-outline-primary,
body.todays-updates-2026 .updates-accordion .btn-outline-primary:hover,
body.todays-updates-2026 .updates-accordion .btn-outline-primary:focus {
    background: linear-gradient(135deg, rgba(var(--nf-primary-rgb), 0.2), rgba(var(--nf-secondary-rgb), 0.22));
    color: #ffffff;
    border-color: rgba(var(--nf-primary-rgb), 0.45);
    box-shadow: 0 0 0 0.18rem rgba(var(--nf-primary-rgb), 0.12);
}

body.todays-updates-2026 .updates-submit-btn {
    border: none;
    border-radius: 20px;
    padding: 0.95rem 1.25rem;
    font-weight: 800;
    color: #060809;
    background: linear-gradient(135deg, var(--nf-primary), #a4d9d0 82%);
    box-shadow: 0 16px 34px rgba(var(--nf-primary-rgb), 0.18);
}

body.todays-updates-2026 .updates-submit-btn:hover {
    color: #060809;
}

body.todays-updates-2026 .noui-slider {
    max-width: 100% !important;
}

body.questionnaire-2026 .card-title,
body.questionnaire-2026 .card-title small,
body.questionnaire-2026 .form-label,
body.questionnaire-2026 .page-titles .breadcrumb-item a,
body.questionnaire-2026 .page-titles .breadcrumb-item.active a,
body.questionnaire-2026 .text-dark,
body.questionnaire-2026 h1,
body.questionnaire-2026 h2,
body.questionnaire-2026 h3,
body.questionnaire-2026 h4,
body.questionnaire-2026 h5,
body.questionnaire-2026 h6,
body.questionnaire-2026 label,
body.questionnaire-2026 strong,
body.questionnaire-2026 .form-check-label,
body.questionnaire-2026 .progress-fraction {
    color: #f4f8ff !important;
}

body.questionnaire-2026 .progress-bar-track {
    background: rgba(255, 255, 255, 0.08) !important;
}

body.questionnaire-2026 .progress-bar-fill {
    background: linear-gradient(90deg, var(--nf-primary), var(--nf-secondary)) !important;
}

body.questionnaire-2026 .card-header,
body.questionnaire-2026 .card-footer,
body.questionnaire-2026 .page-titles,
body.questionnaire-2026 .bg-light,
body.questionnaire-2026 .badge.bg-secondary,
body.questionnaire-2026 .badge.bg-success,
body.questionnaire-2026 .bg-primary.bg-opacity-10 {
    background: rgba(22, 23, 26, 0.88) !important;
    color: #f4f8ff !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.questionnaire-2026 .text-primary {
    color: var(--nf-primary) !important;
}

body.questionnaire-2026 .text-success {
    color: #9ef5d4 !important;
}

body.questionnaire-2026 .text-muted,
body.questionnaire-2026 .form-text,
body.questionnaire-2026 small,
body.questionnaire-2026 .card-body p:not(.text-danger),
body.questionnaire-2026 .card-body li:not(.text-danger) {
    color: rgba(244, 248, 255, 0.86) !important;
}

body.questionnaire-2026 .border-primary,
body.questionnaire-2026 .form-control,
body.questionnaire-2026 .form-select,
body.questionnaire-2026 .form-check {
    border-color: rgba(var(--nf-primary-rgb), 0.55) !important;
}

body.questionnaire-2026 input[type="file"]::file-selector-button {
    background: rgba(255, 255, 255, 0.08);
    color: #f4f8ff;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.8rem 1rem;
    margin-right: 1rem;
}

body.questionnaire-2026 input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

body.questionnaire-2026 select option {
    background: #141516;
    color: #f4f8ff;
}

body.theme-2026 #main-wrapper.menu-toggle .nav-header,
body.theme-2026 #main-wrapper.menu-toggle .deznav {
    width: var(--nf-sidebar-collapsed-width);
}

body.theme-2026 #main-wrapper.menu-toggle .header {
    padding-left: calc(var(--nf-sidebar-collapsed-width) + 1rem);
}

body.theme-2026 #main-wrapper.menu-toggle .content-body {
    margin-left: var(--nf-sidebar-collapsed-width);
}

body.theme-2026 #main-wrapper.menu-toggle .brand-label,
body.theme-2026 #main-wrapper.menu-toggle .brand-wordmark,
body.theme-2026 #main-wrapper.menu-toggle .sidebar-panel,
body.theme-2026 #main-wrapper.menu-toggle .sidebar-section-label,
body.theme-2026 #main-wrapper.menu-toggle .nav-text,
body.theme-2026 #main-wrapper.menu-toggle .nav-pill,
body.theme-2026 #main-wrapper.menu-toggle .copyright {
    opacity: 0;
    visibility: hidden;
}

body.theme-2026 #main-wrapper.menu-toggle .brand-logo,
body.theme-2026 #main-wrapper.menu-toggle .deznav .metismenu > li > a {
    justify-content: center;
}

body.theme-2026 #main-wrapper.menu-toggle .brand-logo {
    padding-inline: 0.85rem;
}

body.theme-2026 #main-wrapper.menu-toggle .brand-emblem {
    display: none;
}

body.theme-2026 #main-wrapper.menu-toggle .brand-emblem-compact {
    display: inline-flex !important;
}

body.theme-2026 #main-wrapper.menu-toggle .deznav .metismenu > li > a,
body.theme-2026 #main-wrapper.menu-toggle .deznav .metismenu ul a {
    padding-inline: 0.85rem;
}

body.theme-2026 #main-wrapper.menu-toggle .deznav .metismenu ul {
    display: none;
}

body.theme-2026 .brand-emblem-compact,
body.theme-2026 .brand-logo .logo-compact {
    display: none;
}

/* ────────────────────────────────────────────────────────
   MOBILE / TABLET  (≤ 1199px)
   ──────────────────────────────────────────────────────── */
@media (max-width: 1199.98px) {

    /* ── Nav header: fixed compact logo bar at very top ── */
    body.theme-2026 .nav-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 64px !important;
        padding: 0.45rem 0.75rem 0 !important;
        z-index: 22 !important;
        background: transparent;
    }

    body.theme-2026 .nav-header .brand-logo {
        min-height: 52px !important;
        padding: 0.55rem 0.9rem !important;
        border-radius: 18px !important;
    }

    body.theme-2026 .nav-header .brand-emblem {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.1rem !important;
    }

    body.theme-2026 .nav-header .brand-title {
        gap: 0 !important;
    }

    body.theme-2026 .nav-header .brand-label {
        font-size: 0.55rem !important;
        letter-spacing: 0.08em !important;
        white-space: nowrap !important;
    }

    body.theme-2026 .nav-header .brand-wordmark {
        font-size: 1rem !important;
    }

    /* ── Header: fixed BELOW nav-header (no overlap) ── */
    body.theme-2026 .header {
        position: fixed !important;
        top: 64px !important;
        left: 0 !important;
        right: 0 !important;
        padding-left: 0 !important;
        width: 100% !important;
        z-index: 21 !important;
    }

    body.theme-2026 .header .header-content {
        padding: 0.6rem 1rem 0.35rem !important;
    }

    /* ── Header bar: single row with hamburger left, icons right ── */
    body.theme-2026 .header-bar {
        flex-wrap: nowrap !important;
        align-items: center !important;
    }

    body.theme-2026 .header-left-cluster {
        flex-shrink: 1;
        min-width: 0;
    }

    body.theme-2026 .header-right {
        flex-shrink: 0;
    }

    /* ── Content clears both fixed bars + breathing room ── */
    body.theme-2026 .content-body {
        margin-left: 0 !important;
        padding-top: 11rem !important;
    }

    body.theme-2026 .content-body > .container-fluid {
        padding-inline: 1rem;
    }

    /* ── Sidebar: hidden off-screen by default ── */
    body.theme-2026 .deznav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0;
        width: min(310px, calc(100vw - 3rem)) !important;
        height: 100vh !important;
        padding: 1.2rem 1rem 1rem !important;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050 !important;
        background: linear-gradient(180deg, rgba(12, 13, 14, 0.97), rgba(9, 10, 11, 0.98)) !important;
        overflow: visible !important;
    }

    body.theme-2026 .deznav-scroll {
        height: calc(100vh - 24px) !important;
        margin-top: 0.85rem;
        padding-top: 1.2rem;
    }

    /* ── Sidebar OPEN when menu-toggle is active ── */
    body.theme-2026 #main-wrapper.menu-toggle .deznav {
        transform: translateX(0) !important;
        width: min(310px, calc(100vw - 3rem)) !important;
        overflow: visible !important;
    }

    /* Override vendor "full" sidebar-style that collapses to 5rem */
    body.theme-2026 #main-wrapper.menu-toggle .nav-header {
        width: 100% !important;
        height: 64px !important;
    }

    body.theme-2026 #main-wrapper.menu-toggle .header,
    body.theme-2026 #main-wrapper.menu-toggle .content-body {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    /* Keep sidebar items fully visible (prevent desktop collapse rules) */
    body.theme-2026 #main-wrapper.menu-toggle .deznav .nav-text,
    body.theme-2026 #main-wrapper.menu-toggle .brand-label,
    body.theme-2026 #main-wrapper.menu-toggle .brand-wordmark,
    body.theme-2026 #main-wrapper.menu-toggle .sidebar-panel,
    body.theme-2026 #main-wrapper.menu-toggle .sidebar-section-label,
    body.theme-2026 #main-wrapper.menu-toggle .copyright {
        opacity: 1 !important;
        visibility: visible !important;
        display: revert !important;
    }

    body.theme-2026 #main-wrapper.menu-toggle .deznav .metismenu > li > a {
        justify-content: flex-start !important;
        padding-inline: 1rem !important;
    }

    body.theme-2026 #main-wrapper.menu-toggle .deznav .metismenu ul {
        display: revert !important;
    }

    /* Re-apply metismenu collapse on mobile: the rule above overrides the desktop
       icon-mode hiding, but must not prevent metismenu from collapsing a submenu
       when the user clicks the parent item. Without this, mm-collapse:not(.mm-show)
       display:none is cancelled by the revert above, causing sub-items to stay
       visible and overlap the sibling nav items. */
    body.theme-2026 #main-wrapper.menu-toggle .deznav .metismenu ul.mm-collapse:not(.mm-show) {
        display: none !important;
    }

    body.theme-2026 #main-wrapper.menu-toggle .brand-emblem {
        display: inline-flex !important;
    }

    body.theme-2026 #main-wrapper.menu-toggle .brand-emblem-compact {
        display: none !important;
    }

    body.theme-2026 #main-wrapper.menu-toggle .brand-logo {
        justify-content: flex-start !important;
    }

    /* ── Dark overlay / backdrop behind sidebar ── */
    body.theme-2026 .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 1040;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    body.theme-2026 #main-wrapper.menu-toggle .sidebar-overlay {
        display: block;
    }

    /* ── Notification dropdown: centered on mobile ── */
    body.theme-2026 .notification-dropdown {
        position: fixed !important;
        top: 130px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: min(360px, calc(100vw - 2rem)) !important;
        max-height: calc(100vh - 160px) !important;
        border-radius: 22px !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
    }

    /* Keep the header visible while the list scrolls */
    body.theme-2026 .notification-dropdown .dropdown-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 1 !important;
        background: rgba(10, 11, 13, 0.97) !important;
        backdrop-filter: blur(20px) !important;
    }
}

/* ────────────────────────────────────────────────────────
   SMALL MOBILE  (≤ 767px)
   ──────────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
    body.theme-2026 .header-bar {
        flex-wrap: nowrap;
        padding: 0.5rem 0.75rem;
        align-items: center;
        justify-content: space-between;
    }

    body.theme-2026 .header-left-cluster {
        flex-shrink: 1;
        min-width: 0;
        align-items: center;
    }

    /* Hide page title on small phones — hamburger is enough */
    body.theme-2026 .header-left {
        display: none !important;
    }

    body.theme-2026 .header-right {
        flex-shrink: 0;
        justify-content: flex-end;
        gap: 0.35rem;
    }

    body.theme-2026 .header-chip {
        display: none;
    }

    body.theme-2026 .profile-meta {
        display: none;
    }

    body.theme-2026 .content-body > .container-fluid {
        padding-inline: 0.85rem;
    }

    body.theme-2026 .content-body {
        padding-top: 11rem !important;
    }

    /* Narrower sidebar on small phones */
    body.theme-2026 .deznav,
    body.theme-2026 #main-wrapper.menu-toggle .deznav {
        width: min(280px, calc(100vw - 2rem)) !important;
    }

    /* Notification dropdown positioned lower on small screens */
    body.theme-2026 .notification-dropdown {
        top: 120px !important;
    }
}

/* ── noUI Slider — override vendor green with palette primary ── */
body.theme-2026 .noUi-connect {
    background-color: var(--nf-primary);
}

body.theme-2026 .noUi-horizontal .noUi-handle,
body.theme-2026 .noUi-vertical .noUi-handle {
    background-color: var(--nf-primary);
    border-color: var(--nf-primary);
    box-shadow: 0 4px 12px rgba(var(--nf-primary-rgb), 0.28);
}


/* ── Dropdown active/selected item (Bootstrap Select / selectpicker) ── */
body.theme-2026 .dropdown-menu {
    --bs-dropdown-link-active-bg: var(--nf-warning);
    --bs-dropdown-link-active-color: #060809;
}

body.theme-2026 .dropdown-item.active,
body.theme-2026 .dropdown-item:active {
    background-color: var(--nf-warning) !important;
    color: #060809 !important;
}
