#chatbot-boton {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 60px;
    height: 60px;

    border: none;
    border-radius: 50%;

    background: #006633;
    color: white;

    font-size: 28px;

    cursor: pointer;

    box-shadow: 0 5px 20px rgba(0,0,0,.25);

    z-index: 999999;
}

#chatbot-ventana {
    position: fixed;

    right: 25px;
    bottom: 95px;

    width: 350px;
    height: 500px;

    background: white;

    border-radius: 15px;

    box-shadow: 0 10px 35px rgba(0,0,0,.25);

    display: none;

    flex-direction: column;

    overflow: hidden;

    z-index: 999999;
}

#chatbot-encabezado {
    background: #006633;
    color: white;

    padding: 15px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chatbot-titulo {
    font-size: 16px;
    font-weight: bold;
}

#chatbot-cerrar {
    border: none;
    background: transparent;
    color: white;

    font-size: 20px;

    cursor: pointer;
}

#chatbot-mensajes {
    flex: 1;

    padding: 15px;

    overflow-y: auto;

    background: #f5f6f7;
}

.chat-mensaje {
    margin-bottom: 10px;

    padding: 10px 12px;

    border-radius: 12px;

    max-width: 80%;

    font-size: 14px;

    line-height: 1.4;
}

.chat-usuario {
    margin-left: auto;

    background: #d9fdd3;

    border-bottom-right-radius: 3px;
}

.chat-admin,
.chat-bot {
    margin-right: auto;

    background: white;

    border-bottom-left-radius: 3px;

    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

#chatbot-formulario {
    display: flex;

    padding: 10px;

    background: white;

    border-top: 1px solid #ddd;
}

#chatbot-input {
    flex: 1;

    border: 1px solid #ccc;

    border-radius: 20px;

    padding: 10px 14px;

    outline: none;

    font-size: 14px;
}

#chatbot-enviar {
    width: 42px;
    height: 42px;

    margin-left: 8px;

    border: none;

    border-radius: 50%;

    background: #006633;

    color: white;

    cursor: pointer;

    font-size: 18px;
}

#chatbot-enviar:disabled {
    opacity: .5;

    cursor: not-allowed;
}

@media (max-width: 500px) {

    #chatbot-ventana {

        right: 10px;
        bottom: 80px;

        width: calc(100% - 20px);

        height: 70vh;
    }

    #chatbot-boton {

        right: 15px;
        bottom: 15px;
    }
}