/* /assets/css/whatsapp-button.css */

@keyframes whatsapp-button-animation {
    0% {
        transform: scale(1);
    }
    15% {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
    }
    25% {
        box-shadow: 0 0 0 5px rgba(49, 179, 103, 0.4), 0 0 0 20px rgba(255, 255, 255, 0.9);
    }
    25% {
        box-shadow: 0 0 0 11px rgba(39, 174, 96, 0.4), 0 0 0 30px rgba(205, 251, 224, 0.53);
    }
}

.whatsapp-button {
    background: #27ae60;
    width: 50px;
    height: 50px;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 9999;
    margin: 0 auto;
    right: 25px;
    bottom: 25px;
    border-radius: 100%;
    border: solid 5px #27ae60;
    animation: whatsapp-button-animation 4s ease infinite;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-button i {
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    width: 100%;
    height: 100%;
}

.whatsapp-button span {
    display: none;
    bottom: -8px;
    padding: 5px;
    background: #27ae60;
    border-radius: 4px;
    border: 1px solid #27ae60;
    color: #f1f1f1;
    line-height: 22px;
    font-size: 13px;
    font-weight: 500;
    width: 192px;
    right: 70px;
    position: absolute;
    font-family: 'Poppins', sans-serif;
    transition: all 0.6s ease-in-out;
}

.whatsapp-button:hover > span {
    display: block;
    transition: all 0.6s ease-in-out, opacity 0.6s ease-in-out;
}