/* assets/css/mwmb-frontend-styles.css */

.mwmessbtn-pulse-button,
.mwmessbtn-pulse-button-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    outline: none;
    z-index: 1000;
    position: fixed;
    border-radius: 50%;
}

.mwmessbtn-pulse-button {
    flex-wrap: wrap;
    box-shadow: 0 5px 35px rgba(0, 0, 0, 0.2);
}

.mwmessbtn-pulse-button__icon {
    display: block;
    background-image: url("../images/phone2.svg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.mwmessbtn-pulse-button-v2 {
    animation-duration: 0.4s !important;
    animation-name: slidein33 !important;
}

.mwmessbtn-whatsapp-icon {
    width: 100%;
    height: 100%;
}

.mwmessbtn-pulse-button__text {
    display: block;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    font-weight: bold;
}

.mwmessbtn-pulse-button:hover .mwmessbtn-pulse-button__icon {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.mwmessbtn-pulse-button:hover .mwmessbtn-pulse-button__text {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.mwmessbtn-pulse-button__rings, .mwmessbtn-pulse-button-v2__rings {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 50%;
    animation: mw_pulse 2s infinite;
    z-index: -1;
    border-width: 1px;
    border-style: solid;
}

.mwmessbtn-pulse-button .mwmessbtn-pulse-button__rings:nth-of-type(1) { animation-delay: 0s; }
.mwmessbtn-pulse-button .mwmessbtn-pulse-button__rings:nth-of-type(2) { animation-delay: 0.3s; }
.mwmessbtn-pulse-button .mwmessbtn-pulse-button__rings:nth-of-type(3) { animation-delay: 0.6s; }

.mwmessbtn-pulse-button-v2 .mwmessbtn-pulse-button-v2__rings:nth-of-type(1) { animation-delay: 0s; }
.mwmessbtn-pulse-button-v2 .mwmessbtn-pulse-button-v2__rings:nth-of-type(2) { animation-delay: 0.3s; }
.mwmessbtn-pulse-button-v2 .mwmessbtn-pulse-button-v2__rings:nth-of-type(3) { animation-delay: 0.6s; }

.mwmessbtn-pulse-button:hover,
.mwmessbtn-pulse-button:focus {
    background-color: var(--mwmessbtn-color);
    color: #fff;
    text-decoration: none;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.mwmessbtn-pulse-button-v2:hover,
.mwmessbtn-pulse-button-v2:focus {
    background-color: transparent;
    text-decoration: none;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.mwmessbtn-pulse-button:hover .mwmessbtn-pulse-button__text,
.mwmessbtn-pulse-button:focus .mwmessbtn-pulse-button__text {
    color: #fff;
}

@keyframes mw_pulse {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes slidein33 {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}