﻿.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.chat-suggestions button {
    border: none;
    background: #f5f7fb;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;

    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

.chat-suggestions button:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

.chat-suggestions button:active {
    transform: scale(0.95);
}
.chat-btn {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #0071e3;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 999;
}

.chat-box {
    position: fixed;
    bottom: 170px;
    right: 25px;
    width: 300px;
    background: white;
    border-radius: 15px;
    display: none;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

    .chat-box.active {
        display: flex;
    }

.chat-header {
    padding: 10px;
    background: #0071e3;
    color: white;
    border-radius: 15px 15px 0 0;
}

.chat-body {
    padding: 10px;
    height: 200px;
    overflow-y: auto;
}

.chat-footer {
    display: flex;
}

    .chat-footer input {
        flex: 1;
        border: none;
        padding: 8px;
    }

    .chat-footer button {
        background: #0071e3;
        color: white;
        border: none;
        padding: 8px;
    }
.chat-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Tin nhắn chung */
.chat-msg {
    max-width: 75%;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 14px;
}

/* BOT (bên trái) */
.bot-msg {
    align-self: flex-start;
    background: #f1f1f1;
    color: #000;
}

/* USER (bên phải) */
.user-msg {
    align-self: flex-end;
    background: #0071e3;
    color: white;
}