/* =====================================================
   Station Digit – Thème de marque
   Couleurs : Navy #0D2240 | Vert #2DB84B
   ===================================================== */

/* --- Sidebar : dégradé navy --- */
.bg-gradient-primary {
    background-color: #0D2240 !important;
    background-image: linear-gradient(180deg, #0D2240 10%, #071526 100%) !important;
}

/* --- Boutons primaires : vert --- */
.btn-primary {
    background-color: #2DB84B !important;
    border-color: #2DB84B !important;
    color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
    background-color: #1e9436 !important;
    border-color: #1e9436 !important;
    color: #fff !important;
}
.btn-primary:focus,
.btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(45, 184, 75, 0.5) !important;
}

/* --- Liens & textes primaires --- */
a { color: #0D2240; }
a:hover { color: #2DB84B; }
.text-primary { color: #2DB84B !important; }

/* --- Fond & bordures primaires --- */
.bg-primary { background-color: #2DB84B !important; }
.border-primary { border-color: #2DB84B !important; }

/* --- Cartes dashboard : barre latérale gauche --- */
.border-left-primary { border-left: 0.25rem solid #2DB84B !important; }

/* --- Liens actifs dans la sidebar --- */
.sidebar .nav-item .nav-link:hover,
.sidebar .nav-item.active .nav-link {
    color: #2DB84B !important;
}
.sidebar .nav-item .nav-link i {
    color: rgba(255, 255, 255, 0.6);
}
.sidebar .nav-item .nav-link:hover i,
.sidebar .nav-item.active .nav-link i {
    color: #2DB84B !important;
}

/* --- Bouton scroll-to-top --- */
.scroll-to-top {
    background-color: #2DB84B !important;
}
.scroll-to-top:hover {
    background-color: #1e9436 !important;
}

/* --- Outline / ring de focus input --- */
.form-control:focus {
    border-color: #2DB84B;
    box-shadow: 0 0 0 0.2rem rgba(45, 184, 75, 0.25);
}

/* --- Badges & alertes primary --- */
.badge-primary { background-color: #2DB84B !important; }
.alert-primary {
    background-color: rgba(45, 184, 75, 0.1) !important;
    border-color: #2DB84B !important;
    color: #0D2240 !important;
}

/* --- Progress bar --- */
.progress-bar { background-color: #2DB84B !important; }

/* --- Pagination active --- */
.page-item.active .page-link {
    background-color: #2DB84B !important;
    border-color: #2DB84B !important;
}
.page-link { color: #0D2240; }
.page-link:hover { color: #2DB84B; }

/* --- Topbar / navigation bar --- */
.topbar { background-color: #fff; }

/* --- Login : fond page --- */
body.bg-gradient-primary {
    background-color: #0D2240 !important;
    background-image: linear-gradient(180deg, #0D2240 10%, #071526 100%) !important;
}

/* --- Sidebar brand text --- */
.sidebar-brand-text {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: #fff !important;
}
