/* ==========================================================================
   [ÉTAT : À CONFIRMER]
   FICHIER : banniere_universelle.css
   RÔLE : Grille rigide et styles de la navigation principale
   Auteurs : Yvan Dubé & Gemini (IA Collaboratrice)
   ========================================================================== */

#banniere {
    width: 100%;
    background-color: white;
    border-bottom: 2px solid var(--couleur-bordure, #ddd);
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

/* Grille stricte à 8 colonnes de taille égale */
.banniere-grille {
    display: grid;
    grid-template-columns: repeat(8, 1fr); 
    gap: 10px;
    align-items: center;
    max-width: 1600px; /* S'ajuste selon tes écrans de caisse */
    margin: 0 auto;
}

/* Conteneur de chaque bouton (Slot) */
.banniere-slot {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Style des boutons inspiré de ta capture d'écran */
.btn-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 160px; /* Empêche les boutons de devenir trop larges */
    height: 40px;
    background-color: #f2f2f2; /* Gris clair par défaut */
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
    
    /* Empêche le texte long (ex: nom du profil) de casser le design */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
}

.btn-nav:hover {
    background-color: var(--couleur-primaire, #925fb9);
    color: white !important;
}

.btn-nav.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-nav.disabled:hover {
    background-color: #f2f2f2;
    color: #333 !important;
}