﻿:root {
    --chat-help-icon-background-color: #3bafda;
    --chattooltiptext-background-color: #3bafda;
    --chattooltiptext-after-border-color: #3bafda;
}

.chatbot-flow {
    height: 100vh;
    background: #F4F4F4;
}

.df-live-chat-widget {
    width: 380px;
    height: 600px;
    background-color: #F4F4F4;
    position: fixed;
    bottom: 30px;
    right: 10px;
    border-radius: 10px;
    overflow: hidden;
    border: 0px solid #808080;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}

#chatbot-icon img {
    width: 40px;
    height: 40px;
    margin-top: 2px;
    margin-right: 2px;
}

.chat-help-icon {
    background: var(--chat-help-icon-background-color);
    width: 45px;
    height: 45px;
    text-align: center;
    border-radius: 5px;
    display: block;
    float: right;
    margin-top: 10px;
    cursor: pointer;
    position: fixed;
    bottom: 30px;
    right: 15px;
}

    .chat-help-icon i {
        line-height: 40px;
        font-size: 30px;
        color: #fff;
    }

.close-chat {
    font-size: 16px;
    color: #fff;
    width: 20px;
    height: 20px;
    position: fixed;
    right: 10px;
    bottom: 374px;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
}

.chat-tool-tip {
}

.chattooltiptext {
    visibility: hidden;
    width: 150px;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 5px;
    right: 55px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 13px;
    background: var(--chattooltiptext-background-color);
}

    .chattooltiptext:after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        /*border-left: 10px solid #3bafda;*/
        border-left: 10px solid var(--chattooltiptext-after-border-color);
        right: -8px;
    }
/* Show the tooltip text when you mouse over the tooltip container */
.chat-tool-tip:hover .chattooltiptext {
    visibility: visible;
    opacity: 1;
}

@media screen and (max-width: 767px) {
    .df-live-chat-widget {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }

    .close-chat {
        right: 6px;
        bottom: inherit;
        top: 5px;
    }

    .message-content-area {
        height: 75vh;
    }
}
