/* Image de fond */
body {
    background-image: url("../img-bg-dguvt.jpeg");
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
}

/* Couche de couleur en transparence */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgb(255 255 255), rgb(255 255 255 / 0%));
    z-index: -1;
}

/* Footer fixe en bas */
footer {
    background-color: #1c5c3a;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 10px 0;
}

a#footer-left {
    background: blanchedalmond;
    color: cornflowerblue;
}

/* Marges pour le contenu principal */
.container-content {
    margin-top: 30px;
}

/* Logo */
.header-logo {
    width: 80px;

    object-fit: cover;
}

/* Masquer le bouton sur mobile */
@media (max-width: 768px) {
    .contact-btn {
        display: none;
    }

    .custom-lh {
        font-size: 10px;
    }

    .custom-lh2 {
        font-size: 10px;
    }
}

.custom-lh {
    line-height: 1.3;
}

.custom-lh2 {
    line-height: 0.8;
}

/* Style de base du bouton avec effet de pulsation */
.pulse-btn {
    position: relative;
    border: 2px solid #efd7b7;
    color: #fff;
    background-color: #1c5c3a;
    padding: 0.5rem 1.5rem;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.5rem;
}

.btn:hover {
    position: relative;
    border: 2px solid #efd7b7;
    color: #fff;
    background-color: #1c5c3a;
    /* padding: 0.5rem 1.5rem;
    font-size: 1.2rem;
    display: inline-flex; */
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.5rem;
}



/* Effet de pulsation de bordure */
.pulse-btn::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid rgba(0, 123, 255, 0.6);
    border-radius: 0.7rem;
    opacity: 1;
    animation: pulse 1.5s infinite;
}

/* Icône à l'intérieur du bouton */
.pulse-btn i {
    margin-right: 0.5rem;
}

/* Animation de la pulsation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}


.form-select {

    border: var(--bs-border-width) solid #5e3f339c;
}

.form-control {
    border: var(--bs-border-width) solid #5e3f339c;

}


hr.dashed {
    border-top: 2px dashed #999;
}

hr.dotted {
    border-top: 2px dotted #999;
}

hr.solid {
    border-top: 2px solid #999;
}


hr.hr-text {
    position: relative;
    border: none;
    height: 1px;
    background: #999;
}

hr.hr-text::before {
    content: attr(data-content);
    display: inline-block;
    background: #fff;
    font-weight: bold;
    font-size: 0.85rem;
    color: #999;
    border-radius: 30rem;
    padding: 0.2rem 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

div#rechercherFiltrer {
    background: mediumseagreen;
    color: whitesmoke;
    margin: 10px;
    border-radius: 5px;
}

#loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*
*
* ==========================================
* FOR DEMO PURPOSES
* ==========================================
*
*/

body {
    min-height: 100vh;
    background-color: #fff;
    color: #333;
}

.text-uppercase {
    letter-spacing: .1em;
}

/* Pour les petits écrans, réduisez davantage la taille du texte et le padding */
@media (max-width: 576px) {
    .footer {
        padding: 0.2rem 0;
        /* Réduit encore la hauteur sur les petits écrans */
    }

    .footer-text {
        font-size: 0.775rem;
        /* Réduit la taille du texte */
    }
}

@media (max-width: 767px) {
    .sous {
        padding: 0.2rem 0;
        margin-bottom: 5px;
        /* Réduit encore la hauteur sur les petits écrans */
    }

    .sous {
        font-size: 0.675rem;
        /* Réduit la taille du texte */
    }

    div#category-info {
        margin-top: 1px;
        padding: 1px;
        font-size: smaller;
    }

    div#category-info.p {
        padding: 0;
        margin: 5px;
    }
}



/* STYLE CONFORME CSP PAGE ACCUEIL */

.form-check {
    margin: 0;
}

.form-check-label {
    line-height: 1.4;
    margin-bottom: 0;
}

/* Styles pour tablette et mobile */
@media (max-width: 991px) {
    .form-check-input {
        margin-bottom: 8px !important;
    }

    .form-check {
        padding: 12px !important;
    }

    .form-check-label {
        font-size: 0.9rem;
    }
}

/* Styles spécifiques pour mobile */
@media (max-width: 576px) {
    .form-check {
        padding: 10px !important;
    }

    .form-check-input {
        width: 1.2em !important;
        height: 1.2em !important;
    }
}

/* Très petits écrans */
@media (max-width: 320px) {
    .form-check-label {
        font-size: 0.8rem;
    }

    .form-check {
        padding: 8px !important;
    }
}


.form-check-label {
    line-height: 1.4;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .w-md-auto {
        width: auto !important;
    }
}

@media (max-width: 767px) {
    .form-check-input {
        margin-bottom: 8px !important;
    }

    .form-check {
        padding: 12px !important;
    }

    .form-check-label {
        font-size: 0.9rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 320px) {
    .form-check-label {
        font-size: 0.8rem;
    }

    .btn {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
}

input#confirmCheck {
    border: 1px solid red;
    border-radius: .25em;
    margin: 3px;
}


@media (max-width: 767px) {
    .card {
        padding: 1rem !important;
    }

    .list-unstyled li {
        margin-bottom: 1rem !important;
    }

    .list-unstyled li:last-child {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 576px) {
    .card {
        padding: 0.75rem !important;
    }

    h5 {
        font-size: 1rem;
    }

    .list-unstyled {
        font-size: 0.9rem;
    }
}

/* 
##Device = Low Resolution Tablets, Mobiles (Landscape)
##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {

    /* CSS */
    .custom-bottom {
        margin-bottom: 60px;
    }

}

/* 
##Device = Most of the Smartphones Mobiles (Portrait)
##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {

    /* CSS */
    .custom-bottom {
        margin-bottom: 60px;
    }

}

.home-input-check {
    width: 1.5em;
    height: 1.5em;
}

.home-label-approve {
    color: red;
    font-weight: bold;
    text-align: justify;
}

.home-btn-subscribe {
    display: inline-flex;
    align-items: center;
}

.home-btn-subscribe-i {
    font-size: 1.5em;
    margin-right: 8px;
}

/* FIN STYLE CONFORME CSP PAGE ACCUEIL */










/* STYLE CONFORME CSP PAGE SOUSCRIPTION CHOIX TYPE */

.categorie {
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    margin: 0;
    min-height: 80px;
}

.categorie:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}



.categorie .form-check-input {
    margin: 0 auto 5px;
    display: block;
}

.form-check-label {
    display: block;
    cursor: pointer;
    word-wrap: break-word;
}

@media (max-width: 576px) {
    .categorie {
        padding: 8px !important;
    }

    .form-check-label {
        font-size: 0.85rem;
    }
}

@media (min-width: 1281px) {

    .custom-padding {
        padding-left: 150px;
        padding-right: 150px;
    }

}


/* 
##Device = Low Resolution Tablets, Mobiles (Landscape)
##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {

    .form-check-label {
        font-size: 12px;
    }

}

/* 
##Device = Most of the Smartphones Mobiles (Portrait)
##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {

    .form-check-label {
        font-size: 12px;
    }

}





.categorie {
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    margin: 0;
}

.categorie:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.categorie .form-check-input {
    margin: 0 auto 5px;
    display: block;
}

.form-check-label {
    display: block;
    cursor: pointer;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .categorie {
        padding: 10px !important;
    }

    .form-check-label {
        font-size: 0.9rem;
    }

    .forms-sample.container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .col-12 {
        padding-left: 5px;
        padding-right: 5px;
    }
}

div.categorie {
    border: 2px solid green;
    text-transform: uppercase;
    width: unset;
    height: unset;
}

/* 
##Device = Low Resolution Tablets, Mobiles (Landscape)
##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {

    .form-check-label {
        font-size: 10px;
    }

}

/* 
##Device = Most of the Smartphones Mobiles (Portrait)
##Screen = B/w 320px to 479px
*/
@media (min-width: 320px) and (max-width: 480px) {

    .form-check-label {
        font-size: 10px;
    }

}

.form-subscribe-style {
    background-color: #ffffffe3;
    padding: 5px;
}

.subscibe-custom-card {
    min-height: 100px;
}

.subscibe-custom-card-div {
    line-height: 1;
}

.subscribe-card-header {
    background-color: #1c5c3a;
}

#category-info {
    display: none;
    margin-top: 15px;
}

#limiteFin {
    display: none;
}

#continueButton {
    display: none;
}

#form-details-section {
    display: none;
}

.cat-header-detail {
    margin-top: 5px;
}

.btn-go-back {
    font-size: 12px;
    padding: 2px 8px;
    line-height: 1;
    height: auto;
}

.btn-go-back-i {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.alert-require-input {
    height: 60px;
    background-color: #5c481c;
}

/* style checkout */
div#check {
    background: rgb(192 181 181);
    border: 1px solid red;
    border-radius: 6px;
}

/* FIN STYLE CONFORME CSP PAGE SOUSCRIPTION CHOIX TYPE */


/* STYLE CONFORME CSP PAGE VERIFCATION */
.verif-recipice-stle {
    background-color: aliceblue;
}

/* FIN STYLE CONFORME CSP PAGE VERIFCATION */



/* STYLE CONFORME CSP PAGE RECEPISSE */
.recepisse-bg-section {
    background-color: aliceblue;
}

/* FIN STYLE CONFORME CSP PAGE RECEPISSE */


/* STYLE CONFORME CSP PAGE PAYMENT */

.payment-bg-color {
    background-color: #003f66;
    color: aliceblue;
    border-radius: 10px;

}

.ol-payment-custom {

    padding-left: 20px;
}

.payment-first-section {
    display: none;
}

#step2 {
    display: none;
}

.btn-reload-payment {
    color: #ff0000;
}

/* FIN STYLE CONFORME CSP PAGE PAYMENT */


/* STYLE EXPIRE DATE */

#ageexpired {
    background: linear-gradient(135deg, #949cb0, #4d5f61);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    /* Hauteur de la page */
}

#refresh {
    width: 16px;
    height: 16px;
}

/* FIN STYLE CONFORME CSP EXPIRE DATE */


/* STYLE FOOTER */

.copyright-label {
    color: rgb(255, 255, 255);
}

.label-author {
    color: rgb(255, 255, 255);
}

/* FIN STYLE CONFORME CSP FOOTER */



/* STYLE SUBSCIPTION CNIB */


.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin: 10px 0;
}

.qr-code img {
    width: 150px;
    height: 150px;
}

.document_cnib {
    width: 1000px;
    text-align: center;
    margin-left: 10%;
}

.cnib-image-doc {
    max-width: 100%;
    height: auto;
}


/* FIN STYLE CONFORME CSP SUBSCIPTION CNIB */
button#dropdownMenuButton {
    color: aliceblue;
    background: border-box;
}

/* STYLE SUBSCIPTION TIRAGE */


#aValider {
    display: none;
}


#imgAccueilHeaderGauche {
    width: 300px;
    height: 120px;
}

/* FIN STYLE CONFORME CSP SUBSCIPTION TIRAGE */


/* STYLE SUBSCIPTION SOUSCRIPTION */


#loader {
    display: none;
}



/* FIN STYLE CONFORME CSP SUBSCIPTION SOUSCRIPTION */



/* STYLE BOUTON RADIO */


/* Style personnalisé pour le radio */
.custom-radio {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

/* Style pour le radio sélectionné */
.custom-radio:checked {
    border-color: #c8c7bf;
    background-color: #c19716;
}

/* Créer le point central */
.custom-radio:checked::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



/* FIN STYLE BOUTON RADIO */




/* CLASS POUR EVITER L'AJOUT DE STYLE PAR JS */

/* États initiaux */
#category-info {
    display: none;
}

#form-details-section {
    display: none;
}

#limiteFin {
    display: none;
}

#continueButton {
    display: none;
}

/* Classes personnalisées */
.cust-hidden {
    display: none !important;
}

.cust-block {
    display: block !important;
}

.cust-inline-block {
    display: inline-block !important;
}

/* Animation de clignotement */
.cust-blink {
    animation: cust-blink-animation 1s ease-in-out 3;
}

@keyframes cust-blink-animation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

/* Classe pour catégorie sélectionnée */
.cust-selected-category {
    border-color: #198754 !important;
    /* couleur verte bootstrap */
    color: wheat !important;
    background-color: green !important;
}

/* Style pour les boutons radio personnalisés - déjà présent dans votre code */
.custom-radio-container {
    text-align: center;
    padding: 10px;
}

.custom-radio {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    margin-bottom: 8px;
    cursor: pointer;
    position: relative;
}

/* CLASS POUR EVITER L'AJOUT DE STYLE PAR JS */

/* Style pour le formulaire inscription */
#pays_residence {
    text-transform: uppercase;
}

.cnib-info {
    border: 1px solid #988379;
    background-color: #9b857b47;
    padding: 12px;
}

.nip_cnib_container {
    display: none;
}



/* STYLE CUSTOM POPUP */



/* Dans votre fichier CSS */
.swal2-popup {
    font-size: 0.875rem !important;
}

.swal2-toast {
    background: #fff !important;
    box-shadow: 0 0 1rem rgba(0, 0, 0, .15) !important;
}

.swal2-title {
    color: #333 !important;
}

.swal2-timer-progress-bar {
    background: #4CAF50 !important;
}


/* STYLE CUSTOM POPUP */

button.btn.btn-secondary.buttons-excel.buttons-html5 {
    background: green;
    margin-left: 2px;
}

/* back */
button.dt-button.buttons-csv.buttons-html5 {
    width: 50px;
    background: rgb(67, 88, 67);
    border: 1px solid green;
    border-radius: 5px;
    color: antiquewhite;
}

button.dt-button.buttons-excel.buttons-html5 {
    width: 60px;
    background: green;
    border: 1px solid green;
    border-radius: 5px;
    color: antiquewhite;
}

/* Masquer toutes les colonnes sauf les 3 premières */
/* #dataTableExample th:nth-child(n+4),
#dataTableExample td:nth-child(n+4) {
    display: none;
} */

.document-btn {
    white-space: nowrap;
}

#loadingIndicator {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    text-align: center;
    padding-top: 200px;
}