/* =========================================
   VISALWEB WHATSAPP FLOATING BUTTON
   ========================================= */

.whatsapp-wrapper {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 9999;

    display: flex;

    align-items: center;

    gap: 10px;

}


/* =========================================
   WHATSAPP BUTTON
   ========================================= */

.whatsapp-button {

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #25d366;

    color: #ffffff;

    border-radius: 50%;

    text-decoration: none;

    font-size: 30px;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.20);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;

    animation:
        whatsapp-pulse 2.2s infinite;

}


/* =========================================
   HOVER
   ========================================= */

.whatsapp-button:hover {

    background: #20bd5a;

    color: #ffffff;

    transform: scale(1.08);

    box-shadow:
        0 8px 25px rgba(37, 211, 102, 0.40);

    animation: none;

}


/* =========================================
   TOOLTIP
   ========================================= */

.whatsapp-tooltip {

    position: absolute;

    right: 70px;

    padding: 8px 13px;

    background: #0b1f33;

    color: #ffffff;

    border-radius: 6px;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 14px;

    white-space: nowrap;

    opacity: 0;

    visibility: hidden;

    transform: translateX(8px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;

    pointer-events: none;

}


/* =========================================
   TOOLTIP ARROW
   ========================================= */

.whatsapp-tooltip::after {

    content: "";

    position: absolute;

    right: -6px;

    top: 50%;

    transform: translateY(-50%);

    border-top: 6px solid transparent;

    border-bottom: 6px solid transparent;

    border-left: 6px solid #0b1f33;

}


/* =========================================
   SHOW TOOLTIP
   ========================================= */

.whatsapp-wrapper:hover .whatsapp-tooltip {

    opacity: 1;

    visibility: visible;

    transform: translateX(0);

}


/* =========================================
   PULSE ANIMATION
   ========================================= */

@keyframes whatsapp-pulse {

    0% {

        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0.45),
            0 6px 20px rgba(0, 0, 0, 0.20);

    }


    70% {

        box-shadow:
            0 0 0 14px rgba(37, 211, 102, 0),
            0 6px 20px rgba(0, 0, 0, 0.20);

    }


    100% {

        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0),
            0 6px 20px rgba(0, 0, 0, 0.20);

    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .whatsapp-wrapper {

        right: 16px;

        bottom: 18px;

    }


    .whatsapp-button {

        width: 52px;

        height: 52px;

        font-size: 27px;

    }


    .whatsapp-tooltip {

        display: none;

    }

}