/* 
 * Styles pour le menu de navigation en bas de l'application Order Prep
 */

/* Menu de navigation fixe en bas */
.order-prep-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center; /* Centrer le contenu horizontalement */
    padding: 0 10px;
    z-index: 500;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

/* Logo du site dans le menu */
.bottom-nav-logo {
    height: 40px;
    max-width: 80px;
    display: flex;
    align-items: center;
    margin-right: 20px; /* Espacement entre le logo et les boutons */
}

.bottom-nav-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Conteneur des icônes de navigation */
.bottom-nav-items {
    display: flex;
    align-items: center;
    justify-content: space-around; /* Espacement uniforme entre les boutons */
    gap: 15px; /* Espacement fixe entre les éléments */
    max-width: 500px;
}

/* Icônes de navigation */
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    font-size: 10px;
    padding: 6px 10px;
    position: relative;
    transition: color 0.2s ease;
}

.bottom-nav-item:hover, 
.bottom-nav-item.active {
    color: #00e2be;
}

.bottom-nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-nav-icon svg {
    width: 100%;
    height: 100%;
}

.bottom-nav-label {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

/* Indicateur de notification */
.nav-notification {
    position: absolute;
    top: 4px;
    right: 6px;
    width: 8px;
    height: 8px;
    background-color: #ff5252;
    border-radius: 50%;
}

/* Responsive styles */
@media (max-width: 480px) {
    .bottom-nav-logo {
        max-width: 60px;
        margin-right: 15px;
    }
    
    .bottom-nav-items {
        gap: 10px; /* Réduire l'espacement sur petits écrans */
    }
    
    .bottom-nav-item {
        padding: 6px;
    }
    
    .bottom-nav-label {
        font-size: 9px;
    }
}

@media (max-width: 360px) {
    .bottom-nav-logo {
        max-width: 50px;
        margin-right: 10px;
    }
    
    .bottom-nav-items {
        gap: 8px; /* Espacement minimal sur très petits écrans */
    }
    
    .bottom-nav-item {
        padding: 6px 4px;
    }
    
    .bottom-nav-label {
        display: none; /* Masquer les labels sur très petits écrans */
    }
    
    .bottom-nav-icon {
        margin-bottom: 0;
    }
}