html {
    scroll-behavior: smooth;
}

.chat-bar-collapsible {
    border-radius: 7px;
    position: fixed;
    left: 72%;
    bottom: 12px;
    text-align: right;
}

.collapsible {
    background: linear-gradient(45deg, var(--cd), var(--cl));
    color: white;
    padding: 4px 20px 0px 0px;
    height: 70px;
    width: 70px;
    text-align: right;
    outline: none;
    font-size: 14px;
    border-radius: 100%;
    border: none;
    border-bottom: none;
    z-index: 20;
    margin: 10px 0px;
    box-shadow: 2px 2px 10px #cccccc7a;
}

.chatbot-greet {
    background: linear-gradient(135deg, rgb(42, 39, 218) 0%, rgb(0, 204, 255) 100%);
    border-radius: 5px;
    color: white;
    font-weight: 500;
}

.content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
    border-radius: 12px;
}

.full-chat-block {
    width: 350px;
    background: white;
    text-align: center;
    overflow: auto;
    scrollbar-width: none;
    height: max-content;
    transition: max-height 0.2s ease-out;
}

.outer-container {
    min-height: 500px;
    bottom: 0;
    position: relative;
}

.chat-container {
    max-height: 500px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    scroll-behavior: smooth;
    hyphens: auto;
}

.chat-container::-webkit-scrollbar {
    display: none;
}

.chat-bar-input-block {
    display: flex;
    float: left;
    box-sizing: border-box;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    background-color: #f5f7fb;
    padding: 8px 0px 8px 8px;
}

.chat-bar-icons {
    display: flex;
    justify-content: space-evenly;
    box-sizing: border-box;
    width: 25%;
    float: right;
    font-size: 25px;
}

#chat-icon {
    padding: 0px 0px 4px 14px;
}

#chat-icon:hover {
    opacity: .7;
}


/* Chat bubbles */

#userInput {
    width: 75%;
}

.input-box {
    float: left;
    border: none;
    box-sizing: border-box;
    width: 100%;
    border-radius: 2px;
    font-size: 14px;
    color: #000;
    background-color: #f5f7fb;
    outline: none
}

.userText {
    color: white;
    /*font-family: Helvetica;*/
    font-size: 14px;
    font-weight: normal;
    text-align: right;
    clear: both;
}

.userText span {
    line-height: 1.5em;
    display: inline-block;
    background: #5ca6fa;
    padding: 10px;
    border-radius: 8px;
    border-bottom-right-radius: 2px;
    max-width: 80%;
    margin-right: 10px;
    animation: floatup .5s forwards
}

.botText {
    color: #000;
    /*font-family: Helvetica;*/
    font-weight: normal;
    font-size: 14px;
    text-align: left;
}

.botText span {
    line-height: 1.5em;
    display: inline-block;
    background: #f5f7fb;
    padding: 10px;
    border-radius: 8px;
    border-bottom-left-radius: 2px;
    max-width: 80%;
    margin-left: 10px;
    animation: floatup .5s forwards
}

@keyframes floatup {
    from {
        transform: translateY(14px);
        opacity: .0;
    }
    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

@media screen and (max-width:600px) {
    .chat-bar-collapsible {
        position: fixed;
        bottom: 15px;
        left: 96px;
        right: 20px;
        text-align: right;
    }
    .collapsible {
        height: 50px;
        width: 50px;
        padding: 6px 13px 0px 2px;
    }
    .content {
        /* overflow: visible; */
        border-radius: 12px;
    }
    .full-chat-block {
        width: 100%;
        background: white;
        text-align: center;
        overflow: auto;
        scrollbar-width: none;
        height: max-content;
        transition: max-height 0.2s ease-out;
    }
    #chat-icon {
        padding: 0px 10px 0px 10px;
    }
}


/* ChatBot PopUp */

#chatMsgPopUp {
    border-radius: 6px;
    margin-left: 100px;
    visibility: hidden;
}

.box {
    animation: mymove 600s;
    animation-delay: 4s;
}

@keyframes mymove {
    from {
        visibility: hidden;
    }
    to {
        visibility: visible;
    }
}