/* Responsive shell navigation: side nav on md+, bottom nav on small screens. */

.app-shell-side {
    position: sticky;
    top: 0;
    align-self: flex-start;
    width: 230px;
    min-width: 230px;
    height: 100vh;
    overflow-y: auto;
}

.app-shell-side .nav-link {
    border-radius: 0.375rem;
}

.app-shell-side .nav-link.active {
    background-color: rgba(255, 255, 255, 0.18);
}

.app-shell-brand {
    font-weight: 600;
}

.app-shell-bottom .nav-link {
    font-size: 0.7rem;
    opacity: 0.85;
}

.app-shell-bottom .nav-link.active {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.14);
}

@media (min-width: 768px) {
    #app-shell {
        display: flex;
        align-items: stretch;
    }

    #app-shell-content {
        flex: 1 1 auto;
        min-width: 0;
    }
}

@media (max-width: 767.98px) {
    #app-shell-content {
        padding-bottom: 5.5rem;
    }

    .app-shell-bottom .nav-link {
        font-size: 1.1rem;
        min-height: 44px;
        min-width: 44px;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .app-shell-bottom .nav-link span {
        display: none;
    }
}
