/**
 * @author    Veo by Kebes <hola@kebes.es>
 * @copyright 2024 Veo by Kebes
 * @license   https://opensource.org/licenses/AFL-3.0  Academic Free License 3.0 (AFL-3.0)
 */
.veo-whatsapp-button {
    --veowa-size: 50px;
    --veowa-bottom: 15px;
    position: fixed;
    bottom: var(--veowa-bottom);
    right: 15px;
    z-index: 99;
    box-sizing: border-box;
    width: var(--veowa-size);
    height: var(--veowa-size);
    padding: calc(var(--veowa-size) * 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #25d366;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 0 15px -5px rgba(0, 0, 0, 1);
}

.veo-whatsapp-button--left {
    right: auto;
    left: 15px;
}

.veo-whatsapp-button svg {
    fill: #ffffff;
    width: 100%;
    height: 100%;
}

.veo-whatsapp-button:focus-visible {
    outline: 3px solid #128c7e;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
    .veo-whatsapp-button--pulse {
        animation: veowa-heartbeat 1.5s ease-in-out 2 both;
    }
}

@keyframes veowa-heartbeat {
    from {
        transform: scale(1);
        animation-timing-function: ease-out;
    }

    10% {
        transform: scale(0.91);
        animation-timing-function: ease-in;
    }

    17% {
        transform: scale(0.98);
        animation-timing-function: ease-out;
    }

    33% {
        transform: scale(0.87);
        animation-timing-function: ease-in;
    }

    45% {
        transform: scale(1);
        animation-timing-function: ease-out;
    }
}
