.support-chat-messages::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}
.support-chat-messages::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: #DFE9EB;
}

.support-chat-messages::-webkit-scrollbar-track:hover {
    background-color: #B8C0C2;
}

.support-chat-messages::-webkit-scrollbar-track:active {
    background-color: #B8C0C2;
}

.support-chat-messages::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #cfcfcf;
}

.support-chat-messages::-webkit-scrollbar-thumb:hover {
    background-color: #cfcfcf;
}

.support-chat-messages::-webkit-scrollbar-thumb:active {
    background-color: #cfcfcf;
}

#support-chat {
    background-image: none;
    padding: 0;
    border: 1px solid #dbdbdb;
    position: relative;
    min-height: 540px;
    max-width: 715px;
    width: 100%;
    top: 20px;
    border-radius: 10px;
}

.support-chat-messages {
    min-height: 250px;
    max-height: 370px;
    overflow: auto;
    padding-bottom: 0;
    margin-right: 10px;
    padding-right: 15px;
    padding-left: 15px;
}

#support-chat .support-chat-title {
    font-size: 26px;
    color: #000;
    margin-bottom: 20px;
    background-color: #dfdfdf;
    padding: 15px 15px;
    border-radius: 10px 10px 0 0;
}

#support-chat .chat-row {
    display: flex;
    align-items: flex-end;
    margin-bottom: 8px;
}

#support-chat .chat-row .spinner-border {
    width: 1rem;
    height: 1rem;
    border: 0.15em solid #FFF;
    border-right-color: transparent;
}

#support-chat .chat-row.appuser {
    text-align: right;
    justify-content: flex-end;
}

#support-chat .chat-row.appuser .profile-pic {
    display: none;
}

#support-chat .chat-row.appuser .chat-bubble {
    background-color: #FFF;
    border: 1px solid #dddddd;
    color: #000;
}

#support-chat .profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

#support-chat .chat-bubble {
    display: inline-block;
    padding: 10px;
    margin-left: 8px;
    border-radius: 20px;
    font-size: 16px;
}

#support-chat .bot-message {
    background-color: #dfdfdf;
    color: #000;
}

#support-chat #quick-replies {
    display: flex;
    justify-content: flex-end;
}

#support-chat #quick-replies .btn {
    margin: 0 4px;
    border-radius: 20px;
    border: 1px solid #a7a7a7;
    padding: 10px;
    background-color: #FFF;
    cursor: pointer;
    text-shadow: none;
    background-image: none;
    transition: 0.2s;
}

#support-chat #quick-replies .btn:hover {
    background-color: #ddd;
    background-image: none;
}

#support-chat .conversation-bar {
    position: absolute;
    bottom: 10px;
    left: 20px;
    width: calc(100% - 40px);
    border-radius: 50rem;
    background-color: #FFF;
    padding: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    box-sizing: border-box;
}

#support-chat .conversation-bar .input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

#support-chat .conversation-bar .input-group .form-control {
    flex-grow: 1;
    border: 0;
    font-size: 14px;
    outline: none;
}

#support-chat .conversation-bar .btn-send {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    height: 40px;
    width: 40px;
    margin: 0 10px;
    background-image: url(/public/img/chat/icon_chat_send.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 50%;
    border: 0;
    background-color: transparent;
    padding: 10px 25px;
    border-left: 1px solid #dee2e6 !important;
    cursor: pointer;
}

#support-chat .chat-spinner {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite;
}

#support-chat .chat-spinner::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #000;
    animation: prixClipFix 2s linear infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes prixClipFix {
    0% {
        clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
    }
    25% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
    }
    50% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
    }
    75% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
    }
    100% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
    }
}

#support-chat .form-control {
    border-right: none;
}

#support-chat .send-btn {
    font-size: 1.25rem;
    padding: 0 1rem;
}