:root {
    --app-header-height: 56px;
    --app-bottom-nav-height: 60px;
}

/* Compensa header e menu inferior */
body {
    padding-top: var(--app-header-height);
    padding-bottom: var(--app-bottom-nav-height);
    background-color: #f8f9fa;
}

/* Em telas maiores, sem menu inferior fixo */
@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* Conteúdo principal */
.app-content {
    min-height: calc(100vh - var(--app-header-height));
}

/* Header */
.app-header {
    z-index: 1030;
}

/* MENU INFERIOR MOBILE */
.bottom-nav {
    position: fixed;
    z-index: 1030;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--app-bottom-nav-height);
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

/* Esconde menu inferior em telas >= md (já resolvido pelo d-md-none, mas reforça) */
@media (min-width: 768px) {
    .bottom-nav {
        display: none;
    }
}

/* Links do menu inferior */
.bottom-nav-link {
    flex: 1;
    text-align: center;
    text-decoration: none;
    font-size: 0.75rem;
    color: #6c757d;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding-top: 4px;
}

    .bottom-nav-link i {
        font-size: 1.3rem;
    }

    /* Estado ativo */
    .bottom-nav-link.active {
        color: var(--bs-primary);
        font-weight: 600;
    }

        .bottom-nav-link.active i {
            color: var(--bs-primary);
        }

    /* Hover */
    .bottom-nav-link:hover {
        background-color: rgba(0, 0, 0, 0.02);
    }
