﻿.sidebar-switch {
    display: flex;
    border-bottom: solid 1px var(--bs-border-color);
    justify-content: center;
    align-items: center;
}

    .sidebar-switch ::deep .form-label {
        margin: 0 0.5rem 0 0;
    }

    .sidebar-switch ::deep .switch {
        width: auto;
    }

.navbar {
    background-color: var(--bb-sidebar-navbar-bg);
}

.navbar-toggler {
    background-color: var(--bb-sidebar-navbar-bar-bg);
}

.sidebar-content {
    position: relative;
}

::deep .badge-menu {
    background-color: var(--bb-primary-color);
}

::deep .icon-summary {
    color: var(--bb-primary-color);
}

@media (min-width: 768px) {
    .sidebar-content {
        height: calc(100vh - var(--bs-header-height));
    }

        .sidebar-content.collapse {
            display: flex;
            flex-direction: column;
        }

    ::deep .scroll {
        overflow-x: hidden;
        max-height: calc(100% - 36px);
        padding: 5px 0;
    }

        ::deep .scroll .menu {
            width: var(--bb-sidebar-width);
        }
}
