.active > .page-link, .page-link.active {
    background-color: #5E74B8 !important;
    border-color: #5E74B8 !important;
}

::-webkit-scrollbar {
    width: 10px;
    border-radius: 15px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 15px;
}

::-webkit-scrollbar-thumb {
    background: rgba(220, 220, 220, 0.86);
    border-radius: 15px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(209, 209, 209, 0.8);
    border-radius: 15px;
}

.img-ico {
    min-height: 90%;
    object-fit: contain;
}

.img-ico:hover {
    transition: 0.4s;
    background-color: #0C419A;
    cursor: pointer;
}

.banner {
    background-color: white;
}

.banner-icon {
    width: 180px;
    position: absolute;
    left: 2%;
    top: 0;
    z-index: 999;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.env-badge {
    position: absolute;
    top: 10px;
    right: -65px; /* ajuste selon ton besoin */
    background-color: #d9534f; /* rouge "dev" */
    color: white;
    padding: 2px 8px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.env-badge-qualif {
    position: absolute;
    top: 10px;
    right: -75px; /* ajuste selon ton besoin */
    background-color: #ffdc00; /* rouge "dev" */
    color: white;
    padding: 2px 8px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.btn-secondary.btn-s {
    color: #fff;
    background-color: #FF8C00;
    border-color: transparent;
}

.text-secondary {
    color: #545859 !important;
}

.card, .card-body {
    border: none;
}

.card-header {
    background-color: #0C419A !important;
}

.del {
    background-color: #C74E5A !important;
}

.del:hover {
    background-color: #813338 !important;
}

.edit {
    background-color: #298478 !important;
}

.edit:hover {
    background-color: #1a534b !important;
}

.norm {
    background-color: rgb(246, 246, 246) !important;
}

.norm:hover {
    background-color: rgb(234, 234, 234) !important;
}

.card-footer {
    background-color: white !important;
}

.btn.btn-b {
    transition: 1s;
    background-color: #5E74B8;
    border: none;
}

.btn:hover.btn-b {
    background-color: #0C419A;
}

.accordion-button.ac {
    background-color: #e7efff;
    text-decoration: none;
}

.img-ico:hover {
    transition: 0.4s;
    background-color: #0C419A !important;
    cursor: pointer;
}

.form-label.required::after, .form-check-label.required::after, legend.required:after {
    color: #E04F39;
    font-weight: bold;
}

.contenant {
    width: 90%;
    margin: auto;
}

.form-legend {
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
}

.form-legend span {
    color: red;
    font-weight: bold;
}

/* Enlever l'effet grisé */
.flatpickr-input {
    background-color: white !important; /* Couleur de fond blanche */
    cursor: pointer;
}

/* Sur hover */
.flatpickr-input:hover {
    background-color: #f0f8ff; /* Fond légèrement coloré */
}

/* Si une valeur est saisie */
.flatpickr-input:not(:placeholder-shown) {
    background-color: white;
    font-weight: bold;
}

/* mot de passe */

#password-feedback {
    margin-top: 15px;
}

.password-rule {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.password-rule .password-rule-icon {
    margin-right: 10px;
    font-size: 18px;
    color: #d9534f; /* Croissance de couleur rouge pour la croix */
}

.password-rule.valid .password-rule-icon {
    color: #28a745; /* Vert pour check */
}

.password-rule.invalid .password-rule-icon {
    color: #d9534f; /* Rouge pour croix */
}

.password-rule.valid span {
    color: #28a745;
}

.password-rule.invalid span {
    color: #d9534f;
}

.password-rule {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.password-rule.valid {
    opacity: 1;
}

.password-rule.invalid {
    opacity: 1;
}





