/* Floating chat toggle icon */
#ai-chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0073aa;
    color: #fff;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    cursor: pointer;
    z-index: 99999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Chat popup box */
#ai-chatbot {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    max-height: 400px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

/* Chat header */
#chat-header {
    background: #0073aa;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#close-chat {
    cursor: pointer;
    font-size: 18px;
}

/* Chat messages area */
#chat-log {
    height: 250px;
    overflow-y: auto;
    padding: 10px;
    background-color: #f8f8f8;
}

.user-msg {
    text-align: right;
    margin: 6px 0;
    color: #0073aa;
}

.bot-msg {
    text-align: left;
    margin: 6px 0;
    color: #333;
}

/* Input + button */
#user-message {
    width: 70%;
    padding: 10px;
    border: none;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

#send-msg {
    width: 30%;
    padding: 10px;
    border: none;
    background: #0073aa;
    color: #fff;
    cursor: pointer;
}
