﻿
.chatbot-bubble {
    position: fixed;
    bottom: 80px; /* ← más arriba del footer y del reCAPTCHA */
    right: 20px;
    background: #28a745; /* ← verde bootstrap */
    color: white;
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}

.chatbot-bubble:hover {
    background: #218838; /* verde más oscuro al pasar el mouse */
}

.chatbot-window {
    position: fixed;
    bottom: 80px; /* ← subimos también la ventana de chat */
    right: 10px;
    width: 320px;
    height: 400px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    z-index: 10000;
}

#chatbot-send {
    background-color: #28a745 !important; /* verde */
    border-color: #28a745 !important;
    color: #fff;
}

    #chatbot-send:hover {
        background-color: #218838 !important; /* verde más oscuro al pasar */
        border-color: #1e7e34 !important;
    }


.chatbot-header {
    background: #218838;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0 0;
}

.chatbot-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    font-size: 14px;
}

.chatbot-footer {
    display: flex;
    border-top: 1px solid #ccc;
}

#chatbot-input {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 14px;
}

#chatbot-send {
    border-radius: 0;
}

.bot-message {
    background: #f1f1f1;
    padding: 8px 10px;
    margin: 5px 0;
    border-radius: 8px;
}

.user-message {
    background: #d1e7dd;
    padding: 8px 10px;
    margin: 5px 0;
    border-radius: 8px;
    text-align: right;
}
