﻿#chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-family: Arial, sans-serif;
    z-index: 9999;
}

#chat-bubble {
    width: 60px;
    height: 60px;
    background: #000000;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform .2s;
}

    #chat-bubble:hover {
        transform: scale(1.1);
    }

#chat-window {
    width: 320px;
    height: 420px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
    font-size: 0.9em;
}

#chat-header {
    background: #000000;
    color: white;
    padding: 12px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

#chat-messages {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px;
    overflow-y: auto;
}

.message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    max-width: 80%;
}

.user {
    background: #e1f0ff;
    align-self: flex-end;
}

.bot {
    background: #f2f2f2;
    align-self: flex-start;
}

#chat-input-area {
    display: flex;
    border-top: 1px solid #ddd;
}

#chat-input {
    flex: 1;
    border: none;
    padding: 10px;
}

#chat-send {
    background: #000000;
    color: white;
    border: none;
    padding: 0 16px;
    cursor: pointer;
}
