/* =========================================
   Chatbot Premium Styles - Dedicated File
   ========================================= */
.chatbot-trigger {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    width: 60px !important;
    height: 60px !important;
    background: #0f172a !important; /* Usando colores directos para mayor seguridad */
    color: #d4af37 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    box-shadow: 0 10px 25px rgba(0,31,63,0.3) !important;
    z-index: 99999 !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: 2px solid #d4af37 !important;
}

.chatbot-trigger:hover {
    transform: scale(1.1) rotate(5deg);
}

.chatbot-container {
    position: fixed !important;
    bottom: 100px !important;
    right: 25px !important;
    width: 380px !important;
    height: 550px !important;
    background: white !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
    display: none;
    flex-direction: column !important;
    overflow: hidden !important;
    z-index: 99999 !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    animation: slideUpBot 0.4s ease-out;
}

.chatbot-container.active {
    display: flex !important;
}

.chatbot-header {
    background: #0f172a !important;
    padding: 20px !important;
    color: #d4af37 !important;
    text-align: center !important;
    border-bottom: 2px solid #d4af37 !important;
    position: relative !important;
}

.chatbot-header h3 {
    margin: 0 !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 1.2rem !important;
}

.chatbot-body {
    flex: 1 !important;
    padding: 20px !important;
    overflow-y: auto !important;
    background: #f8fafc !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.chatbot-msg {
    padding: 12px 16px !important;
    border-radius: 15px !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    max-width: 85% !important;
    margin-bottom: 5px !important;
}

.bot-msg {
    background: white !important;
    color: #0f172a !important;
    align-self: flex-start !important;
    border-bottom-left-radius: 2px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    border: 1px solid #eee !important;
}

.user-msg {
    background: #0f172a !important;
    color: white !important;
    align-self: flex-end !important;
    border-bottom-right-radius: 2px !important;
}

.chatbot-options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 15px !important;
    padding-bottom: 5px !important;
}

.chatbot-opt-btn {
    background: #ffffff !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    color: #0f172a !important;
    padding: 8px 16px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-align: left !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
    width: fit-content !important;
    max-width: 100% !important;
}

.chatbot-opt-btn:hover {
    background: #fdf5d2 !important;
    border-color: #d4af37 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.15) !important;
}

.typing-indicator {
    font-size: 0.8rem !important;
    color: #d4af37 !important;
    display: none;
    margin-bottom: 5px !important;
    font-style: italic !important;
}

.chatbot-close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    color: #d4af37 !important;
    cursor: pointer !important;
    font-size: 1.2rem !important;
    opacity: 0.8 !important;
}

@keyframes slideUpBot {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .chatbot-container {
        width: 95% !important;
        right: 2.5% !important;
        bottom: 80px !important;
        height: 60vh !important;
    }
}
