/* The CSS for the chatbot widget */
#gemini-chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#gemini-chatbot-toggle {
    width: 60px;
    height: 60px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
#gemini-chatbot-toggle:hover {
    transform: scale(1.1);
}
.chat-icon {
    font-size: 24px;
}
.gemini-icon {
    font-size: 24px;
    margin-right: 10px;
}

#gemini-chatbot-window {
    width: 350px;
    height: 500px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: none; /* Hidden by default */
    flex-direction: column;
    position: absolute;
    bottom: 70px;
    right: 0;
}
#gemini-chatbot-window.active {
    display: flex;
}

#gemini-chatbot-header {
    background-color: #333;
    color: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    font-size: 18px;
    border-radius: 15px 15px 0 0;
}

#gemini-chatbot-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.user-message, .bot-message {
    padding: 10px 15px;
    border-radius: 15px;
    margin-bottom: 10px;
    max-width: 80%;
    word-wrap: break-word;
}
.user-message {
    background-color: #007bff;
    color: white;
    margin-left: auto;
}
.bot-message {
    background-color: #e9ecef;
    color: #333;
    margin-right: auto;
}

#gemini-chatbot-form {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
    background-color: #fff;
}

#gemini-chatbot-input {
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
}

#gemini-chatbot-send-btn {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background-color 0.3s ease;
}
#gemini-chatbot-send-btn:hover {
    background-color: #0056b3;
}