
.chat-container {
    width: 340px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    font-family: sans-serif;
    display: none;
    flex-direction: column;
}

.chat-header {
    background: #ffe600;
    padding: 10px 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
}

.chat-header-controls span {
    cursor: pointer;
    font-size: 18px;
    margin-left: 10px;
}

.chat-body {
    background: #edf1f5;
    padding: 10px;
    min-height: 250px;
    flex: 1;
    overflow-y: auto;
}

.chat-message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.chat-message .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
}

.chat-message .message {
    background: white;
    padding: 10px 12px;
    border-radius: 12px;
    max-width: 80%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chat-message .author {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 4px;
}

.chat-footer {
    padding: 10px;
    background: white;
    border-top: 1px solid #ccc;
}

.chat-footer input {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
}

.send-btn {
    background: #ffe600;
    border: none;
    padding: 8px 12px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s ease;
}

.send-btn:hover {
    background: #ffdb00;
}

.chat-footer {
    display: flex;
    padding: 10px;
    background: white;
    border-top: 1px solid #ccc;
}

.chat-footer input {
    flex: 1;
    padding: 8px;
    border-radius: 8px 0 0 8px;
    border: 1px solid #ccc;
    outline: none;
}