﻿/* Fichier CSS personnalisé pour la couleur bleue #111f87 */

/* Redéfinition des couleurs Bootstrap */
:root {
    --bs-primary: #111f87 !important;
    --bs-primary-rgb: 17, 31, 135 !important;
}

/* Boutons primaires */
.btn-primary {
    background-color: #111f87 !important;
    border-color: #111f87 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #0e1a6b !important;
    border-color: #0e1a6b !important;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(17, 31, 135, 0.25) !important;
}

/* Liens primaires */
.text-primary {
    color: #111f87 !important;
}

/* Arrière-plans primaires */
.bg-primary {
    background-color: #111f87 !important;
}

/* Bordures primaires */
.border-primary {
    border-color: #111f87 !important;
}

/* Badges primaires */
.badge-primary {
    background-color: #111f87 !important;
}

/* Alertes primaires */
.alert-primary {
    background-color: rgba(17, 31, 135, 0.1) !important;
    border-color: rgba(17, 31, 135, 0.2) !important;
    color: #111f87 !important;
}

/* Cartes avec bordures primaires */
.card-primary {
    border-color: #111f87 !important;
}

/* Navigation */
.navbar-primary {
    background-color: #111f87 !important;
}

/* Sidebar */
.sidebar-primary {
    background-color: #111f87 !important;
}

/* Tableaux */
.table-primary {
    background-color: rgba(17, 31, 135, 0.1) !important;
}

/* Progress bars */
.progress-bar-primary {
    background-color: #111f87 !important;
}

/* Formulaires */
.form-control:focus {
    border-color: #111f87 !important;
    box-shadow: 0 0 0 0.2rem rgba(17, 31, 135, 0.25) !important;
}

/* Checkboxes et radios */
.form-check-input:checked {
    background-color: #111f87 !important;
    border-color: #111f87 !important;
}

/* Pagination */
.page-link {
    color: #111f87 !important;
}

.page-link:hover {
    color: #0e1a6b !important;
}

.page-item.active .page-link {
    background-color: #111f87 !important;
    border-color: #111f87 !important;
}

/* Dropdowns */
.dropdown-item:hover {
    background-color: rgba(17, 31, 135, 0.1) !important;
}

/* Modals */
.modal-header {
    border-bottom-color: #111f87 !important;
}

/* Breadcrumbs */
.breadcrumb-item.active {
    color: #111f87 !important;
}

/* Listes */
.list-group-item-primary {
    background-color: rgba(17, 31, 135, 0.1) !important;
    color: #111f87 !important;
}

/* Boutons outline */
.btn-outline-primary {
    color: #111f87 !important;
    border-color: #111f87 !important;
}

.btn-outline-primary:hover {
    background-color: #111f87 !important;
    border-color: #111f87 !important;
}

/* Icônes et éléments spéciaux */
.fa-primary {
    color: #111f87 !important;
}

/* Variables CSS personnalisées */
:root {
    --primary-color: #111f87;
    --primary-light: #111f87;
    --primary-dark: #0e1a6b;
    --primary-soft: rgba(17, 31, 135, 0.1);
}

/* Classes utilitaires personnalisées */
.text-primary-custom {
    color: #111f87 !important;
}

.bg-primary-custom {
    background-color: #111f87 !important;
}

.border-primary-custom {
    border-color: #111f87 !important;
}

/* Override pour les éléments spécifiques du projet */
.btn-primary-action {
    background-color: #111f87 !important;
    border-color: #111f87 !important;
}

.btn-primary-action:hover {
    background-color: #0e1a6b !important;
    border-color: #0e1a6b !important;
}

/* Statistiques et cartes */
.stats-card .stats-number {
    color: #111f87 !important;
}

/* Navigation et menus */
.nav-link.active {
    color: #111f87 !important;
}

/* Formulaires et champs */
.form-label {
    color: #111f87 !important;
}

/* Boutons d'action */
.action-buttons .btn-primary {
    background-color: #111f87 !important;
    border-color: #111f87 !important;
}

/* Override pour tous les éléments bleus */
*[style*="color: #111f87"],
*[style*="color: #111f87"],
*[style*="color: #111f87"],
*[style*="color: #111f87"],
*[style*="background-color: #111f87"],
*[style*="background-color: #111f87"],
*[style*="background-color: #111f87"],
*[style*="background-color: #111f87"] {
    color: #111f87 !important;
    background-color: #111f87 !important;
}

