/* Style du bouton flottant */
.chatbot-button-wrapper {
    position: fixed;
    bottom: 10px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* space between buttons */
    z-index: 700;
}

.chatbot-button {
    border-radius: 25px;
    /* color: #FEFEFE; */
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 0.09px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    /* background-color: #D43247; */
}

.chatbot-button svg {
    width: 20px;
    height: 20px;
    margin-left: 5px;
}

/* Fenêtre du chatbot */
.chatbot-window {
    position: fixed;
    bottom: 60px;
    right: 15px;
    width: 95%;
    max-width: 350px;
    height: 90%;
    max-height: 500px;
    border-radius: 25px 25px 0px 25px;
    background: var(--Foundation-Primaire-Blue-Lightest, #f4f4f4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 999;
}

@media(max-width:570px) {
    .chatbot-window {
        height: 80%;
    }
}

.chatbot-header {
    background-color: (--bs-primary);
    color: white;
    padding: 10px;
    display: flex;
    align-items: start;
    justify-content: space-between;
    min-height: 100px;

}

.chatbot-header h4 {
    color: var(--Foundation-Soft-Gray-Light, #FEFEFE);
    /* Body large bold */
    /* font-family: Manrope; */
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    /* 155.556% */
    margin-top: 0px;
    margin-bottom: 0px;
}

.btnClose {
    display: flex;
    width: 22px;
    height: 22px;
    padding: 0px 0px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--bs-primary, #FEFEFE);
    background: var(--Foundation-Primaire-Blue-Lightest, #fdf4f8);
}

.btnClose i {
    font-size: 1rem;
}

.chatbot-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    border-radius: 25px 25px 0px 0px;
    background: var(--Foundation-Soft-Gray-Light, #FEFEFE);
    margin-top: -38px;
    margin-left: 10px;
    margin-right: 10px;
    /* Cacher la scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

.chatbot-body::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.chatbot-body .questions .btn {
    margin-bottom: 10px;
    margin-right: 5px;
    /* caption xs bold */
    /* font-family: Manrope; */
    font-size: 10px !important;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    border: 1px solid #D43247;
    /* 200% */
    border-radius: 12px;
}

.chatbot-body .helloText {
    color: var(--Foundation-Primaire-Primary-Blue-Deep, #00346B);
    /* caption xs bold */
    /* font-family: Manrope; */
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 200% */
}

.chatbot-message {
    border-radius: 12px;
    border: 1px solid var(--Foundation-Secondaire-orange-500, #FFA500);
    background: var(--Foundation-Secondaire-orange-50, #FFF6E6);
    padding: 10px;
    max-width: 90%;
}

.chatbot-message p {
    color: var(--Foundation-Secondaire-orange-600, #E89600);
    /* caption xs bold */
    /* font-family: Manrope; */
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    /* 200% */
    margin-top: 0px;
    margin-bottom: 0px;
}

.chatbot-message ul li {
    color: var(--Foundation-Secondaire-orange-600, #E89600);
    /* caption xs */
    /* font-family: Manrope; */
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.user-message {
    padding: 10px;
    border-radius: 12px;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    /* 200% */
    height: fit-content;
    max-width: 90%;
    background-color: var(--bs-primary);
    border-start-end-radius: 0;
    color: var(--bs-white);
}

.user-message p {
    margin-top: 0px;
    margin-bottom: 0px;
}

.user-message .options .btn {
    /* caption xs bold */
    /* font-family: Manrope; */
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    /* 200% */
    padding: 5px 5px;
}

.chatbot-body .formulaire {
    width: 100%;
    max-width: none !important;
}

.chatbot-body .formulaire label {
    color: var(--Foundation-Dark-Contrast-Normal, #0F1A23);
    /* Caption */
    /* font-family: Manrope; */
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    /* 166.667% */
}

.chatbot-body .formulaire .form-control {
    color: var(--Foundation-Dark-Contrast-Normal, #0F1A23);
    /* caption regular */
    /* font-family: "DM Sans"; */
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 166.667% */
    border-radius: 8px;
    border: 1px solid var(--foundation-soft-gray-fonds-darker, #565656);
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    min-height: 40px;
    height: auto !important;
}

.chatbot-body a {
    color: var(--Foundation-Primaire-Blue, #D43247);
    /* caption regular */
    /* font-family: "DM Sans"; */
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 166.667% */
}

.chatbot-body a i {
    font-size: 1rem;
}

.chatbot-body .successBox img {
    max-width: 72px;
    max-height: 72px;
    margin-bottom: 10px;
}

.chatbot-body .successBox h5 {
    color: var(--Foundation-Primaire-Primary-Blue-Deep, #00346B);
    text-align: center;

    /* Body medium bold */
    /* font-family: Manrope; */
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    /* 125% */
}

.chatbot-body .successBox p {
    color: var(--Foundation-Primaire-Primary-Blue-Deep, #00346B);
    text-align: center;
    /* caption regular */
    /* font-family: "DM Sans"; */
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 166.667% */
}

.chatbot-body .thankBox {
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--Foundation-Primaire-Blue-Lightest, #FEF2F3);
    width: 100%;
}

.chatbot-body .thankBox h6 {
    color: var(--Foundation-Primaire-Primary-Blue-Deep, #00346B);
    /* Caption */
    /* font-family: Manrope; */
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    /* 166.667% */
    margin-bottom: 0px;
}

.chatbot-body .thankBox h6 img {
    width: 15px;
    height: 15px;
}

.chatbot-body .thankBox p {
    color: var(--Foundation-Primaire-Primary-Blue-Deep, #00346B);
    /* caption xs */
    /* font-family: Manrope; */
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 200% */
    margin-bottom: 0px;
}

.chatbot-body .support {
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--foundation-soft-gray-fonds-yellow-400, #FDFAEB);
    width: 100%;
}

.chatbot-body .support p {
    color: var(--Foundation-Primaire-Primary-Blue-Deep, #00346B);
    /* caption xs */
    /* font-family: Manrope; */
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 200% */
    margin-bottom: 0px;
}

.chatbot-body .agent-message {
    width: 95%;
}

.chatbot-body .agent-message .media {
    display: flex;
    align-items: center;
    justify-content: start;
}

.chatbot-body .agent-message .media img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.chatbot-body .agent-message .media h5 {
    text-align: left;
    /* caption xs */
    /* font-family: Manrope; */
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.chatbot-body .agent-message .message {
        border-radius: 12px;

    background-color: var(--bs-paper-bg);
    box-shadow: var(--bs-box-shadow-xs);
    padding-block: .543rem;
    padding-inline: 1rem;
    border-start-start-radius: 0;
    background-color: var(--bs-gray-75);
    color: black;

}

.chatbot-body .agent-message .message p,
.chatbot-body .agent-message .message ul li {
    /* color: var(--Foundation-Primaire-Primary-Blue-Deep, #fff); */
    /* caption xs */
    /* font-family: Manrope; */
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 200% */
    margin-top: 0px;
    margin-bottom: 0px;
}

.chatbot-footer {
    border-radius: 0px 0px 25px 25px;
    padding: 10px;
    background: var(--Foundation-Soft-Gray-Light, #FEFEFE);
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.chatbot-footer .chatbot-input {
    border-radius: 8px;
    border: 1px solid var(--Foundation-Primaire-Blue, #000);
    height: 36px;
    padding: 12px 12px;
}

.chatbot-footer .chatbot-input input {
    background-color: transparent;
    height: auto !important;
    color: var(--Foundation-Primaire-Primary-Blue-Deep, #00346B);
    /* caption xs */
    /* font-family: Manrope; */
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 200% */
}
