﻿    #chatbot-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: #10a37f;
        color: white;
        padding: 18px;
        border-radius: 25%;
        cursor: pointer;
        font-size: 22px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        z-index: 1000;
    }

    #chatbot-window {
        position: fixed;
        top:90px;
        bottom: 80px;
        right: 20px;
        width: 400px;
        /* height: 500px; */
        background: white;
        border-radius: 12px;
        display: none;
        flex-direction: column;
        box-shadow: 0 5px 20px rgba(0,0,0,0.25);
        overflow: hidden;
        z-index: 1000;
    }

    #chatbot-header {
        background: #10a37f;
        color: white;
        padding: 12px;
        font-size: 18px;
    }

    #chatbot-close {
        float: right;
        cursor: pointer;
    }

    #chatbot-messages {
        flex: 1;
        padding: 12px;
        overflow-y: auto;
    }

    #chatbot-alert {
        padding: 12px;
        text-align:center;
    }
    #chatbot-contador {
        padding: 12px;
        text-align:center;
    }

#chatbot-input-container {
    display: flex;
    border-top: 1px solid #ccc;
    padding: 6px;              /* opcional, para que no quede tan pegado */
    box-sizing: border-box;
}

#chatbot-input {
    flex: 1;
    padding: 10px;
    border: none;
    resize: none;              /* que no se pueda estirar con el ratón */
    outline: none;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
}

#chatbot-send {
    background: #10a37f;
    color: white;
    border: none;
    padding: 0 14px;           /* vertical 0 para que se adapte a la altura del contenedor */
    cursor: pointer;
    display: flex;             /* centramos la flecha verticalmente */
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

    .message {
        padding: 8px 12px;
        margin-bottom: 10px;
        border-radius: 8px;
        max-width: 80%;
    }

    .user {
        background: #e0f4ff;
        align-self: flex-end;
    }

    .bot {
        background: #f1f1f1;
    }
