/* Quatre modèles de menu en haut — structure distincte, même navigation. */

.topmenu-logo,
.topmenu-tools {
    display: none;
}

@media (min-width: 769px) {
    html[data-menu-position="top"][data-top-menu-theme] {
        --tm-h: 86px;
        --tm-radius: 28px;
        --tm-icon: 34px;
        --tm-gap: 0.35rem;
    }

    html[data-menu-position="top"][data-top-menu-theme] .sidebar {
        height: auto;
        min-height: var(--tm-h);
        max-height: none;
        width: calc(100% - 1.5rem);
        max-width: calc(100vw - 1.5rem);
        margin: 0.7rem auto 0.35rem;
        padding: 0.45rem 0.55rem;
        align-items: stretch;
        overflow: hidden;
        border: 0;
        border-bottom: 0;
        background: transparent;
        box-shadow: none;
        gap: 0.45rem;
    }

    html[data-menu-position="top"][data-top-menu-theme] .sidebar-brand {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        min-width: 0;
        max-width: none;
        height: auto;
        border: 0;
        padding: 0.35rem 0.7rem;
        gap: 0.65rem;
        background: transparent;
        box-shadow: none;
    }

    html[data-menu-position="top"][data-top-menu-theme] .sidebar-brand-main {
        display: flex;
        align-items: center;
        gap: 0.65rem;
    }

    html[data-menu-position="top"][data-top-menu-theme] .topmenu-logo {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 14px;
        flex: 0 0 auto;
    }

    html[data-menu-position="top"][data-top-menu-theme] .topmenu-logo svg {
        width: 22px;
        height: 22px;
    }

    html[data-menu-position="top"][data-top-menu-theme] .brand-text {
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: none;
        line-height: 1.15;
        max-width: 13rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    html[data-menu-position="top"][data-top-menu-theme] .brand-mark {
        display: block;
        margin-top: 0.08rem;
        font-size: 0.62rem;
        font-weight: 600;
        line-height: 1.15;
        letter-spacing: 0.01em;
        color: #2563eb;
        text-transform: none;
        max-width: 13rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    html[data-menu-position="top"][data-top-menu-theme] .brand-version {
        display: block;
        font-size: 0.68rem;
        font-weight: 600;
        opacity: 0.8;
    }

    html[data-menu-position="top"][data-top-menu-theme] .sidebar-nav {
        display: flex;
        flex: 1 1 auto;
        flex-direction: row;
        align-items: center;
        gap: 0.2rem;
        overflow: hidden;
        padding: 0.2rem;
        min-width: 0;
        scrollbar-width: none;
    }

    html[data-menu-position="top"][data-top-menu-theme] .sidebar-nav::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    html[data-menu-position="top"][data-top-menu-theme] .sidebar-footer {
        flex: 0 0 auto;
    }

    html[data-menu-position="top"][data-top-menu-theme] .nav-link,
    html[data-menu-position="top"][data-top-menu-theme] .nav-group-toggle {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.28rem;
        height: auto;
        min-height: 64px;
        max-height: none;
        width: 100%;
        min-width: 0;
        flex: 1 1 0;
        padding: 0.35rem 0.15rem 0.4rem;
        border-radius: 16px;
        background: color-mix(in srgb, currentColor 4%, transparent);
        box-shadow: none;
        color: #334155;
        font-size: 0.68rem;
        font-weight: 650;
        line-height: 1.15;
        white-space: nowrap;
        transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    }

    html[data-menu-position="top"][data-top-menu-theme] .nav-link-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.28rem;
    }

    html[data-menu-position="top"][data-top-menu-theme] .nav-icon {
        width: var(--tm-icon);
        height: var(--tm-icon);
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    html[data-menu-position="top"][data-top-menu-theme] .nav-icon svg,
    html[data-menu-position="top"][data-top-menu-theme] .nav-chevron svg {
        width: 18px;
        height: 18px;
    }

    html[data-menu-position="top"][data-top-menu-theme] .nav-label {
        display: block !important;
        color: #000000 !important;
        opacity: 1 !important;
        visibility: visible !important;
        flex: 0 1 auto;
        min-width: 0;
        max-width: 100%;
        font-size: 0.68rem;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    html[data-menu-position="top"][data-top-menu-theme] .nav-chevron {
        position: absolute;
        right: 4px;
        top: 6px;
        opacity: 0.55;
    }

    html[data-menu-position="top"][data-top-menu-theme] .nav-group {
        position: relative;
        flex: 1 1 0;
        min-width: 0;
    }

    html[data-menu-position="top"][data-top-menu-theme] .sidebar-nav > :nth-child(1) .nav-icon { color: #2563eb; }
    html[data-menu-position="top"][data-top-menu-theme] .sidebar-nav > :nth-child(2) .nav-icon { color: #7c3aed; }
    html[data-menu-position="top"][data-top-menu-theme] .sidebar-nav > :nth-child(3) .nav-icon { color: #16a34a; }
    html[data-menu-position="top"][data-top-menu-theme] .sidebar-nav > :nth-child(4) .nav-icon { color: #ea580c; }
    html[data-menu-position="top"][data-top-menu-theme] .sidebar-nav > :nth-child(5) .nav-icon { color: #db2777; }
    html[data-menu-position="top"][data-top-menu-theme] .sidebar-nav > :nth-child(6) .nav-icon { color: #ca8a04; }
    html[data-menu-position="top"][data-top-menu-theme] .sidebar-nav > :nth-child(7) .nav-icon { color: #475569; }
    html[data-menu-position="top"][data-top-menu-theme] .sidebar-nav > :nth-child(8) .nav-icon { color: #0284c7; }
    html[data-menu-position="top"][data-top-menu-theme] .sidebar-nav > :nth-child(9) .nav-icon { color: #0891b2; }

    html[data-menu-position="top"][data-top-menu-theme] .nav-icon {
        background: color-mix(in srgb, currentColor 8%, transparent);
        box-shadow: none;
    }

    html[data-menu-position="top"][data-top-menu-theme] .nav-link:hover,
    html[data-menu-position="top"][data-top-menu-theme] .nav-group-toggle:hover {
        background: color-mix(in srgb, currentColor 8%, transparent);
        transform: translateY(-1px);
    }

    html[data-menu-position="top"][data-top-menu-theme] .nav-link:focus-visible,
    html[data-menu-position="top"][data-top-menu-theme] .nav-group-toggle:focus-visible,
    html[data-menu-position="top"][data-top-menu-theme] .topmenu-search input:focus-visible,
    html[data-menu-position="top"][data-top-menu-theme] .topmenu-bell:focus-visible {
        outline: 2px solid #2563eb;
        outline-offset: 2px;
    }

    html[data-menu-position="top"][data-top-menu-theme] .sidebar-footer {
        height: auto;
        border: 0;
        padding: 0;
        gap: 0.35rem;
        background: transparent;
    }

    html[data-menu-position="top"][data-top-menu-theme] #sidebar-brand-specialite {
        display: block;
        margin-top: 0.08rem;
        font-size: 0.62rem;
        font-weight: 600;
        line-height: 1.15;
        letter-spacing: 0.01em;
        color: #dc2626;
        text-transform: none;
        max-width: 13rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    html[data-menu-position="top"][data-top-menu-theme] .sidebar-logout {
        display: none;
    }

    html[data-menu-position="top"][data-top-menu-theme] .sidebar-specialite,
    html[data-menu-position="top"][data-top-menu-theme] #sidebar-specialite-wrap {
        display: flex !important;
        flex-direction: column;
        max-width: 8.5rem;
        margin: 0;
    }

    html[data-menu-position="top"][data-top-menu-theme].sidebar-collapsed .sidebar {
        width: calc(100% - 1.5rem);
        color: inherit;
    }

    html[data-menu-position="top"][data-top-menu-theme] .sidebar-specialite-label span {
        display: none;
    }

    html[data-menu-position="top"][data-top-menu-theme] .sidebar-specialite-select {
        max-width: 8.5rem;
        font-size: 0.68rem;
    }

    html[data-menu-position="top"][data-top-menu-theme] .topmenu-tools {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        height: 100%;
        padding-left: 0.35rem;
    }

    html[data-menu-position="top"][data-top-menu-theme] .topmenu-search {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        min-width: 0;
        flex: 0 1 8.5rem;
        max-width: 10.5rem;
        height: 38px;
        padding: 0 0.75rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.82);
        border: 1px solid rgba(148, 163, 184, 0.35);
        color: #64748b;
    }

    html[data-menu-position="top"][data-top-menu-theme] .topmenu-search svg {
        width: 16px;
        height: 16px;
        flex: 0 0 auto;
    }

    html[data-menu-position="top"][data-top-menu-theme] .topmenu-search input {
        width: 100%;
        border: 0;
        background: transparent;
        color: #0f172a;
        font: inherit;
        font-size: 0.78rem;
        outline: none;
    }

    html[data-menu-position="top"][data-top-menu-theme] .topmenu-bell {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 999px;
        color: #334155;
        background: rgba(255, 255, 255, 0.7);
    }

    html[data-menu-position="top"][data-top-menu-theme] .topmenu-bell svg {
        width: 18px;
        height: 18px;
    }

    html[data-menu-position="top"][data-top-menu-theme] .topmenu-user {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        padding-right: 0.35rem;
    }

    html[data-menu-position="top"][data-top-menu-theme] .topmenu-user-avatar {
        width: 36px;
        height: 36px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #dbeafe;
        color: #1d4ed8;
        font-size: 0.72rem;
        font-weight: 800;
    }

    html[data-menu-position="top"][data-top-menu-theme] .topmenu-user-meta {
        display: flex;
        flex-direction: column;
        line-height: 1.15;
        max-width: 7.5rem;
    }

    html[data-menu-position="top"][data-top-menu-theme] .topmenu-user-meta strong,
    html[data-menu-position="top"][data-top-menu-theme] .topmenu-user-meta small {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    html[data-menu-position="top"][data-top-menu-theme] .topmenu-user-meta strong {
        font-size: 0.75rem;
        color: #0f172a;
    }

    html[data-menu-position="top"][data-top-menu-theme] .topmenu-user-meta small {
        font-size: 0.65rem;
        color: #64748b;
    }

    /* Modèle 1 — barre blanche unique, carte active bleue */
    html[data-menu-position="top"][data-top-menu-theme="premium-white"] .sidebar {
        background: rgba(255, 255, 255, 0.94);
        border-radius: 30px;
        box-shadow: 0 16px 40px rgba(59, 130, 246, 0.14), 0 2px 0 rgba(255, 255, 255, 0.8) inset;
        backdrop-filter: blur(16px);
    }

    html[data-menu-position="top"][data-top-menu-theme="premium-white"] .topmenu-logo {
        background: linear-gradient(180deg, #3b82f6, #1d4ed8);
        color: #fff;
        box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
    }

    html[data-menu-position="top"][data-top-menu-theme="premium-white"] .brand-text { color: #0f172a; }
    html[data-menu-position="top"][data-top-menu-theme="premium-white"] .brand-mark { color: #2563eb; }
    html[data-menu-position="top"][data-top-menu-theme="premium-white"] #sidebar-brand-specialite { color: #dc2626; }
    html[data-menu-position="top"][data-top-menu-theme="premium-white"] .brand-version { color: #64748b; }

    html[data-menu-position="top"][data-top-menu-theme="premium-white"] .nav-link.active,
    html[data-menu-position="top"][data-top-menu-theme="premium-white"] .nav-group-toggle.active {
        background: color-mix(in srgb, var(--primary) 14%, transparent);
        color: inherit;
        min-width: 0;
        border-radius: 18px;
        box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 30%, transparent);
    }

    html[data-menu-position="top"][data-top-menu-theme="premium-white"] .nav-link.active .nav-icon,
    html[data-menu-position="top"][data-top-menu-theme="premium-white"] .nav-group-toggle.active .nav-icon {
        background: color-mix(in srgb, currentColor 10%, transparent);
        color: var(--primary);
    }

    html[data-menu-position="top"][data-top-menu-theme="premium-white"] .topmenu-tools {
        border-left: 1px solid #e2e8f0;
    }

    /* Modèle 2 — bloc bleu + dock blanc flottant */
    html[data-menu-position="top"][data-top-menu-theme="blue-dock"] .sidebar {
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: 0;
        align-items: stretch;
    }

    html[data-menu-position="top"][data-top-menu-theme="blue-dock"] .sidebar-brand {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        background: linear-gradient(160deg, #1e3a8a 0%, #2563eb 70%, #38bdf8 140%);
        color: #fff;
        border-radius: 26px 48px 48px 26px;
        padding: 0.4rem 1.2rem 0.4rem 0.65rem;
        margin-right: -18px;
        z-index: 2;
        box-shadow: 0 14px 30px rgba(29, 78, 216, 0.28);
    }

    html[data-menu-position="top"][data-top-menu-theme="blue-dock"] .brand-text,
    html[data-menu-position="top"][data-top-menu-theme="blue-dock"] .brand-version { color: #fff; }
    html[data-menu-position="top"][data-top-menu-theme="blue-dock"] .brand-mark { color: #dbeafe; }
    html[data-menu-position="top"][data-top-menu-theme="blue-dock"] #sidebar-brand-specialite { color: #fecaca; }

    html[data-menu-position="top"][data-top-menu-theme="blue-dock"] .topmenu-logo {
        background: rgba(255, 255, 255, 0.16);
        color: #fff;
        border-radius: 999px;
    }

    html[data-menu-position="top"][data-top-menu-theme="blue-dock"] .sidebar-toggle-btn--sidebar {
        display: inline-flex !important;
        width: 32px;
        height: 32px;
        margin-left: 0.35rem;
        border-radius: 999px;
        border: 0;
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
    }

    html[data-menu-position="top"][data-top-menu-theme="blue-dock"] .sidebar-nav {
        background: rgba(255, 255, 255, 0.94);
        border-radius: 28px 0 0 28px;
        margin-left: -6px;
        padding: 0.45rem 0.35rem 0.45rem 1.4rem;
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
        backdrop-filter: blur(14px);
    }

    html[data-menu-position="top"][data-top-menu-theme="blue-dock"] .sidebar-nav > a.nav-link[href*="dashboard.php"] {
        margin-left: 0.7rem;
    }

    html[data-menu-position="top"][data-top-menu-theme="blue-dock"] .nav-link.active,
    html[data-menu-position="top"][data-top-menu-theme="blue-dock"] .nav-group-toggle.active {
        background: color-mix(in srgb, var(--primary) 14%, transparent);
        box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 28%, transparent);
        position: relative;
    }

    html[data-menu-position="top"][data-top-menu-theme="blue-dock"] .nav-link.active::after,
    html[data-menu-position="top"][data-top-menu-theme="blue-dock"] .nav-group-toggle.active::after {
        content: "";
        position: absolute;
        left: 18%;
        right: 18%;
        bottom: 4px;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, #2563eb, #38bdf8);
        box-shadow: 0 0 10px rgba(37, 99, 235, 0.7);
    }

    html[data-menu-position="top"][data-top-menu-theme="blue-dock"] .sidebar-footer {
        background: rgba(255, 255, 255, 0.94);
        border-radius: 0 28px 28px 0;
        padding: 0.4rem 0.85rem 0.4rem 0.35rem;
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    }

    /* Modèle 3 — verre sur paysage bleu */
    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .sidebar {
        border-radius: 32px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
            radial-gradient(220px 80px at 88% 70%, rgba(255, 255, 255, 0.55), transparent 70%),
            radial-gradient(180px 70px at 8% 80%, rgba(14, 116, 144, 0.45), transparent 72%),
            linear-gradient(102deg, #0b3a5b 0%, #0e7490 18%, #7dd3fc 34%, rgba(255, 255, 255, 0.72) 46%, rgba(255, 255, 255, 0.55) 68%, #1d4ed8 100%);
        box-shadow: 0 18px 40px rgba(14, 116, 144, 0.28);
        overflow: hidden;
    }

    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .sidebar-brand {
        background: linear-gradient(180deg, rgba(12, 74, 110, 0.2), rgba(12, 74, 110, 0.05));
        border-radius: 24px 40px 40px 24px;
    }

    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .brand-text,
    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .brand-version { color: #fff; }
    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .brand-mark { color: #dbeafe; }
    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] #sidebar-brand-specialite { color: #fecaca; }

    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .topmenu-logo {
        background: rgba(255, 255, 255, 0.18);
        color: #fff;
    }

    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .sidebar-nav {
        background: rgba(255, 255, 255, 0.78);
        border-radius: 22px;
        backdrop-filter: blur(16px);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.55);
    }

    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .nav-link.active,
    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .nav-group-toggle.active {
        background: color-mix(in srgb, var(--primary) 14%, transparent);
        box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 28%, transparent);
        position: relative;
    }

    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .nav-link.active::after,
    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .nav-group-toggle.active::after {
        content: "";
        position: absolute;
        left: 22%;
        right: 22%;
        bottom: 5px;
        height: 3px;
        border-radius: 999px;
        background: #2563eb;
    }

    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .sidebar-footer {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(30, 64, 175, 0.25));
        border-radius: 22px;
        padding: 0.25rem 0.45rem;
    }

    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .topmenu-user-meta strong,
    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .topmenu-bell {
        color: #fff;
    }

    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .topmenu-user-meta small { color: rgba(255, 255, 255, 0.8); }

    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .topmenu-search,
    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .topmenu-bell,
    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .topmenu-user-avatar {
        background: rgba(255, 255, 255, 0.22);
        border-color: rgba(255, 255, 255, 0.35);
        color: #fff;
    }

    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .topmenu-search input { color: #fff; }
    html[data-menu-position="top"][data-top-menu-theme="landscape-glass"] .topmenu-search input::placeholder { color: rgba(255, 255, 255, 0.75); }

    /* Modèle 4 — aurore */
    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .sidebar {
        border-radius: 34px;
        background:
            radial-gradient(160px 90px at 6% 30%, rgba(196, 181, 253, 0.95), transparent 68%),
            radial-gradient(140px 80px at 18% 80%, rgba(34, 211, 238, 0.7), transparent 70%),
            radial-gradient(200px 90px at 94% 40%, rgba(37, 99, 235, 0.85), transparent 72%),
            linear-gradient(100deg, #1e1b4b 0%, #4338ca 16%, #2563eb 28%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0.82) 66%, #2563eb 100%);
        box-shadow: 0 20px 44px rgba(49, 46, 129, 0.3);
    }

    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .sidebar-brand {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        color: #fff;
    }

    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .brand-text,
    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .brand-version { color: #fff; }
    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .brand-mark { color: #dbeafe; }
    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] #sidebar-brand-specialite { color: #fecaca; }

    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .topmenu-logo {
        background: rgba(255, 255, 255, 0.16);
        color: #a5f3fc;
        border-radius: 999px;
    }

    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .sidebar-toggle-btn--sidebar {
        display: inline-flex !important;
        width: 32px;
        height: 32px;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.18);
        color: #fff;
    }

    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .sidebar-nav {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 24px;
        backdrop-filter: blur(12px);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    }

    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .nav-link.active,
    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .nav-group-toggle.active {
        background: color-mix(in srgb, var(--primary) 14%, transparent);
        box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 28%, transparent);
        position: relative;
    }

    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .nav-link.active::after,
    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .nav-group-toggle.active::after {
        content: "";
        position: absolute;
        left: 22%;
        right: 22%;
        bottom: 5px;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, #22d3ee, #2563eb);
    }

    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .topmenu-user-meta strong,
    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .topmenu-bell,
    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .topmenu-search,
    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .topmenu-search input { color: #fff; }

    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .topmenu-user-meta small,
    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .topmenu-search input::placeholder { color: rgba(255, 255, 255, 0.78); }

    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .topmenu-search,
    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .topmenu-bell,
    html[data-menu-position="top"][data-top-menu-theme="aurora-premium"] .topmenu-user-avatar {
        background: rgba(255, 255, 255, 0.16);
        border-color: rgba(255, 255, 255, 0.28);
        color: #fff;
    }

    @media (max-width: 1366px) {
        html[data-menu-position="top"][data-top-menu-theme] .sidebar { width: calc(100% - 0.8rem); }
        html[data-menu-position="top"][data-top-menu-theme] .nav-label,
        html[data-menu-position="top"][data-top-menu-theme] .nav-link,
        html[data-menu-position="top"][data-top-menu-theme] .nav-group-toggle { font-size: 0.62rem; }
        html[data-menu-position="top"][data-top-menu-theme] .topmenu-user-meta { display: none; }
        html[data-menu-position="top"][data-top-menu-theme] .topmenu-search { min-width: 7rem; }
    }
}

@media (prefers-reduced-motion: reduce) {
    html[data-menu-position="top"][data-top-menu-theme] .nav-link,
    html[data-menu-position="top"][data-top-menu-theme] .nav-group-toggle {
        transition: none;
    }
}
