/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background: var(--gold-gradient);
    color: #1a1a1a !important;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.whatsapp-float:hover {
    background: var(--gold-gradient);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    color: #1a1a1a;
}

.whatsapp-float i {
    margin-top: 2px;
}

/* Chatbot Container */
.chatbot-container {
    position: fixed;
    bottom: 120px;
    right: 40px;
    width: 350px;
    background: #1a1a1a;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

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

.chatbot-header {
    background: var(--darker-bg);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.close-chatbot {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-chatbot:hover {
    color: var(--primary-color);
}

.chatbot-messages {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
    background: #1a1a1a;
}

.chatbot-message {
    margin-bottom: 15px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    line-height: 1.4;
    position: relative;
    animation: fadeIn 0.3s ease;
}

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

.chatbot-message.bot {
    background: #2a2a2a;
    color: var(--white);
    border-bottom-left-radius: 5px;
    align-self: flex-start;
}

.chatbot-message.user {
    background: var(--gold-gradient);
    color: #1a1a1a;
    border-bottom-right-radius: 5px;
    margin-left: auto;
}

.chatbot-input {
    display: flex;
    padding: 15px;
    background: #1a1a1a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    background: #2a2a2a;
    color: var(--white);
    outline: none;
    transition: all 0.3s ease;
}

.chatbot-input input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.chatbot-input button {
    background: var(--gold-gradient);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chatbot-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.chatbot-trigger {
    position: fixed;
    bottom: 40px;
    right: 120px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #1a1a1a;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: all 0.3s ease;
}

.chatbot-trigger:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .chatbot-container {
        width: 90%;
        right: 5%;
        bottom: 100px;
    }
    
    .chatbot-trigger {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 90px;
        font-size: 20px;
    }
}
