﻿body {
}
/* Chat Box 
Chat Box 
Chat Box 
Chat Box 
Chat Box  */

@media screen and (max-width: 490px) {
    .show-chatbot .chatbot {
/*        transform: scale(1) !important;
        bottom: 0;
        height: 90%;*/
    }
}

.chatbot__button {
    position: fixed;
    bottom: 46px;
    right: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #a67900;
    color: #f3f7f8;
    border: none;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    z-index: 99999999;
}

    .chatbot__button span {
        position: absolute;
    }

        .show-chatbot .chatbot__button span:first-child,
        .chatbot__button span:last-child {
            opacity: 0;
        }

.show-chatbot .chatbot__button span:last-child {
    opacity: 1;
}
li.chatbot__chat.incoming p {
    color: black;
}
li.chatbot__chat.outgoing p {
    color: white;
}
.chatbot {
    position: fixed;
    bottom: 65px;
    right: 40px;
    width: 420px;
    background-color: #303030;
    border-radius: 15px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transform: scale(0.5);
    transition: transform 0.3s ease;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    z-index:999999;
}
#chatCount {
    margin-top: -20px;
    margin-left: 34px;
    background-color: #35a135;
    padding: 4px;
    line-height: 12px;
    border-radius: 51px;
    font-size: 11px;
    font-family: math;
}
.show-chatbot .chatbot {
    opacity: 1;
    pointer-events: auto;
    transform: scale(0.8);
}

.chatbot__header {
    position: relative;
    background-color: #a67900;
    text-align: center;
    padding: 16px 0;
}

    .chatbot__header span {
        display: none;
        position: absolute;
        top: 50%;
        right: 20px;
        color: #ffffff;
        transform: translateY(-50%);
        cursor: pointer;
    }

.chatbox__title {
    font-size: 1.4rem;
    color: #f3f7f8;
}

.chatbot__box {
    height: 370px;
    overflow-y: auto;
}

.chatbot__chat {
    display: flex;
}


.incoming span {
    width: 32px;
    height: 32px;
    line-height: 32px;
    color: #f3f7f8;
    background-color: #a67900;
    border-radius: 4px;
    text-align: center;
    align-self: flex-end;
    margin: 0 10px 7px 0;
}

.outgoing {
    justify-content: flex-end;
    margin: 20px 0;
}

.incoming {
    margin: 20px 0;
}

.chatbot__input-box {
    /*position: absolute;*/
    bottom: 0;
    width: 100%;
    display: flex;
    gap: 5px;
    align-items: center;
    border-top: 1px solid #a67900;
    background: #303030;
    padding: 15px 20px;
}

.chatbot__textarea {
    width: 100%;
    font-size: 0.95rem;
    color: #202020;
    border: none;
    outline: none;
    resize: none;
    background: transparent;
}

    .chatbot__textarea::placeholder {
        font-family: 'Poppins', sans-serif;
    }

.chatbot__input-box span {
    color: #a67900;
    cursor: pointer;
    text-align: right !important;
}


@media (max-width: 490px) {
    .chatbot {
        right: 0;
        bottom: 53px;
        width: 100%;
        height: 88%;
        border-radius: 4;
    }

    .chatbot__box {
        height: 74%;
    }

    .chatbot__header span {
        display: inline;
    }
}

.chatboxinput {
    padding: 10px !important;
    width: 100% !important;
    font-size: 15px !important;
    border: none !important;
    border-bottom: 1px solid #aaaaaa !important;
}

