.chat_container {
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.chat_container .chat_header {
    padding: 1em;
    background: #111827;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat_container h1, 
.chat_container h2, 
.chat_container h3, 
.chat_container h4, 
.chat_container h5, 
.chat_container h6 {
    margin: 15px;
}
.chat_container .header_content img {
    width: 24px;
    height: 24px;
    margin-bottom: initial !important;
}
.chat_container .header_content {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
}

.chat_container .header_content p {
    flex: 1;
    text-align: center;
    font-size: 1.1em !important;
}
.chat_container span.data-source a {
    background: #e0e0e0;
    padding: 5px 10px;
    border-radius: 25px;
}
.chat_container .chat_box {
    flex: 1;
    padding: 1em;
    overflow-y: auto;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.chat_container .bot_msg,
.chat_container .user_msg {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    border-radius: 10px;
}

.chat_container .user_msg {
    max-width: 80%;
    width: max-content;
    margin: auto;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0px;
    background: #111827;
    color: #ffffff;
}

.chat_container .bot_msg {
    background: #f3f4f6;
    max-width: 80%;
    width: max-content;
    align-items: flex-start;
    margin-bottom: 0px;
}

.chat_container .msg_header {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.chat_container .msg_header img {
    width: 30px;
    height: 30px;
    margin-bottom: initial !important;
}

.chat_container .msg_header h3 {
    font-size: 1em;
    color: #374151;
    margin: 0;
}

.chat_container .bot_msg h3 {
    color: #374151;
    letter-spacing: initial;
}

.chat_container .bot_msg p {
    background: #f3f4f6;
    color: #374151;
}

.chat_container .bot_msg p,
.chat_container .user_msg p {
    margin: 0px !important;
    padding: 0.8em;
    border-radius: 8px;
    word-wrap: break-word;
    font-size: 0.9em !important;
    line-height: 1.4;
    white-space: pre-wrap;
}

.chat_container .chat_footer {
    padding: 0.5em;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.chat_container .chat_footer input {
    flex: 1;
    padding: 0.6em;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    font-size: 0.9em;
    background: #f9fafb;
}
.scheme_default .vc_active .chat-btn,
.scheme_default .vc_active .chat-btn.sc_button_hover_slide_left {
    color: #fff !important;
    width: 60px;
    height: 47px;
}
.scheme_default .vc_active .chat-btn:hover svg,
.scheme_default .vc_active .chat-btn.sc_button_hover_slide_left:hover svg {
    stroke: #ffffff;
}
.scheme_default .vc_active .chat-btn svg,
.scheme_default .vc_active .chat-btn.sc_button_hover_slide_left svg {
    stroke: #f2f2f2;
}
.chat_container .chat_footer button {
    padding: 0.6em 1em;
    background:rgb(55, 102, 204) !important;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 0.9em;
    cursor: pointer;
    margin-left: 0.5em;
}

.chat_container .chat_footer button:hover {
    background: #374151;
}
/* chat indicator */
.chat_container #chatIndicator {
    display: none;
}
.chat_container .dots-loader {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
}

.chat_container .dots-loader span {
    width: 8px;
    height: 8px;
    background-color: #666;
    border-radius: 50%;
    display: inline-block;
    animation: wave 1.5s infinite ease-in-out;
}

.chat_container .dots-loader span:nth-child(1) {
    animation-delay: 0s;
}
.chat_container .dots-loader span:nth-child(2) {
    animation-delay: 0.2s;
}
.chat_container .dots-loader span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
}