/* WP Floating WhatsApp CSS */
.wp-fw-floating-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999999;
}

.wp-fw-whatsapp-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
}

.wp-fw-whatsapp-button:hover,
.wp-fw-whatsapp-button:focus,
.wp-fw-whatsapp-button:active {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #FFF;
}

.wp-fw-whatsapp-button svg {
    fill: currentColor;
}

/* Tooltip Styling */
.wp-fw-tooltip {
    position: absolute;
    right: 80px;
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.wp-fw-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    margin-top: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.wp-fw-whatsapp-button:hover .wp-fw-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Floating animation */
@keyframes wp-fw-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.wp-fw-floating-container {
    animation: wp-fw-bounce 3s infinite ease-in-out;
}

/* Disable animation on hover */
.wp-fw-floating-container:hover {
    animation-play-state: paused;
}
