/* Styles personnalisés pour le menu utilisateur dans la navbar */
.user-menu-item .user-toggle {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 4px;
    background-color: var(--yellow-primary);
}

.user-menu-item .user-toggle:hover {
    opacity: 0.9;
}

.user-dropdown-menu {
    border-top: 3px solid var(--yellow-primary);
}

.user-dropdown-menu a {
    color: var(--dark-gray);
    font-weight: 600;
}

.user-dropdown-menu a:hover {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    border-left: 3px solid var(--yellow-primary);
}

/* Styles pour le menu latéral "Mon espace client" */
.card-header.bg-primary {
    background-color: var(--yellow-primary) !important;
    border-color: var(--yellow-primary);
}

.list-group-item.active {
    background-color: var(--yellow-primary) !important;
    border-color: var(--yellow-primary) !important;
    color: var(--dark-gray) !important;
}

.list-group-item-action:hover {
    background-color: rgba(255, 184, 28, 0.1);
    color: var(--dark-gray);
}

/* Remplacer les couleurs primaires de Bootstrap par notre jaune */
.btn-primary,
.bg-primary,
.btn-outline-primary:hover {
    background-color: var(--yellow-primary) !important;
    border-color: var(--yellow-primary) !important;
    color: var(--dark-gray) !important;
}

/* Correction pour le texte des boutons */
/* Classe spécifique pour le texte primaire */
.text-primary {
    color: var(--yellow-primary) !important;
    background-color: transparent !important;
}

/* Assurer que le texte est visible sur les boutons jaunes */
.btn-outline-primary:hover,
.btn-primary {
    color: #000000 !important; /* Noir pour un meilleur contraste sur fond jaune */
    font-weight: 600;
}
.btn-outline-primary {
    color: var(--yellow-primary) !important;
    border-color: var(--yellow-primary) !important;
}
/* Styles spécifiques pour les boutons d'action rapide */
.btn-outline-primary.w-100.p-3 {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Style pour le bouton "Voir toutes" */
.btn-sm.btn-outline-primary {
    color: #000000 !important;
    font-weight: 600 !important;
    background-color: var(--yellow-primary) !important;
}

.text-primary {
    color: var(--yellow-primary) !important;
    background-color: transparent !important;
}

.fas.text-primary {
    color: var(--yellow-primary) !important;
}