.wkb-whatsapp-button {
    position: fixed;
    bottom: 24px;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.22),
        0 0 0 0 rgba(37, 211, 102, 0.55);
    z-index: 999999;
    isolation: isolate;
    animation: wkb-heartbeat 1.45s ease-in-out infinite;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
    -webkit-tap-highlight-color: transparent;
}

.wkb-position-right {
    right: 24px;
}

.wkb-position-left {
    left: 24px;
}

.wkb-whatsapp-button:hover,
.wkb-whatsapp-button:focus-visible {
    background: #1fbd5a;
    color: #ffffff;
    transform: scale(1.08);
    box-shadow:
        0 15px 34px rgba(0, 0, 0, 0.28),
        0 0 0 10px rgba(37, 211, 102, 0.14);
    outline: none;
}

.wkb-whatsapp-button__icon {
    position: relative;
    z-index: 2;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wkb-whatsapp-button__icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.wkb-whatsapp-button__ring {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 2px solid rgba(255, 255, 255, 0.74);
    z-index: 1;
    pointer-events: none;
}

@keyframes wkb-heartbeat {
    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 12px 28px rgba(0, 0, 0, 0.22),
            0 0 0 0 rgba(37, 211, 102, 0.48);
    }

    14% {
        transform: scale(1.11);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.08);
    }

    64% {
        transform: scale(1);
        box-shadow:
            0 12px 28px rgba(0, 0, 0, 0.22),
            0 0 0 18px rgba(37, 211, 102, 0);
    }
}

@media (max-width: 782px) {
    .wkb-whatsapp-button {
        bottom: 18px;
        width: 58px;
        height: 58px;
    }

    .wkb-position-right {
        right: 18px;
    }

    .wkb-position-left {
        left: 18px;
    }

    .wkb-whatsapp-button__icon {
        width: 31px;
        height: 31px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wkb-whatsapp-button {
        animation: none;
    }
}
