/* Chat Widget Styles */

.chat-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.chat-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.chat-button svg {
    flex-shrink: 0;
}

.chat-button span {
    color: white;
    white-space: nowrap;
}

/* Zalo Button */
.zalo-button {
    background: linear-gradient(135deg, #0068FF 0%, #0084FF 100%);
}

.zalo-button:hover {
    background: linear-gradient(135deg, #0056D6 0%, #006FD6 100%);
}

/* Messenger Button */
.messenger-button {
    background: linear-gradient(135deg, #0084FF 0%, #00A3FF 100%);
}

.messenger-button:hover {
    background: linear-gradient(135deg, #006FD6 0%, #0088D6 100%);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .chat-widget-container {
        bottom: 15px;
        right: 15px;
    }

    .chat-button {
        padding: 10px 16px;
        font-size: 13px;
    }

    .chat-button svg {
        width: 32px;
        height: 32px;
    }

    .chat-button span {
        display: none;
        /* Hide text on mobile, show only icons */
    }

    /* Show text on hover for mobile */
    .chat-button:active span {
        display: inline;
    }
}

/* Very small screens - stack buttons horizontally */
@media (max-width: 480px) {
    .chat-widget-container {
        flex-direction: row;
        bottom: 10px;
        right: 10px;
    }

    .chat-button {
        padding: 10px;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
    }
}

/* Facebook Customer Chat Plugin Customization */
.fb-customerchat {
    display: none;
    /* Hidden by default, shown when button clicked */
}

/* Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-button {
    animation: slideInUp 0.5s ease-out;
}

.chat-button:nth-child(1) {
    animation-delay: 0.1s;
}

.chat-button:nth-child(2) {
    animation-delay: 0.2s;
}