.bot-icon {
    position: fixed;
    bottom: 25px;
    /* Cambiar de right a left */
    left: 25px;
    width: 60px;
    height: 60px;
    background-color: #0d6efd;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.bot-icon:hover {
    transform: scale(1.1);
}

.chat-bot {
    animation: slideUp 0.4s ease;
    position: fixed;
    bottom: 100px;
    /* Cambiar de right a left */
    left: 25px;
    width: 320px;
    max-height: 600px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: none;
}


.bot-header {
    background-color: #0d6efd;
    color: white;
    padding: 10px 15px;
    font-size: 1.1rem;
    font-weight: bold;
}

.bot-body {
    padding: 15px;
    font-size: 0.9rem;
    background-color: #f8f9fa;
    max-height: 450px;
    overflow-y: auto;
}

.bot-body p {
    margin-bottom: 10px;
}

.chat-message {
    margin-bottom: 8px;
}

.chat-message.user {
    text-align: right;
    color: #0d6efd;
}

.chat-message.agent {
    text-align: left;
    color: #198754;
}

#chat-box {
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 10px;
}

.mensaje {
    animation: fadeIn 0.5s ease;
    margin-bottom: 5px;
    padding: 8px;
    border-radius: 6px;
}

.mensaje.agente {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.mensaje.usuario {
    background-color: #f1f8e9;
    border-left: 4px solid #4caf50;
}

