#chatbot-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #00c6ff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

#chatbot-bubble:hover {
    transform: scale(1.1);
}

#chatbot-box {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 340px;
    height: 500px;
    background: #fff;
    border-radius: 16px;
    display: none;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}

#chatbot-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 14px 16px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* BOTÓN CERRAR */
#chatbot-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* MENSAJES */
#chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #f4f6f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* BURBUJAS */
.message {
    max-width: 80%;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.4;
}

/* BOT */
.bot {
    background: #e6e9ef;
    align-self: flex-start;
    border-bottom-left-radius: 6px;
}

/* USER */
.user {
    background: #007bff;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 6px;
}

/* BOTONES RÁPIDOS */
.quick-btn {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #5aa9e6, #007bff);
    color: white;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
}

.quick-btn:hover {
    transform: scale(1.03);
}

/* INPUT */
#chatbot-input-container {
    display: flex;
    padding: 10px;
    background: white;
    border-top: 1px solid #ddd;
}

#chatbot-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px;
    font-size: 14px;
}

#chatbot-send {
    background: #007bff;
    border: none;
    color: white;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
}