/* Orchid sidebar only: keep the original menu, permissions and mobile toggle. */
.aside[data-controller~="menu"] {
    --sidebar-accent: #69d7e8;
    --sidebar-muted: #91aabe;
    background: radial-gradient(ellipse at 0 0, #12364b 0, transparent 52%),
        linear-gradient(180deg, #0b1b2b, #060f1a) !important;
    color: #d9eaf3;
    border-right: 1px solid #b9e2f024;
}

.aside .bonus-sidebar-brand {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 0 8px 12px;
}

.aside .bonus-sidebar-brand img {
    display: block;
    width: 188px;
    max-width: 100%;
    height: auto;
}

.aside .bonus-sidebar-brand__labels {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.aside .bonus-sidebar-brand span {
    color: #b4c7d7;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.aside .bonus-sidebar-brand .bonus-sidebar-brand__site {
    color: #e6f3f8;
    font-weight: 600;
}

.aside[data-controller~="menu"] .text-muted {
    color: var(--sidebar-muted) !important;
}

.aside .aside-collapse > .nav > .nav-item > small {
    display: block;
    width: auto !important;
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.aside[data-controller~="menu"] .nav > .nav-item > a {
    width: calc(100% - 24px);
    margin: 3px 12px;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #b9cddb;
    font-size: 14px;
    transition: color .18s, background-color .18s, border-color .18s;
}

.aside[data-controller~="menu"] .nav > .nav-item > a svg {
    color: #7bafc3;
    flex-shrink: 0;
}

.aside[data-controller~="menu"] .nav > .nav-item:hover > a,
.aside[data-controller~="menu"] .nav > .nav-item > a:focus {
    background-color: #69d7e810 !important;
    border-color: #69d7e81c;
    color: #edfaff;
    border-radius: 11px;
}

.aside[data-controller~="menu"] .nav > .nav-item.active > a {
    background: linear-gradient(105deg, #29b9d529, #29b9d510) !important;
    border-color: #69d7e82e;
    box-shadow: inset 3px 0 0 #29b9d5;
    color: #b4f0f6;
}

.aside[data-controller~="menu"] .nav > .nav-item.active > a svg,
.aside[data-controller~="menu"] .nav > .nav-item:hover > a svg {
    color: var(--sidebar-accent);
}

.aside[data-controller~="menu"] .divider {
    margin-left: 24px;
    margin-right: 24px;
    border-color: #b9e2f01a;
    background-color: #b9e2f01a;
}

.aside[data-controller~="menu"] .aside-collapse > footer > .bg-dark {
    background: transparent !important;
    border: 0;
}

.aside .profile-container {
    background: #ffffff05;
    border: 1px solid #b9e2f01c;
    border-radius: 13px !important;
    margin: 12px 10px 0;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.aside .profile-container .text-white {
    color: #e6f3f8 !important;
}

.aside[data-controller~="menu"] .scroll-to-top,
.aside[data-controller~="menu"] .header-toggler {
    color: #a7cedd;
}

.aside[data-controller~="menu"] .form-control {
    background-color: #ffffff06 !important;
    border-color: #b9e2f024;
    border-radius: 11px;
    color: #e6f3f8;
}

.aside[data-controller~="menu"] .form-control::placeholder {
    color: var(--sidebar-muted);
}

.aside[data-controller~="menu"] a:focus-visible {
    outline: 2px solid var(--sidebar-accent);
    outline-offset: 2px;
    box-shadow: none;
}

@media (max-width: 1199.98px) {
    .aside .bonus-sidebar-brand {
        padding: 0;
    }

    .aside .bonus-sidebar-brand img {
        width: 132px;
    }

    .aside .bonus-sidebar-brand__labels {
        display: none;
    }

    .aside[data-controller~="menu"] {
        width: 100%;
        height: 64px;
        border-right: 0;
        border-bottom: 1px solid #b9e2f024;
    }

    .aside[data-controller~="menu"] > header {
        min-height: 64px;
        gap: 12px;
        padding: 12px 16px !important;
    }

    .aside .header-brand {
        flex-shrink: 0;
    }

    .aside .header-toggler {
        min-width: 0;
    }

    .aside .header-toggler span {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aside[data-controller~="menu"] .nav > .nav-item > a {
        transition: none;
    }
}
