/* Wrapper */

.whatsapp-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 99999;
}


/* Circular WhatsApp button */

.whatsapp-button {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    animation: bounce 2s infinite;
    transition: transform 0.3s ease;
}

.whatsapp-button img {
    width: 30px;
    height: 30px;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}


/* Capsule Label */

.whatsapp-label {
    background-color: #25d366;
    color: white;
    padding: 0px 10px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    height: 20x
}


/* Show label when hovering over the button */

.whatsapp-wrapper:hover .whatsapp-label {
    opacity: 1;
    visibility: visible;
}


/* Mobile responsiveness */

@media (max-width: 480px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    .whatsapp-button img {
        width: 24px;
        height: 24px;
    }
    .whatsapp-label {
        font-size: 12px;
        padding: 6px 10px;
    }
}


/* Bounce animation */

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}