/* Nút mở chat */
#meo-chat-trigger {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #d1ae6c; /* Màu vàng kim */
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: transform 0.3s;
}
#meo-chat-trigger:hover { transform: scale(1.1); }

/* Cửa sổ chat */
#meo-chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 450px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Open Sans', sans-serif;
}

/* Header */
.chat-header {
    background: #333;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}
#meo-chat-close { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; }

/* Body (Nơi hiện tin nhắn) */
.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
}

/* Bong bóng tin nhắn */
.message {
    padding: 10px 15px;
    border-radius: 15px;
    margin-bottom: 10px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.4;
}
.bot-msg { background: #e0e0e0; color: #333; border-bottom-left-radius: 2px; float: left; clear: both; }
.user-msg { background: #d1ae6c; color: #fff; border-bottom-right-radius: 2px; float: right; clear: both; margin-left: auto; }

/* Footer (Các nút bấm) */
.chat-footer { padding: 10px; border-top: 1px solid #eee; background: #fff; }
.quick-questions { display: flex; flex-direction: column; gap: 5px; }
.q-btn {
    background: #fff;
    border: 1px solid #d1ae6c;
    color: #d1ae6c;
    padding: 8px;
    border-radius: 20px;
    cursor: pointer;
    text-align: left;
    font-size: 13px;
    transition: all 0.2s;
}
.q-btn:hover { background: #d1ae6c; color: #fff; }
.contact-human-btn {
    background: #333; color: #fff; border: none; padding: 8px; border-radius: 20px; cursor: pointer; margin-top: 5px;
}