section#quoteSection {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

section#quoteSection button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.chatbox-char p {
    margin: 0 !important;
    margin-bottom: 10px !important;
}


/* Button styles */
#devis-rapide-btn {
    cursor: pointer;
}

button#nextToApplicantInformation,
#button-to-step-2 button,
button#send-btn {
    font-family: var(--e-global-typography-96c4eb9-font-family);
    font-size: var(--e-global-typography-96c4eb9-font-size);
    font-weight: var(--e-global-typography-96c4eb9-font-weight);
    text-transform: var(--e-global-typography-96c4eb9-text-transform);
    letter-spacing: var(--e-global-typography-96c4eb9-letter-spacing);
    background-color: var(--e-global-color-primary);
    color: #fff;
}

button#nextToApplicantInformation:hover,
#button-to-step-2 button:hover,
button#send-btn:hover {
    background-color: var(--e-global-color-accent);
}

button#send-btn {
    margin-top: 35px;
}



/* Chatbox styles */
.chat-box {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 100px;
    width: 800px;

    /* Limite la hauteur de la chatbox */
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 0px;
    z-index: 9999999999;
}

.chat-box p,
label {
    font-family: var(--e-global-typography-text-font-family);
    font-size: 15px;
    font-weight: var(--e-global-typography-text-font-weight);
    line-height: var(--e-global-typography-text-line-height);
    color: var(--e-global-color-primary);
    margin-bottom: 20px;
}

.chat-header {
    background-color: var(--e-global-color-primary);
    color: #fff;
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: inherit;

    font-family: var(--e-global-typography-6a0ffd9-font-family);
    font-size: var(--e-global-typography-6a0ffd9-font-size);
    font-weight: var(--e-global-typography-6a0ffd9-font-weight);
    text-transform: var(--e-global-typography-6a0ffd9-text-transform);
    letter-spacing: var(--e-global-typography-6a0ffd9-letter-spacing);
    line-height: var(--e-global-typography-6a0ffd9-line-height);
}

/*.chat-body-container {
    display: flex;
}*/

.chat-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.chat-header button:hover {
    color: var(--e-global-color-accent);
    background: none;
}

.chat-body {
    padding: 30px;
    max-height: 700px;
    overflow-y: auto;
    height: 570px;
}

.chat-body label {
    display: block;
    margin-top: 10px;
}

.chat-body input,
.chat-body select,
.chat-body textarea {
    width: calc(100% - 20px);
    /* Ajuste la largeur pour compenser le padding */
    padding: 8px;
    margin-top: 5px;
    border-radius: 0px;
    box-sizing: border-box;
    /* Garantit que la largeur inclut le padding */
}

.chat-body div p,
.chat-body label {
    margin-top: 30px;
}

.chat-body button {
    margin-top: 10px;
    padding: 12px;
    background-color: #fff;
    color: var(--e-global-color-primary);
    border: none;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    cursor: pointer;
    border-radius: 0;
    width: 30%;
    margin-bottom: 20px;
    white-space: normal;

    font-family: var(--e-global-typography-text-font-family);
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    line-height: var(--e-global-typography-text-line-height);
}

.chat-body button.quote-btn{
    width:47%;
}

.chat-body button:hover {
    background-color: #fff;
    color: var(--e-global-color-primary);
    box-shadow: rgba(0, 0, 0, 0.205) 0px 4px 12px;
}


.chatbox-char {
    color: var(--e-global-color-text);

    border-radius: 10px;
}

.quote-btn.active,
.quote-btn.active:hover,
#type-funeral-btn.active,
#type-funeral-btn.active:hover,
#typeOfCeremony button.active,
#typeOfCeremony button.active:hover,
.gender-image.selected,
.gender-image.selected:hover,
.gender-image.selected:focus {
    background-color: var(--e-global-color-primary);
    /* Couleur de fond lorsque le bouton est enfoncé */
    color: white;
    /* Couleur du texte lorsque le bouton est enfoncé */
    border: none !important;
}

#step-bar button.active,
#step-bar button.active:hover {
    background-color: var(--e-global-color-accent);
    /* Couleur de fond lorsque le bouton est enfoncé */
    color: white;
    /* Couleur du texte lorsque le bouton est enfoncé */
    border: none !important;
}

.place-btn.active {
    background-color: var(--e-global-color-primary) !important;
    /* Couleur de fond lorsque le bouton est enfoncé */
    color: white !important;
    /* Couleur du texte lorsque le bouton est enfoncé */
}

div#placeToEndLife {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.deceased-informations,
.applicant-informations,
#typeOfFuneral,
#select-type-of-funeral-IC,
#step-bar,
#typeOfCeremony,
.gender-selector {
    display: flex;
    justify-content: space-between;
}

.deceased-informations input,
#typeOfFuneral button,
#select-type-of-funeral-IC button,
#step-bar button,
#gender-image,
.applicant-informations div {
    width: 49% !important;
}

#typeOfFuneral button#type-funeral-btn,
#typeOfCeremony button {
    width: 32% !important;
}


input.concession-radio,
input.vault-radio,
input.monument-radio {
    width: 15px;
    /*btn radio*/
}

.gender-image {
    width: 100px;
    /* Ajustez la taille des images selon vos besoins */
    height: auto;
    /* Ajustez la taille des images selon vos besoins */
    cursor: pointer;

}

.btn-step.active {
    background-color: #4CAF50;
    /* Couleur de fond lorsque le bouton est enfoncé */
    color: white;
    /* Couleur du texte lorsque le bouton est enfoncé */
}

.display-none {
    display: none !important;
}

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

.required-label::after {
    content: '*';
    color: red;
    margin-left: 3px;
}

.error-message {
    color: red;
    font-size: 0.9em;
    display: none;
}

.error-message.disable {
    display: none;
}

.error-message.activate {
    display: block;
}

.display-flex {
    display: flex;
    justify-content: space-between;
}

.display-flex div {
    display: flex;
}

.display-flex div label {
    margin: 0;
}

.display-flex div input {
    margin: 0 10px 0 0;
}

.type-funeral-btn.active {
    background-color: var(--e-global-color-primary);
}

.type-ceremony-btn.active {
    background-color: var(--e-global-color-primary);
}

.form-popup {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.chatbox-fade-animation {
    animation: fadeIn 0.5s ease-in-out;
}

/*Icons*/
.quote-btn svg {
    width: 40px;
    margin-bottom: 10px;
}

.quote-btn.active svg .cls-1,
.quote-btn.active svg .cls-2 {
    fill: #fff;
}

svg#quote-svg-maintenance-and-flowers {
    width: 50px;
}


@media (max-width:1024px) {
    .chat-box {
        right: 0;
        left: 0;
        margin: auto;
        width: 95%;
        height: 72%;
        bottom: 20px;
    }

    .chat-header {
        width: 100%;
    }

    .chat-body {
        max-height: 900px;
        height: 560px;
    }
}

@media (max-width:767px) {
    .chat-box {
        width: 95%;
        height: 95%;

    }

    .chat-body {
        max-height: 80vh;
        height: 80vh;
    }


    .chat-body button {
        width: 47%;
    }

    .deceased-informations input,
    #typeOfFuneral button,
    #select-type-of-funeral-IC button,
    #step-bar button,
    #gender-image,
    .applicant-informations div,
    .chat-body textarea {
        width: 100% !important;
    }

    .deceased-informations,
    .applicant-informations,
    #typeOfFuneral,
    #select-type-of-funeral-IC,
    #step-bar,
    #typeOfCeremony,
    .gender-selector {
        flex-wrap: wrap;
    }
}


@media (max-width:569px) {}