/* Mantem o menu lateral fixo no desktop e deixa apenas o conteudo rolar. */
@media (min-width: 992px) {
    #app:not(.layout-auth) {
        height: 100vh;
        min-height: 100vh !important;
        overflow: hidden;
    }

    #app:not(.layout-auth) > .sidebar {
        position: sticky;
        top: 0;
        align-self: flex-start;
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
    }

    #app:not(.layout-auth) > .flex-fill {
        height: 100vh;
        min-height: 0;
        overflow: hidden;
    }

    #app:not(.layout-auth) .navbar {
        flex: 0 0 64px;
        top: 0;
        z-index: 1030;
    }

    #app:not(.layout-auth) #page-content {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
    }
}
