/* Container for the entire chat widget */
#ai-chatbot-container {
    width: 300px;
    height: 400px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-family: 'Arial', sans-serif;
    display: none; /* Hidden by default */
    flex-direction: column;
    z-index: 1000;
}

/* Header style */
#ai-chatbot-header {
    background-color: #0057b8;
    color: white;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#ai-chatbot-header i {
    cursor: pointer;
}

/* Chat messages container */
#ai-chatbot-messages {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    border-bottom: 1px solid #ddd;
    background-color: #f6f7fb;
}

#ai-chatbot-messages p {
    margin: 10px 0;
    padding: 10px;
    border-radius: 8px;
}

#ai-chatbot-messages p.user-message {
    background-color: #0057b8;
    color: white;
    text-align: right;
}

#ai-chatbot-messages p.bot-response {
    background-color: #e8eaf6;
    color: #000;
    text-align: left;
}

/* Input area */
#ai-chatbot-input-container {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
}

#ai-chatbot-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#ai-chatbot-send {
    background-color: #0057b8;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
}

#ai-chatbot-send:hover {
    background-color: #004aad;
}

/* Chat icon to open the chatbox */
#ai-chatbot-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #0057b8;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#ai-chatbot-toggle i {
    color: white;
    font-size: 24px;
}
