.questionnaire-container, .questionnaire-container-success {
    place-items: center;
    width: 106vh;
}
.options-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

[type=checkbox], [type=radio] {

    color:rgba(239, 75, 48, 1) !important;
}


.field {
    align-items: center;
    width: 100vh;
    justify-content: center;
    display: flex;
    align-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
}
.address.field, .city.field, .postal_code.field{
    display: block !important;
    align-content: normal !important;
}
.question-label {
    gap: 24px;
    font-family: Kumbh Sans;
    font-weight: 600;
    font-size: 28px;
    line-height: 50px;
    letter-spacing: 0%;
    color: #151818;
    text-align: center;
}
.description-question {
    font-family: Poppins;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0px;
    color: rgba(21, 24, 24, 0.7);
    text-align: center;
}
.rounded-circle{
    padding: 0px !important;
}
.city.question-label, .postal_code.question-label, .final-page.accepted-term.question-label{
    display: none !important;
    
}
::placeholder{
    color: #D3D3D3 !important;
}
label {
    margin-top: 5px;
    color: #151818;
}
.textarea-field {
    width: 769;
    height: 200;
    gap: 10px;
    border-width: 2px;
    border-radius: 5px;
    padding-top: 15px;
    padding-right: 20px;
    padding-bottom: 15px;
    padding-left: 20px;
}

.final-page.question-label , .address.question-label{
    display: block;
}
.final-page.question-label {
    font-size: 20px !important;
}
a{
    color: #151818;
}
.final-page-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.final-page.question-label.who-are-you{
    margin-right: 0px !important;
    margin-top: 50px;
}
.final-page-container .form-control {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px;
}

.final-page.field, .address.field {
    width: 100%;
    justify-content: start !important;
}
.field[data-condition-value]:not([data-condition-value=""]) {
    display: none;
}
.form-check.col-xl-3 {
    padding-left: 0px !important;
}

.final-page.form-check {
    margin-top: -35px !important;
    /*display: flex;*/
    align-items: start;
}
.final-page.form-check.checkbox {
    align-self: flex-start;
    text-align: left;
    margin-left: 0;
    width: 100%;
}
.final.form-check-inline{
    margin-right: 150px;
}
.final-page.form-check-label {
    font-family: Poppins;
    font-weight: 400;
    font-size: 15px;
    line-height: 16px;
    letter-spacing: 0px;
    color: #151818;
    margin-top: 30px;
}


/* Texte sous l'image */
.option-text {
    margin-top: 5px;
    font-size: 16px;
    font-weight: bold;
    color: #151818;
    text-align: center;
}

input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.input-group {
    display: flex;
    align-items: center;
    width: fit-content; /* Ajustez la largeur selon vos besoins */
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.input-group .btn {
    background-color: #f8f9fa; /* Couleur de fond */
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.input-group .btn:hover {
    background-color: #e9ecef; /* Couleur de fond au survol */
}

.input-group .btn:active {
    background-color: #dee2e6; /* Couleur de fond au clic */
}

.input-group .btn svg {
    width: 16px;
    height: 16px;
    fill: #495057; /* Couleur de l'icône */
}

.input-group .form-control {
    border: none;
    text-align: center;
    width: 60px; /* Largeur de l'input */
    padding: 10px;
    font-size: 16px;
    background-color: transparent;
}

.input-group .form-control:focus {
    outline: none;
    box-shadow: none;
}

.checkbox-container {
    position: relative;
}

/* Checkbox avec images */
.swiper-slide {
    
    align-items: center;
    justify-content: center;
    min-height: 200px; /* ajuste selon la taille de tes images */
    
}

.checkbox-image {
    position: relative;
    cursor: pointer;
    display: block;
    text-align: center;
}

.checkbox-image input {
    display: none;
}

.checkbox-image img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: 0.3s;
    height: 118px;
}

.checkbox-image input:checked + img {
    border: 2px solid rgba(239, 75, 48, 1);
}

#prevPage {
    display: none;
}
.image-checkbox {
    position: relative;
    cursor: pointer;
    margin: 10px;
}

.image-checkbox img {

    width: 100%;
    height: auto;
}

.image-checkbox input[type="radio"] {
    color: rgba(239, 75, 48, 1);
    position: relative;
    top: 32px;
    left: 9px;
}
.image-checkbox input[type="radio"] :focus{
    color: rgba(239, 75, 48, 1);
   
}

.image-checkbox input[type="radio"]:checked + label img {
    border-color: #151818;

}

/* Style des boutons de navigation */
.swiper-button-next,
.swiper-button-prev {
    width: 30px !important;
    height: 30px !important;
    background-color: #04301cb2;
    border-radius: 50%;
    top: 50% !important;
    transform: translateY(-50%);
    z-index: 10;
}
.swiper-button-next {
    right: -40px !important;
    left: auto;
}

.swiper-button-prev {
    left: -40px !important;
    right: auto;
}
.input-number-group {
    width: 100%;
    margin-top: 50px;
}
.d-flex.justify-content-center.align-items-start.flex-wrap.mb-3{
    margin-top:50px ;
}
/* Icônes des boutons */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px !important;
    color: white;
}

/* Effet au survol */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(128, 128, 128, 1); /* Fond gris plus opaque */
}

/* Ajouter un padding au conteneur Swiper pour éloigner les flèches des images */
.swiper {
    padding: 0 3rem;
}

/* Style de la liste des options sélectionnées */
.selected-options {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    align-self: flex-start;
    text-align: left;
    margin-left: 0;
    width: 100%;
}

/* Style des éléments sélectionnés */
.selected-item {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    margin: 5px 0;
    background-color: #f3f4f5a8;
    border-radius: 5px;
    color: #333;
}

/* Bouton de désélection */
.remove-btn {
    background: none;
    border: none;
    color: #666;
    margin-left: 8px;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.remove-btn:hover {
    color: #ff0000;
}

.buttons {
    margin: 50px 0px 100px 0px;
}

.overlay {
    top: 298px;
    left: 277px;
    border-radius: 10px;
    border-width: 4px;
    padding-top: 30px;
    padding-right: 40px;
    padding-bottom: 30px;
    padding-left: 40px;
    gap: 10px;
    border-color: rgb(237, 97, 75);
}

.overlay-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.overlay h2 {
    color: rgba(239, 75, 48, 1);
}

.overlay p {
    color: #333;
}

.page-disabled {
    pointer-events: none; /* Désactive les interactions */
    opacity: 0.5; /* Rend les pages semi-transparentes */
}

.who-are-you {
    margin-right: auto;
}
 .flatpickr-container {
        position: relative;
        min-height: 300px;  /* Réserve l'espace pour le calendrier */
        margin: auto;
    }

    .flatpickr-calendar {
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        width: 100%;
        margin-top: 10px;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .flatpickr-input {
        background-color: white;  /* Style du champ input */
    }
    
   img.progress-image {
      /*  content: url('/storage/app/media/questionnaire/etape1.png') !important;*/
        display: none !important;
       /* width: auto;*/
       /* height: 50px;*/
    }

    

/* 📱 Responsive pour les écrans ≤ 1024px (Tablettes) */
@media screen and (max-width: 1024px) {
    .questionnaire-container {
        padding: 15px;
        display: contents;
        margin: 10px;
    }

    .question-label {
        font-size: 28px;
        line-height: 40px;
    }

    .description-question {
        font-size: 18px;
        line-height: 24px;
    }

    .field {
        flex-direction: row;
        align-items: center;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 25px !important;
        height: 25px !important;
        top: 50% !important;
        transform: translateY(-50%);
        z-index: 10;
    }
    #prevPage {
        display: none;
    }
    .image-checkbox {
        position: relative;
        cursor: pointer;
        margin: 10px;
    }

    .image-checkbox img {

        width: 100%;
        height: auto;
    }

    .image-checkbox input[type="radio"] {
        color: rgba(239, 75, 48, 1);
        position: relative;
        top: 28px;
        left: 9px;
        flex-direction: column;
        display: flex
    }
    .image-checkbox input[type="radio"] :focus{
        color: rgba(239, 75, 48, 1);
    
    }

    .image-checkbox input[type="radio"]:checked + label img {
        border-color: #151818;

    }

}

/* 📱 Responsive pour les écrans ≤ 768px (Mobiles) */
@media screen and (max-width: 768px) {
    .questionnaire-container, .questionnaire-container-success {
        padding: 10px;
        display: contents !important;
    }

    .question-label {
        font-size: 22px;
        line-height: 30px;
    }

    .description-question {
        font-size: 16px;
        line-height: 22px;
    }

    .options-container {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .field {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 10px;
    }

    .radio-checkbox-image img {
        height: auto;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    .swiper {
        padding: 0 20px;
    }

  
    .checkbox-image img {
        width: 100%;
        border-radius: 10px;
        border: 2px solid transparent;
        transition: 0.3s;
        height: auto;
    }

    .buttons button {
        font-size: 0.875rem; /* Taille du texte plus petite */
        padding: 5px 10px; /* Réduction du padding */
    }

    #prevPage {
        display: none;
    }
    .image-checkbox {
        position: relative;
        cursor: pointer;
        margin: 10px;
    }

    .image-checkbox img {

        width: 100%;
        height: auto;
    }

    .image-checkbox input[type="radio"] {
        color: rgba(239, 75, 48, 1);
        position: relative;
        top: 28px;
        left: 9px;
        flex-direction: column;
        display: flex
    }
    .image-checkbox input[type="radio"] :focus{
        color: rgba(239, 75, 48, 1);
    
    }

    .image-checkbox input[type="radio"]:checked + label img {
        border-color: #151818;

    }
}

/* 📱 Responsive pour les très petits écrans ≤ 480px */
@media screen and (max-width: 480px) {
    .questionnaire-container, .questionnaire-container-success {
        display: contents !important;
    }
    .question-label {
        font-size: 18px;
        line-height: 25px;
    }

    .description-question {
        font-size: 14px;
        line-height: 20px;
    }

    .options-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .field {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px;
    }

    .swiper {
        padding: 0 10px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important; /* Cache les boutons Swiper sur très petit écran */
    }

   

    #prevPage {
        display: none;
    }
    .image-checkbox {
        position: relative;
        cursor: pointer;
        margin: 10px;
    }

    .image-checkbox img {

        width: 100%;
        height: auto;
    }

    .image-checkbox input[type="radio"] {
        color: rgba(239, 75, 48, 1);
        position: relative;
        top: 34px;
        left: 14px;
        flex-direction: column;
        display: flex
    ;
    }
    .image-checkbox input[type="radio"] :focus{
        color: rgba(239, 75, 48, 1);
    
    }

    .image-checkbox input[type="radio"]:checked + label img {
        border-color: #151818;

    }
}
