.chat-input button {
    padding: 8px 15px !important;
    background-color: #2c3e50 !important;
    color: white !important;
    border: none !important;
    cursor: pointer !important;
    border-radius: 0 3px 3px 0 !important;
}

.gemini-chatbot-container {
    border: 1px solid #ccc;
    padding: 0;
    width: 350px;
    position: fixed;
    bottom: 20px;
    right: 70px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

.gemini-chatbot-toggle {
    background: #eeeeee;
    color: #777;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    font-size: 1em;
    line-height: 1;
    width: 100%;
    border: 1px;
    border-radius: 1px 1px 0 0;
    display: block;
    margin-left: 0;
}

.gemini-chatbot-toggle:hover {
    color: #333;
    background-color: #eee;
}

.gemini-chatbot-container.collapsed .chat-log,
.gemini-chatbot-container.collapsed .chat-input {
    display: none;
}

.gemini-chatbot-container.collapsed {
    height: auto;
    padding-bottom: 0;
}

.chat-log {
    height: 250px;
    overflow-y: scroll;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border-radius: 0 0 3px 3px;
    flex-grow: 1;
}

.user-message {
    text-align: right;
    margin-bottom: 5px;
    padding: 8px;
    background-color: #fdeff2;
    border-radius: 5px;
    word-break: break-word;
}

.bot-message {
    text-align: left;
    margin-bottom: 5px;
    padding: 8px;
    background-color: #e1ebf7;
    border-radius: 5px;
    word-break: break-word;
}

.chat-input {
    display: flex;
    margin-top: 10px;
    padding: 5px;
}

.chat-input input[type="text"] {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px 0 0 3px;
}

.chat-input button {
    padding: 8px 15px;
    background-color: #4caf50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
}

.bot-error {
    text-align: center;
    margin-bottom: 5px;
    padding: 8px;
    background-color: #ffdddd;
    border: 1px solid #ffaaaa;
    border-radius: 5px;
    color: #d8000c;
}

.bot-message.loading {
    color: #777;
    font-style: italic;
}

/* Styles responsives */
@media (max-width: 600px) {
    .gemini-chatbot-container {
        width: 90%;
        bottom: 50px;
        left: 5%;
        right: auto;
        border-radius: 5px 5px 0 0;
    }
}