﻿body {
    font-family: Arial, sans-serif;
}

.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 450px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    z-index: 1000;
}

.chatbot-header {
    background: #22c55e;
    color: white;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move; /* Con trỏ chuột khi kéo */
    user-select: none; /* Ngăn chọn văn bản khi kéo */
}

.chatbot-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
}

.chatbot-footer {
    padding: 10px;
    border-top: 1px solid #dee2e6;
}

.chatbot-minimized {
    width: 60px;
    height: 60px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

    .chatbot-minimized span {
        color: white;
        font-size: 24px;
    }

.hidden {
    display: none;
}

.message {
    margin: 10px 0;
    padding: 10px;
    border-radius: 8px;
}

.user-message {
    background: #22c55e;
    color: white;
    margin-left: 20%;
    margin-right: 10px;
}

.bot-message {
    background: #e9ecef;
    color: black;
    margin-right: 20%;
    margin-left: 10px;
}
