/* PANDAWA STUDIO — Member drawer content flow correction v1.8.
 * Fixes Tabler flex wrapping that moved the menu into an off-canvas second column.
 * Scoped only to the Member sidebar on mobile/tablet.
 */
@media (max-width: 991.98px) {
    body.pandawa-member-shell .pandawa-member-sidebar > .container-fluid {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-content: stretch !important;
        align-items: stretch !important;
    }

    body.pandawa-member-shell .pandawa-member-sidebar .pandawa-member-sidebar-collapse {
        position: static !important;
        inset: auto !important;
        display: flex !important;
        flex: 1 1 auto !important;
        flex-basis: auto !important;
        flex-direction: column !important;
        align-items: stretch !important;
        align-self: stretch !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    body.pandawa-member-shell .pandawa-member-sidebar .pandawa-member-sidebar-identity,
    body.pandawa-member-shell .pandawa-member-sidebar .navbar-nav,
    body.pandawa-member-shell .pandawa-member-sidebar .pandawa-member-nav-heading,
    body.pandawa-member-shell .pandawa-member-sidebar .nav-item {
        visibility: visible !important;
        opacity: 1 !important;
    }

    body.pandawa-member-shell .pandawa-member-sidebar .navbar-nav {
        display: flex !important;
        flex: 0 0 auto !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        min-width: 0 !important;
    }
}
