/* Règles CSS pour forcer le texte blanc sur tous les fonds bleus */

/* Règle générale pour tous les éléments avec fond bleu */
*[style*="background-color: #111f87"],
*[style*="background-color: #1e3a8a"],
*[style*="background-color: #0f172a"],
*[style*="background-color: #2563eb"],
*[style*="background-color: #3b82f6"],
*[style*="background-color: #1d4ed8"],
*[style*="background-color: #0d6efd"],
*[style*="background-color: #007bff"],
*[style*="background-color: #0066cc"],
*[style*="background-color: #0056b3"],
*[style*="background-color: #2196f3"],
*[style*="background-color: #1976d2"] {
    color: #ffffff !important;
}

/* Règles pour toutes les classes de fond bleu */
.bg-primary,
.bg-primary-soft,
.bg-primary-light,
.bg-primary-main,
.bg-primary-dark,
.bg-blue,
.bg-info,
.hero-section,
.bg-gradient-primary {
    color: #ffffff !important;
}

/* Règles pour tous les éléments enfants sur fond bleu */
.bg-primary *,
.bg-primary-soft *,
.bg-primary-light *,
.bg-primary-main *,
.bg-primary-dark *,
.bg-blue *,
.bg-info *,
.hero-section *,
.bg-gradient-primary * {
    color: #ffffff !important;
}

/* Règles spécifiques pour les composants */
.card.bg-primary,
.card-header.bg-primary,
.modal-header.bg-primary,
.alert-primary,
.badge.bg-primary,
.btn-primary,
.navbar.bg-primary,
.sidebar.bg-primary {
    color: #ffffff !important;
}

.card.bg-primary *,
.card-header.bg-primary *,
.modal-header.bg-primary *,
.alert-primary *,
.badge.bg-primary *,
.btn-primary *,
.navbar.bg-primary *,
.sidebar.bg-primary * {
    color: #ffffff !important;
}
