/* Live-Chat-Button (WhatsApp) - core/Extensions/WhatsAppChat/assets/style.css */

.nx-whatsapp-chat {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
}

.nx-whatsapp-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.75rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nx-whatsapp-chat-btn:hover,
.nx-whatsapp-chat-btn:focus-visible {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.nx-whatsapp-chat-bubble {
    position: relative;
    max-width: 15rem;
    padding: 0.6rem 1.75rem 0.6rem 0.9rem;
    border-radius: 0.75rem;
    background: #fff;
    color: var(--nx-text, #212529);
    font-size: 0.85rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.nx-whatsapp-chat-bubble-close {
    position: absolute;
    top: 0.15rem;
    right: 0.4rem;
    border: 0;
    background: none;
    font-size: 1rem;
    line-height: 1;
    color: var(--nx-text-muted, #6c757d);
    cursor: pointer;
    padding: 0.15rem;
}

.nx-whatsapp-chat-bubble-close:hover {
    color: var(--nx-text, #212529);
}

@media (max-width: 480px) {
    .nx-whatsapp-chat {
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .nx-whatsapp-chat-btn {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }
}
