.bg_top {
    background-color: #003a74;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    border: 0;
    border-radius: 10px;
    background: initial;
    background-color: #3F51B5 !important;
    color: #fff;
    font-size: 1em;
}

div:where(.swal2-container).swal2-center>.swal2-popup {
    grid-column: 2;
    grid-row: 2;
    place-self: center center;
    border-radius: 30px;
}


/* ============ mobile view ============ */
@media(max-width: 991px) {

    .navbar.fixed-top .navbar-collapse,
    .navbar.sticky-top .navbar-collapse {
        overflow-y: auto;
        max-height: 90vh;
        margin-top: 10px;
    }
}

/* ============ mobile view .end// ============ */

.floating-button {
    position: fixed;
    bottom: 50%;
    /* Place le bouton verticalement au milieu */
    right: 20px;
    transform: translateY(50%);
    /* Décale le bouton de 50% de sa hauteur pour le centrer verticalement */
    z-index: 1;
}

.floating-button .btn {
    position: relative;
    width: 60px;
    /* Ajustez la largeur du bouton selon vos besoins */
    height: 60px;
    /* Ajustez la hauteur du bouton selon vos besoins */
    overflow: hidden;
    transition: width 0.3s ease-out;
    /* Ajout d'une transition pour l'effet de survol */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Alignement du contenu à droite */
}

.floating-button .btn i,
.floating-button .btn .btn-text {
    position: absolute;
    transition: opacity 0.3s ease-in;
    /* Animation de fondu pour l'icône et le texte au survol */
    text-align: center;
}

.floating-button .btn i {
    left: 21px;
    /* Positionnement de l'icône */
    top: 50%;
    /* Centrage vertical de l'icône */
    transform: translateY(-50%);
    opacity: 1;
    /* Icône visible dès le début */
}

.floating-button .btn .btn-text {
    left: 59%;
    /* Positionnement du texte à droite de l'icône */
    top: 50%;
    /* Centrage vertical du texte */
    transform: translate(-50%, -50%);
    opacity: 0;
    /* Texte invisible par défaut */
    font-size: 17px;
}

/* Animation du Texte au Survole */
.floating-button:hover .btn .btn-text {
    opacity: 1;
    /* Texte devenu visible au survol */
}

/* Effet de sortie de droite à gauche au survol */
.floating-button:hover .btn {
    width: 150px;
    /* Ajustez la valeur selon la largeur souhaitée lors du survol */
}

/* Section css 2 */
.nav-underline .nav-link.active,
.nav-underline .show>.nav-link {
    font-weight: 700;
    color: #e86828;
    border-bottom-color: currentcolor;
}

/* .mapboxgl-map {
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    overflow: hidden;
    position: relative;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    border: solid 6px #cba73f;
    border-radius: 20px;
} */

.rating .fa-star {
    cursor: pointer;
    color: #ccc;
    /* Couleur des étoiles non sélectionnées */
}

.rating .fa-star.selected {
    color: #005ca9;
    /* Couleur des étoiles sélectionnées */
}

@media (max-width: 2560px) {
    .bienvenueF {
        color: #ffffff;
        font-size: 51px;
        font-weight: 700;
    }

    #map {
        top: 0;
        bottom: 0;
        width: 100%;
        height: 420px;
    }

    #gab {
        top: 0;
        bottom: 0;
        width: 100%;
        height: 420px;
    }

    .listings {
        overflow-y: scroll;
        max-height: 660px;
        border-radius: 20px;
    }

    .liste_gabs {
        overflow-y: scroll;
        max-height: 660px;
        border-radius: 20px;
    }


    #divfoo {
        display: none;
    }

    /* Style des étoiles lors du clic */
    .rating .fa-star.active {
        color: #005ca9;
        /* Couleur jaune */
        font-size: 3em;
        /* Taille agrandie */
    }

    /* Style par défaut des étoiles (bleu) */
    .rating .fa-star {
        color: #c09732;
        /* Couleur bleue par défaut */
        cursor: pointer;
        font-size: 3em;
        /* Taille agrandie */
    }

    .pourquoino_online {
        color: #ffffff;
        font-size: 20px;
        font-weight: 700;
        text-align: center;
    }

    .treclientF {
        color: #ffffff;
        font-size: 21px;
        font-weight: 400;
    }

    .css_cadre {
        position: absolute;
        top: 0;
        right: 0;
        /*bottom: 0;*/
        width: 20%;
        background-color: #003a74;
        margin: 40px;
        border-radius: 16px;
        padding: 10px;
    }
}

@media (max-width: 1128px) {
    .bienvenueF {
        color: #ffffff;
        font-size: 30px;
        font-weight: 700;
    }
}

@media (max-width: 1004px) {
    .bienvenueF {
        color: #ffffff;
        font-size: 35px;
        font-weight: 700;
    }
}


@media (max-width: 798px) {
    .bienvenueF {
        color: #ffffff;
        font-size: 30px;
        font-weight: 700;
    }
}

@media (max-width: 767px) {
    .block_texte_mobile_credit {
        display: block;
        background: linear-gradient(270deg, #ffffff 0%, #ffffff 100%);
        padding-left: 20px;
        margin-top: -6px;
    }

    #map {
        top: 0;
        bottom: 0;
        width: 100%;
        height: 271px;
    }

    #gab {
        top: 0;
        bottom: 0;
        width: 100%;
        height: 271px;
    }

    .listings {
        overflow-y: scroll;
        max-height: 271px;
        border-radius: 20px;
        margin-bottom: 10px;
    }

    .liste_gabs {
        overflow-y: scroll;
        max-height: 271px;
        border-radius: 20px;
        margin-bottom: 10px;
    }
}


#mapping a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

#ma_gab a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

.listings .item {
    display: block;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    font-size: 14px;
    padding-left: 28px;
    /* padding-b */
}

.liste_gabs .item {
    display: block;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    font-size: 14px;
    padding-left: 28px;
    /* padding-b */
}

/* Style Poppup Finam 20 Years */

/* .popup-20ans {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
    background: white;
    border: 2px solid #ccc;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  }

  .popup-image {
    max-width: 100%;
  }

  .d-none {
    display: none;
  } */

.popup-20ans {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9997;
    display: none;
}


.popup-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    width: 90%;
    animation: zoomIn 0.5s;
}

.popup-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 78, 159, 0.5);
}

.close-popup {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #004e9f;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
}

.image-link {
    display: block;
    transition: transform 0.3s ease;
    border: none;
    outline: none;
}

.image-link:hover {
    transform: scale(1.02);
}

@keyframes zoomIn {
    from {
        transform: translate(-50%, -50%) scale(0.5);
    }

    to {
        transform: translate(-50%, -50%) scale(1);
    }
}



/* Exemple de base
.popup-20ans {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
    background: white;
    border: 2px solid #ccc;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  }

  .popup-image {
    max-width: 100%;
  }

  .d-none {
    display: none;
  } */


.nav-underline .nav-link.active,
.nav-underline .show>.nav-link {
    font-weight: 700;
    color: #ffffff;
    border-bottom-color: transparent;
}

.la_barre_credit {
    height: 6px;
    background: #b06e0e;
    background-blend-mode: normal;
    width: 180px;
}

.comptecour {
    color: #005ca9;
    font-size: 23px;
    font-weight: 700;
}

.link_credit {
    background: #b06e0e;
    border-radius: 8px;
    padding-left: 6px;
    padding-right: 6px;
}


.nav-underline .nav-link.active,
.nav-underline .show>.nav-link {
    font-weight: 700;
    color: #ffffff;
    border-bottom-color: transparent;
}

.la_barre_credit {
    height: 6px;
    background: #9ba2a7;
    background-blend-mode: normal;
    width: 180px;
}

.link_package {
    background: #9ba2a7;
    border-radius: 8px;
    padding-left: 6px;
    padding-right: 6px;
}

.accordion-button:not(.collapsed) {
    color: #000000;
    background-color: #9ba2a75c;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.comptecour {
    color: #b06e0e;
    font-size: 23px;
    font-weight: 700;
}

.la_barre_packages {
    height: 6px;
    background: #9ba2a7;
    background-blend-mode: normal;
    width: 180px;
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 10px;
    font-size: 1rem;
    text-align: left;
    background-color: var(--bs-accordion-btn-bg);
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: var(--bs-accordion-transition);
    color: #005ca9;
    font-weight: 700;
}

.nav-underline .nav-link.active,
.nav-underline .show>.nav-link {
    font-weight: 700;
    color: #e86828;
    border-bottom-color: currentcolor;
}

.rating .fa-star {
    cursor: pointer;
    color: #ccc;
    /* Couleur des étoiles non sélectionnées */
}

.rating .fa-star.selected {
    color: #005ca9;
    /* Couleur des étoiles sélectionnées */
}

@media (max-width: 2560px) {
    .bienvenueF {
        color: #005ca9;
        font-size: 51px;
        font-weight: 700;
    }

    #map {
        top: 0;
        bottom: 0;
        width: 100%;
        height: 420px;
    }

    #gab {
        top: 0;
        bottom: 0;
        width: 100%;
        height: 420px;
    }

    .listings {
        overflow-y: scroll;
        max-height: 660px;
        border-radius: 20px;
    }

    .liste_gabs {
        overflow-y: scroll;
        max-height: 660px;
        border-radius: 20px;
    }

    #divfoo {
        display: none;
    }

    /* Style des étoiles lors du clic */
    .rating .fa-star.active {
        color: #005ca9;
        /* Couleur jaune */
        font-size: 3em;
        /* Taille agrandie */
    }

    /* Style par défaut des étoiles (bleu) */
    .rating .fa-star {
        color: #c09732;
        /* Couleur bleue par défaut */
        cursor: pointer;
        font-size: 3em;
        /* Taille agrandie */
    }



    .pourquoino_online {
        color: #ffffff;
        font-size: 20px;
        font-weight: 700;
        text-align: center;
    }

    .treclientF {
        color: #005ca9;
        font-size: 21px;
        font-weight: 400;
    }

    .css_cadre {
        position: absolute;
        top: 0;
        right: 0;
        /*bottom: 0;*/
        width: 20%;
        background-color: #003a74;
        margin: 40px;
        border-radius: 16px;
        padding: 10px;
    }
}

@media (max-width: 1128px) {
    .bienvenueF {
        color: #005ca9;
        font-size: 45px;
        font-weight: 700;
    }
}

@media (max-width: 1004px) {
    .bienvenueF {
        color: #ffffff;
        font-size: 35px;
        font-weight: 700;
    }
}


@media (max-width: 798px) {
    .bienvenueF {
        color: #005ca9;
        font-size: 30px;
        font-weight: 700;
    }
}

@media (max-width: 767px) {
    .block_texte_mobile_credit {
        display: block;
        background: linear-gradient(270deg, #ffffff 0%, #ffffff 100%);
        padding-left: 20px;
        margin-top: -6px;
    }

    #map {
        top: 0;
        bottom: 0;
        width: 100%;
        height: 271px;
    }

    #gab {
        top: 0;
        bottom: 0;
        width: 100%;
        height: 271px;
    }

    .listings {
        overflow-y: scroll;
        max-height: 271px;
        border-radius: 20px;
        margin-bottom: 10px;
    }

    .liste_gabs {
        overflow-y: scroll;
        max-height: 271px;
        border-radius: 20px;
        margin-bottom: 10px;
    }
}


#mapping a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}


#ma_gab a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}



@media (max-width: 767px) {
    .block_texte_mobile_credit {
        display: block;
        background: linear-gradient(270deg, #ffffff 0%, #ffffff 100%);
        padding-left: 20px;
        margin-top: -6px;
    }
}


.padding_form {
    margin-right: 150px;
    margin-left: 150px;
    background: #ffffff;
    padding: 40px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
    border-radius: 14px;
}

.accordion-button:focus {
    z-index: 3;
    border-color: var(--bs-accordion-btn-focus-border-color);
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #ffffff;
    background-color: #0d91d0;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 #005ca9;
    font-weight: 700;
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
    font-size: 1rem;
    color: #b06e0e;
    text-align: left;
    background-color: var(--bs-accordion-btn-bg);
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: var(--bs-accordion-transition);
    font-weight: 600;
    background: #f2f2f2;
}

@media only screen and (max-width: 767px) {
    .padding_form {
        margin-right: 10px;
        margin-left: 10px;
        background: #ffffff;
        padding: 40px;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
        border-radius: 14px;
    }
}

@media (max-width: 2560px) {
    .bienvenueF {
        color: #005ca9;
        font-size: 51px;
        font-weight: 700;
    }

    .treclientF {
        color: #005ca9;
        font-size: 21px;
        font-weight: 400;
    }
}

@media (max-width: 1128px) {
    .bienvenueF {
        color: #005ca9;
        font-size: 45px;
        font-weight: 700;
    }
}

@media (max-width: 1004px) {
    .bienvenueF {
        color: #ffffff;
        font-size: 35px;
        font-weight: 700;
    }
}


@media (max-width: 798px) {
    .bienvenueF {
        color: #005ca9;
        font-size: 30px;
        font-weight: 700;
    }
}

@media (max-width: 767px) {
    .block_texte_mobile_credit {
        display: block;
        background: linear-gradient(270deg, #ffffff 0%, #ffffff 100%);
        padding-left: 20px;
        margin-top: -6px;
    }
}

.nav-underline .nav-link.active,
.nav-underline .show>.nav-link {
    font-weight: 700;
    color: #b03058;
    border-bottom-color: currentcolor;
}

.texte_mensualite {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: 1.75rem;
    line-height: 2.375rem;
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 10px;
    font-size: 1rem;
    text-align: left;
    background-color: var(--bs-accordion-btn-bg);
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: var(--bs-accordion-transition);
    color: #D99400;
    font-weight: 700;
}

.montant_b {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 15px;
    margin: 0px 0;
}

.montant_maxi {
    font-size: 30px;
    color: #0d91d0;
}

.input_montant {
    height: 65px;
    width: 100%;
    border-radius: 17px;
    border: 1px solid #2185c0;
    text-align: center;
    font-weight: bold;
    font-size: 50px;
    color: #3e8e99;
}

.equal-height {
    display: flex;
}

.equal-height .col {
    display: flex;
    flex-direction: column;
}

.equal-height .col>* {
    flex-grow: 1;
}

.offre_dapte {
    text-align: center;
    font-size: 18px;
    margin-top: 10px;
}

.form-step {
    display: none;
}

.h2,
h2 {
    font-size: 24px;
}

.form-step.active {
    display: block;
}


#error-message,
#success-message {
    display: none;
    margin-top: 10px;
}

.perso {
    background: #efefef;
    padding: 10px;
    margin-top: 20px;
    border-radius: 13px;
}

label {
    display: inline-block;
    font-size: 14px;
    margin-bottom: 5px;
}


/* LOADING LARGE SCREEN */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-loader {
    width: 350px;
    margin-bottom: 10px;
    animation: pulse 1.5s ease-in-out infinite;
}


@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.fancy-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
}

.fancy-spinner .circle {
    width: 20px;
    height: 20px;
    background-color: #005ca9;
    /* Couleur bleue stylée */
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

.fancy-spinner .circle:nth-child(2) {
    animation-delay: 0.2s;
}

.fancy-spinner .circle:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    from {
        transform: translateY(0);
        opacity: 0.6;
    }

    to {
        transform: translateY(-12px);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .logo-loader {
        width: 320px; /* Taille réduite du logo */
        font-size: 19px !important; /* Si tu veux aussi réduire le texte sous le logo */
    }

    .fancy-spinner .circle {
        width: 16px;
        height: 16px;
    }

    .fancy-spinner {
        gap: 5px;
    }

    .cookie-banner {
        position: fixed;
        bottom: 20px;
        left: 10px;
        right: 10px;
        background: #005ca9;
        color: white;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        display: none;
        align-items: center;
        gap: 10px;
        padding: 10px 15px;
        font-size: 14px;
        z-index: 99999;
        max-width: 280px;
        animation: slideUp 0.4s ease-out;
    }

    .cookie-icon {
        font-size: 34px;
    }

    .cookie-btn {
        background-color: #b06e0e;
        color: white;
        border: none;
        border-radius: 5px;
        padding: 6px 10px;
        cursor: pointer;
        font-weight: bold;
    }

    .cookie-btn:hover {
        background-color: #fff;
        color: #004a87;
    }

    @keyframes slideUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

}

@media (max-width: 480px) {
    .logo-loader {
        width: 320px;
        font-size: 19px !important;
    }

    .fancy-spinner .circle {
        width: 14px;
        height: 14px;
    }

    .fancy-spinner {
        gap: 4px;
    }
}

@media (max-width: 768px) {
    .loader-content {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .loader-content {
        transform: scale(0.7);
    }
}

/* WHATSAPP */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 20px;
    right: 20px;
    background-color: #3fb86b;
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse 2s infinite;
}

.whatsapp-float img {
    width: 47px;
    height: 47px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #005ca9;
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    font-size: 14px;
    z-index: 99999;
    max-width: 350px;
    animation: slideUp 0.4s ease-out;
}

#cookie-consent .content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#cookie-consent button {
    align-self: flex-end;
    padding: 8px 16px;
    background-color: #b06e0e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* .cookie-banner button {
    align-self: flex-end;
    padding: 8px 16px;
    background-color: #b06e0e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
} */

.cookie-icon {
    font-size: 54px;
}

/* .cookie-btn {
    background-color: #b06e0e;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 6px 10px;
    cursor: pointer;
    font-weight: bold;
} */

.cookie-btn:hover {
    background-color: #fff;
    color: #004a87;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fb-icon{
    color: white;
    background: #b28123;
    padding: 7px 10px 7px 10px;
    border-radius: 5px;
}

.fb-icon:hover{
    color: white;
    background: #004a87;
    padding: 7px 10px 7px 10px;
    border-radius: 5px;
}

.fb-icon-top{
    color: #004a87;
    background: #fff;
    padding: 7px 10px 7px 10px;
    border-radius: 5px;
}

.fb-icon-top:hover{
    color: white;
    background: #b28123;
    padding: 7px 10px 7px 10px;
    border-radius: 5px;
}
