.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease-in-out, height 0.3s ease-in-out;
    height: 60px;
}

.bottom-navbar.hidden {
    transform: translateY(100%);
}

.nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 5px 0;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333333;
    font-size: 0.65rem;
    flex: 1;
}

.bottom-nav-item i {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.bottom-nav-item.active {
    color: #dc3545;
}

.center-icon {
    display: none;
    transition: opacity 0.3s ease-in-out;
}

/* Estilo para navbar compacta */
.bottom-navbar.compact {
    height: 50px;
}

.bottom-navbar.compact .nav-content {
    justify-content: space-between;
    padding: 0 10px;
}
/*
.bottom-navbar.compact .bottom-nav-item span {
    display: none;
}
*/
.bottom-navbar.compact .center-icon {
    display: flex;
    position: relative;
    opacity: 1;
    top: -15px;
}

.bottom-navbar.compact .nav-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    padding: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Ocultar o primeiro item (Info) no modo compacto */
.bottom-navbar.compact .bottom-nav-item:first-child {
    display: none;
}

/* Ajustar o espaçamento dos itens restantes no modo compacto */
.bottom-navbar.compact .bottom-nav-item {
    flex: 0 1 auto;
    margin: 0 10px;
}

/* Media queries */
@media (max-width: 360px) {
    .bottom-nav-item {
        font-size: 0.55rem;
    }
    .bottom-nav-item i {
        font-size: 1rem;
    }
    .bottom-navbar.compact .center-icon {
        top: -10px;
    }
    .bottom-navbar.compact .nav-logo {
        width: 40px;
        height: 40px;
    }
}

/* Ajustes para acomodar 5 itens + logo */
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-nav-item {
    flex: 1;
    text-align: center;
}

.center-icon {
    flex: 0 0 auto; /* Não cresce nem encolhe */
    margin: 0 10px; /* Ajuste conforme necessário */
}