@import url('tokens.css');

.btnChatbot {
    border-radius: 50%;
    background: var(--Final-background, #F3F4F7);
    /* Shadow 1 */
    box-shadow: -10px -10px 30px 0px rgba(255, 255, 255, 0.90), 4px 4px 15px 0px rgba(114, 114, 114, 0.25);
    position: fixed;
    right: 15px;
    bottom: 10px;
    z-index: 99;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 0px;
    border: none;
}
.btnChatbot i {
    font-size: 1.5rem;
    color: var(--bs-focus);
}
.btnChatbot:hover {
    background-color: var(--bs-hover) !important;
    color: #fff;
}

.btnChatbot:focus {
    background-color: var(--bs-focus) !important;
    color: #fff;
}

.btnChatbot:hover i,
.btnChatbot:focus i {
    color: #fff;
}

.btnChatbot img {
    width: 30px !important;
    height: 30px !important;
    flex-shrink: 0;
    object-fit: contain;
}

.chatbot-container {
    position: fixed;
    top: 5.5rem;
    right: 56px;
    transform: translateX(0px);
    /* Commence hors écran à droite */
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    visibility: hidden;
    width: calc(100% - 18.25rem);
    z-index: 99;
}

@media(max-width:1200px) {
    .chatbot-container {
        width: 100%;
    }
}

@media(max-width:570px) {
    .chatbot-container {
        width: 100%;
        position: fixed;
        top: 4.5rem;
        right: 0px;
    }
    .btnChatbot {
        z-index: 100;
    }
}

.chatbot-container.show {
    transform: translateX(0);
    /* Position finale visible */
    opacity: 1;
    visibility: visible;
}

.cardBot {
    border-radius: 10px;
    background: var(--Final-background, #F3F4F7);
    /* Shadow 1 */
    box-shadow: -10px -10px 30px 0px rgba(255, 255, 255, 0.90), 4px 4px 15px 0px rgba(114, 114, 114, 0.25);
    width: 100%;
    height: calc(100vh - 7.5rem);

}

.cardBot .card-body {
    position: relative;
}

.texting-wrapper {
    padding-bottom: 70px;
    overflow-y: auto;
    height: 70vh;
}
@media(max-width:570px) {
    .cardBot {
        height: calc(100vh - 6rem);
    }
    .cardBot .card-body {
        padding: 15px 15px;
    }
    .texting-wrapper {
        height: 77vh;
    }
}
.texting-wrapper::-webkit-scrollbar {
    width: 5px;
}

.texting-wrapper::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
}

.texting-wrapper::-webkit-scrollbar-thumb:hover {
    background: transparent;
}

.botMsg {
    display: flex;
    align-items: start;
    justify-content: start;
}

.botMsg .boxImg {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--Final-background, #F3F4F7);
    /* Inner Shadow2 */
    box-shadow: -7px -7px 7px 0px #FFF inset, 5px 5px 10px 1px rgba(169, 169, 169, 0.25) inset;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.botMsg .boxImg img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.botMsg .text .message p {
    color: var(--GrayScale-Text-Caption, #474747);
    /* Body / Regular */
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
}

.botMsg .form-select {
    border-radius: var(--Number-Scale-2s-XS, 6px);
    background: var(--Final-background, #F3F4F7);
    /* Shadow 1 */
    box-shadow: -10px -10px 30px 0px rgba(255, 255, 255, 0.90), 4px 4px 15px 0px rgba(114, 114, 114, 0.25);
    color: var(--GrayScale-Surface-Disabled, #B5B5B5);
    /* Body / Regular */
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    border: none;
    height: 53px;
}

.botMsg .cardSuggest {
    border-radius: 5px;
    background: var(--Final-background, #F3F4F7);
    /* Shadow 1 */
    box-shadow: -10px -10px 30px 0px rgba(255, 255, 255, 0.90), 4px 4px 15px 0px rgba(114, 114, 114, 0.25);
    height: 100%;
    cursor: pointer;
}

.botMsg .cardSuggest .card-body {
    display: flex;
    align-items: start;
    justify-content: start;
}
@media(max-width:768px){
    .botMsg .cardSuggest .card-body {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}
.botMsg .cardSuggest .box {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 5px;
    background: var(--Final-background, #F3F4F7);
    /* Inner shadow */
    box-shadow: -7px -7px 7px 0px #FFF inset, 5px 5px 10px 1px rgba(169, 169, 169, 0.25) inset;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.botMsg .cardSuggest .text p {
    color: #000;
    /* Body / Regular */
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    margin-top: 0px;
    margin-bottom: 0px;
}

.menu-prompts {
    border-radius: var(--Number-Scale-2s-XS, 6px);
    background: var(--Final-background, #F3F4F7);
    /* Shadow 1 */
    /*box-shadow: -10px -10px 30px 0px rgba(255, 255, 255, 0.90), 4px 4px 15px 0px rgba(114, 114, 114, 0.25);*/
    max-height: 351px;
    overflow-y: auto;
    padding: 15px 15px;
    margin-top: 15px;
}
@media(max-width:768px){
    .menu-prompts {
        padding: 8px 8px !important;
    }
    .menu-prompts ul {
        padding: 0px !important;
        padding-left: 0px !important;
    }
}
.menu-prompts::-webkit-scrollbar {
    width: 5px;
}

.menu-prompts::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.menu-prompts::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.menu-prompts .dropdown-item {
    padding: 10px 10px;
    border-radius: var(--Number-Scale-2s-XS, 6px);
    background: var(--Final-background, #F3F4F7);
    /* Shadow 1 */
    box-shadow: -10px -10px 30px 0px rgba(255, 255, 255, 0.90), 4px 4px 15px 0px rgba(114, 114, 114, 0.25);
    color: #000;
    /* Body / Regular */
    font-family: Lato;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    margin-bottom: 20px;
    text-wrap: wrap;
}

.boxSend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    bottom: 20px;
    left: 0px;
    background: var(--Final-background, #F3F4F7);
}

.boxSend .btn {
    margin-left: 7px;
    margin-right: 7px;
}

.boxSend .form-control {
    border-radius: 10px;
    background: var(--Final-background, #F3F4F7);
    /* Inner shadow */
    box-shadow: -7px -7px 7px 0px #FFF inset, 5px 5px 10px 1px rgba(169, 169, 169, 0.25) inset;
    /* Body / Regular */
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    color: #000;
    border: none;
    height: 67px;
}

.boxSend .form-control::placeholder {
    color: var(--GrayScale-Border-Disabled, #919191);
}

.cardBot .btn {
    background: var(--Final-background, #F3F4F7) !important;
    color: #000 !important;
}

.boxMyMsg,
.boxTextMesg {
    border-radius: var(--Number-Scale-2s-XS, 6px);
    background: var(--Final-background, #F3F4F7);
    /* Inner shadow */
    box-shadow: -7px -7px 7px 0px #FFF inset, 5px 5px 10px 1px rgba(169, 169, 169, 0.25) inset;
    padding: 10px 10px;
    width: fit-content;
}
.boxMyMsg p,
.boxTextMesg p {
    margin-bottom: 0px;
    margin-top: 0px;
}
.cardBot .actions label {
    cursor: pointer;
}

.cardBot .actions label i {
    font-size: 17px;
}

.cardBot .actions label:hover {
    color: #03A9F5;
}

.cardBot .actions input:checked+label {
    color: #03A9F5;
}

@media(max-width:768px) {
    .botMsg {
        display: block;
    }
    .botMsg .boxImg {
        width: 30px;
        height: 30px;
        margin-bottom: 10px;
        margin-right: 0px;
    }

    .botMsg .boxImg img {
        width: 25px;
        height: 25px;
    }

    .botMsg .cardSuggest .box {
        width: 40px;
        height: 40px;
    }

    .botMsg .cardSuggest .box svg {
        width: 25px !important;
        height: 25px !important;
        object-fit: contain;
    }
    .boxSend .btn {
        margin-left: 3px;
        margin-right: 3px;
        padding: 0px 0px !important;
    }
    .boxSend .btn svg {
        width: 25px !important;
        height: 25px !important;
        
    }
}