*,
*::before,
*::after {
    box-sizing: border-box;
    /*font-family: "Roboto", sans-serif;*/
}

.chatbot {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 100%;
    max-height: 470px;
    background-color: #f98530;
    border-radius: 10px;
    display: none;
    padding-bottom: 10px;
    border: 3px solid #f98530;
    border-top-left-radius: 10px;
    flex-direction: column;
    z-index: 9999;
}

.chatbot-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 20px;
    background-color: #f98530;
    color: white;
}

.chatbot-manager-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-left: 0px;
    margin-bottom: 10px;
}

.chatbot-avatar {
    display: block;
    border-radius: 50%;
    object-fit: cover;
    width: 60px !important;
    height: 60px !important;
}

.chatbot-close {
    cursor: pointer;
    width: 45px;
    height: 45px;
    margin: 0;
    background-color: transparent;
    border: none;
    background-repeat: no-repeat;
    background-size: cover;
}

.chatbot-body {
    padding: 20px;
    display: flex;
    background: white;
    font-size: 14px;
    flex-direction: column;
    gap: 10px;
    height: 360px;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    width: 95%;
    border-radius: 10px 10px 0 0;
    transition: 0.3s ease-in-out;
    scrollbar-color: transparent transparent;
    box-sizing: border-box;
    margin: 0px 10px;
}

.chatbot-body::-webkit-scrollbar {
    width: 8px;
}

.chatbot-body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.1);
}

.chatbot-body:hover::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
}

.chatbot-body::-webkit-scrollbar-track {
    background-color: transparent;
}

.chatbot-body::-webkit-scrollbar-button {
    display: none;
}

.chatbot-body:hover {
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.chatbot-ask {
    display: block;
    align-self: flex-start;
    margin: 0;
    margin: 0;
    padding: 5px 10px;
    background: #FFFFFF;
    border-radius: 6px;
    max-width: 80%;
    box-shadow: 0px 4px 22px 0px #00000029;
}

.chatbot-answer {
    display: block;
    margin: 0;
    margin: 0;
    padding: 5px 10px;
    border-radius: 4px;
    max-width: 80%;
    align-self: flex-end;
    background: #FFFDF6;
    box-shadow: 0px 4px 22px 0px #00000029;
}

.chatbot-input {
    width: 100%;
    padding: 5px 5px 5px 7px;
    display: block;
    height: 46px;
    box-shadow: 0px 4px 22px 0px #00000029;
    border: none;
    margin-bottom: 15px;
    font-size: 14px;
    color: #000;
    border-radius: 10px;
    font-family: Roboto;
}
.chatbot-input:placeholder {
    color: #B2B2B2;
    font-weight: 400;
}

.chatbot-footer {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    height: 50px;
    background-color: #fff;
    color: black;
    width: 95%;
    margin: 0px 10px;
    border-radius: 0px 0px 10px 10px;
}

.chatbot-button {
    position: absolute;
    width: 39px;
    height: 37px;
    right: 28px;
    top: -2px;
    border-radius: 6px;
    background-color: transparent;
    border: none;
    background-image: url("./images/icons/send-message.svg");
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}

.chatbot-manager {
    display: flex;
    flex-direction: column;
}

.chatbot-manager-name,
.chatbot-manager-greeting {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-family: "Roboto", "Arial", sans-serif;
    color: #fff;
}

.chatbot-manager-name {
    font-weight: 500;
    font-size: 22px;
}

.chatbot-manager-greeting {
    font-size: 14px;
    color: #FFD4B6;

}

.chatbot-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background-color: rgb(29, 128, 116, 0.1);
    border-radius: 4px;
    align-items: center;
}

.chatbot-form-ask {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-family: "Helvetica", "Arial", sans-serif;
    margin-bottom: 10px;
}

.chatbot-form-button {
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 30px;
    background-color: rgba(249, 133, 48, 0.1);
    border: 1px solid rgb(249, 133, 48);
    margin-top: 10px;
}


.mobile-chatbot{
    display: none;
    position: fixed;
    bottom: 80px;
    right: 15px;
    width: 50px;
    height: 50px;
    z-index: 1000;
    border-radius: 50%;
    background: #ff780b;
    padding: 12px;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}


@media (max-width: 992px) {
    .chatbot {
        display: none;
    }

    #chatbot.active {
        display: flex !important;
    }

    .mobile-chatbot{
        display: flex;
    }

    .mobile-chatbot:hover{
        opacity: 1;
    }
}