/* =========================================
   Chatbot Prestige
   ========================================= */
.chatbot-trigger {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    width: 62px !important;
    height: 62px !important;
    background: linear-gradient(135deg, #6d5dc0, #51408f) !important;
    color: #a9e5ff !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 18px 32px -18px rgba(44, 36, 80, 0.75) !important;
    z-index: 99999 !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: 2px solid rgba(169, 229, 255, 0.65) !important;
}

.chatbot-trigger:hover { transform: scale(1.08) rotate(4deg); }

.chatbot-container {
    position: fixed !important;
    bottom: 100px !important;
    right: 25px !important;
    width: 380px !important;
    height: 550px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(244,248,255,0.97)) !important;
    border-radius: 24px !important;
    box-shadow: 0 30px 50px -30px rgba(20, 27, 45, 0.45) !important;
    display: none;
    flex-direction: column !important;
    overflow: hidden !important;
    z-index: 99999 !important;
    border: 1px solid rgba(87, 184, 242, 0.22) !important;
    animation: slideUpBot 0.4s ease-out;
}

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

.chatbot-header {
    background: linear-gradient(135deg, #5f50aa, #473a7f) !important;
    padding: 20px !important;
    color: #d8f2ff !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(255,255,255,0.12) !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: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

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

.bot-msg {
    background: white !important;
    color: #334155 !important;
    align-self: flex-start !important;
    border-bottom-left-radius: 4px !important;
    box-shadow: 0 12px 24px -20px rgba(51, 65, 85, 0.35) !important;
    border: 1px solid rgba(87, 184, 242, 0.14) !important;
}

.user-msg {
    background: linear-gradient(135deg, #6d5dc0, #51408f) !important;
    color: white !important;
    align-self: flex-end !important;
    border-bottom-right-radius: 4px !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(87, 184, 242, 0.35) !important;
    color: #334155 !important;
    padding: 8px 16px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-align: left !important;
    box-shadow: 0 8px 20px -18px rgba(0,0,0,0.3) !important;
    width: fit-content !important;
    max-width: 100% !important;
}

.chatbot-opt-btn:hover {
    background: #edf8ff !important;
    border-color: #57b8f2 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -18px rgba(87, 184, 242, 0.4) !important;
}

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

.chatbot-close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    color: #d8f2ff !important;
    cursor: pointer !important;
    font-size: 1.2rem !important;
    opacity: 0.85 !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;
    }
}
