﻿.chat-box {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 10000;
}

.chat-box-title {
    background: rgba(58, 94, 152, 1.00);
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
}

    .chat-box-title * {
        color: white;
    }

.chat-box-wapper {
    height: 450px;
    width: 350px;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    overflow: hidden;
    background: #ecf7f8;
    display: none;
    flex-direction: column;
    box-shadow: 0px 0px 30px 0px rgba(0, 42, 106, 1);
    position: relative;
}

.chat-content {
    max-height: 353px;
    overflow: auto;
    padding: 12px;
}


    .chat-content li {
        list-style: none;
    }

        .chat-content li.guest > i {
            width: 40px;
            height: 40px;
            border-radius: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            background: #ccc;
        }

        .chat-content li.guest {
            display: flex;
            gap: 8px;
        }

    .chat-content .chat-message {
        padding: 10px 20px;
        font-size: 14px;
    }

    .chat-content li.guest .chat-message {
        background: white;
        border-radius: 40px;
    }

    .chat-content li.self .chat-message {
        text-align: right;
        background: #bcdffd;
        border-radius: 40px;
    }

.chat-input {
    border: none !important;
    border-top: 1px solid rgba(58, 94, 152, 0.6) !important;
    padding: 0px 12px;
    height: 48px !important;
}

    .chat-input:focus {
        outline: 0 none;
    }

.chat-icon {
    font-size: 50px;
    color: red;
    filter: drop-shadow(2px 4px 6px rgba(0, 42, 106, 0.4));
}

.chat-input-container {
    position: absolute;
    bottom: 0;
}

#sendmessage {
    border-radius: 0;
    padding: .75rem 1rem;
    background: #3a5e98 !important;
}

.chat-content li.self {
    display: flex;
    justify-content: end;
}

.error-message {
    color: red;
    font-size:14px;
}
