﻿.chatbot-root .chatbot-entry {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 64px;
    transition: all 100ms ease-in-out;
    cursor: pointer;
}

.chatbot-root .chatbot-entry:hover {
    width: 72px;
}

.chatbot-root .say-hello {
    position: fixed;
    right: 24px;
    bottom: 104px;
    width: 320px;
    height: 80px;
    padding: 24px 16px;
    color: #333333;
    font-size: 16px;
    background: #fff;
    box-shadow: 0px 5px 10px #00112226;
    border-radius: 4px;
    display: none;
}

.chatbot-root .say-hello .chatbot-icon{
    margin-right: 8px;
}
.say-hello .close-icon {
    position: absolute;
    right: 0px;
    top: 0px;
}
.chatbot-root .chatbot-modal {
    width: 400px;
    height: 560px;
    display: none;
    position: fixed;
    right: 24px;
    bottom: 112px;
    box-shadow: 0px 5px 10px #00112226;
    border-radius: 4px;
    background: #fff;
    z-index: 1000;
}

.chatbot-modal .chatbot-modal-header {
    background:#1C54A6;
    height: 56px;
    padding: 12px 24px;
    color: #fff;
    font-size: 16px;
}

.chatbot-modal-header .chatbot-icon {
    margin-right: 8px;
}

.chatbot-modal .chatbot-modal-content {
    padding: 24px;
    height: 440px;
    overflow: auto;
}

.chatbot-modal-content .question-item {
    height: 32px;
    line-height: 1;
    font-size: 14px;
    border: 1px solid #0054A6;
    border-radius: 4px;
    padding: 4px 12px;
    color: #0054A6;
    outline: none;
    margin: 0 8px 8px 0;
    cursor: pointer;
    background: #fff;
}

.chatbot-modal-content .message-wrapper {
    margin-bottom: 12px;
    display: flex;
}

.message-wrapper .chatbot-icon {
    margin-right: 8px;
    height: 32px;
}

.message-wrapper .message-bot {
    padding: 8px 16px;
    background: #EDF2FA;
    border-radius: 0px 8px 8px 8px;
    margin: 0px;
    color: #333333;
    font-size: 14px;
}
.message-wrapper .message-user {
    padding: 8px 16px;
    background: #2E9DC7;
    border-radius: 8px 0px 8px 8px;
    margin: 0px;
    color: #fff;
    font-size: 14px;
    word-break: break-all;
}

.pre-answer-loading .message-bot{
    position: relative;
    height: 40px;
    font-size: 48px;
    width: 54px;
}
.pre-answer-loading .dot {
    position: absolute;
    top: -32px;
    left: 12px;
}

.message-user-wrapper {
    flex-direction: row-reverse;
}

.chatbot-modal-content #select-question {
    padding-left: 40px;
}

.chatbot-footer{
    position: absolute;
    left: 24px;
    bottom: 24px;
    width: 346px;
}

.chatbot-footer .email-input {
    width: 312px;
    height: 40px;
    padding: 8px 42px 8px 8px;
    outline: none;
    border: 1px solid #ced4da;
    font-size: 14px;
}

.email-input[disabled]{
    cursor: not-allowed;
}

input.email-input.error {
    border: 1px solid red;
}
.chatbot-footer .error-message {
    color: red;
    margin-left: 32px;
}

.chatbot-footer .question-tooltip {
    position: absolute;
    top: -26px;
    left: -38px;
    height: 26px;
    text-align: center;
    color: #fff;
    background: #000000;
    display: none;
    border-radius: 4px;
    padding: 1px 8px;
    font-size: 14px;
}

.question-tooltip::after {
    content: '';
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-top: 5px solid black;
    position: absolute;
    bottom: -10px;
    left: 42px;
}

.chatbot-footer .question-type {
    width: 26px;
    height: 26px;
    border: none;
    outline: none;
    background-image: url(../images/icon_question_type_default.svg);
    background-color: #fff;
    cursor: pointer;
    margin-right: 8px;
}

.chatbot-footer .question-type:hover {
    background-image: url(../images/icon_question_type_hover.svg);
}

    .chatbot-footer .question-type:hover + .question-tooltip{
        display: flex !important;
    }

.chatbot-footer .send-email {
    position: absolute;
    right: 12px;
    cursor: pointer;
    border: none;
    outline: none;
    width: 18px;
    height: 18px;
    background-image: url(../images/icon_send_default.svg);
    background-color: #fff;
}

.chatbot-footer .send-email:hover:not([disabled]) {
    background-image: url(../images/icon_send_hover.svg);
}
.chatbot-footer .send-email[disabled] {
    cursor: not-allowed;
}

.chatbot-footer .input-wrapper {
    display: flex;
    align-items: center;
}

.chatbot-footer .error-message {
    display: none;
}

.pl-40 {
    padding-left: 40px;
}

::-webkit-scrollbar {
    width: 10px !important;
    height: 10px !important;
}
div::-webkit-scrollbar-corner, ul::-webkit-scrollbar-corner {
    background: #b8bbbd;
}
::-webkit-scrollbar-corner {
    background-color: #b8bbbd !important;
}
::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0,0,0,.4) !important;
    box-shadow: inset 1px 1px 4px rgba(0,0,0,.1) !important;
}
::-webkit-scrollbar-thumb {
    border-radius: 10px !important;
    background-color: #939fae !important;
    background-clip: content-box;
}