
.wfb-field {
    position: relative;
    text-decoration: none;
}

.wfb-field.wfb-hidden {
    display: none;
}

.wfb-tooltip {
    position: absolute;
    top: 0;
    left: -120%;
    background: #45bb74;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    transition: all 0.5s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    font-weight: bold;
    width: 100px;
    text-align: center;
    height: 30px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    left: calc(-100% - 55px);
    top: calc(50% - 20px);
    display: flex;
    justify-content: center;
    align-items: center;
}


.wfb-tooltip::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #45bb74;
}

.wfb-tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #45bb74;
    margin-left: 1px;
}

.wfb-tooltip.wfb-reverse {
    left: calc(100% + 19px);
}

.wfb-tooltip.wfb-reverse::before {
    left: -5px;
    border-left: none;
    border-right: 5px solid #45bb74;
}

.wfb-tooltip.wfb-reverse::after {
    left: -5px;
    border-left: none;
    border-right: 5px solid #45bb74;
}


.wfb-tooltip.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.wfb-tooltip.active::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.wfb-tooltip.active::after {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}



.wfb-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}


@media only screen and (max-width: 767px) {
    .wfb-wrapper.wfb-hidden-mobile {
        display: none;
    }
}

@media only screen and (min-width: 768px) {
    .wfb-wrapper.wfb-hidden-desktop {
        display: none;
    }
}

.wfb-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    cursor: pointer;
    margin: 10px 0;
}

.wfb-item:hover {
    transform: scale(1.1);
}


.wfb-whatsapp:hover, .wfb-email:hover, .wfb-phone:hover {
    animation: wfb-buttons-scale 1s ease;
}

@keyframes wfb-buttons-scale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}


.wfb-item::before {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    z-index: -1;
    animation: wfb-wave 1.5s linear infinite;
}

.wfb-item::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;

    z-index: -1;
    animation: wfb-wave 1.5s linear 1s infinite;
}

.wfb-item img {
    width: 30px;
    height: 30px;
}

@keyframes wfb-wave {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.wfb-toggle {
    background: #009640;
    transform: rotate(180deg);
}

.wfb-toggle.enabled {
    transform: rotate(0deg);
}

.wfb-toggle::after {
    background: #3faf6c;
    animation: wfb-toggle-scale 2s ease infinite;
}

.wfb-toggle::before {
    background: #009640;
    animation: wfb-toggle-scale 2s ease infinite;
}

@keyframes wfb-toggle-scale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.wfb-toggle img {
    transform: rotate(-180deg);
}


.wfb-whatsapp, .wfb-email, .wfb-phone {
    position: absolute;
    z-index: -999;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.6s ease;
    opacity: 0;
}   

.wfb-whatsapp.active, .wfb-email.active, .wfb-phone.active {
    position: static;
    z-index: 999;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}


.wfb-toggle.enabled {
    background-color: #00431d !important;
}

.wfb-toggle.enabled::after {
    background-color: #015526 !important;
}

.wfb-toggle.enabled::before {
    background-color: #00431d !important;
}

.wfb-toggle.enabled img {
    animation: wfb-fade 1.5s ease;
}

@keyframes wfb-fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.wfb-tooltip__phone {
    background-color: #1b1b1b !important;
}

.wfb-tooltip__phone::after, .wfb-tooltip__phone::before {
    border-left-color: #1b1b1b !important;
}

.wfb-tooltip__phone.wfb-reverse::after, .wfb-tooltip__phone.wfb-reverse::before {
    border-right-color: #1b1b1b !important;
}

.wfb-tooltip__email {
    background-color: #e30613 !important;
}

.wfb-tooltip__email::after, .wfb-tooltip__email::before {
    border-left-color: #e30613 !important;
}

.wfb-tooltip__email.wfb-reverse::after, .wfb-tooltip__email.wfb-reverse::before {
    border-right-color: #e30613 !important;
}

.wfb-tooltip__whatsapp {
    background-color: #3faf6c !important;
}

.wfb-tooltip__whatsapp::after, .wfb-tooltip__whatsapp::before {
    border-left-color: #3faf6c !important;
}

.wfb-tooltip__whatsapp.wfb-reverse::after, .wfb-tooltip__whatsapp.wfb-reverse::before {
    border-right-color: #3faf6c !important;
}

.wfb-whatsapp {
    background-color: #3faf6c;
}

.wfb-whatsapp::after {
    background-color: #45bb74;
}

.wfb-whatsapp::before {
    background-color: #3faf6c;
}


.wfb-phone {
    background-color: #1b1b1b;
}

.wfb-phone::after {
    background-color: #232222;
}

.wfb-phone::before {
    background-color: #1b1b1b;
}

.wfb-email {
    background-color: #e30613;
}

.wfb-email::after {
    background-color: #e10c1a;
}

.wfb-email::before {
    background-color: #e30613;
}

.wfb-open.hidden, .wfb-close.hidden {
    display: none;
}

.wfb-wrapper.wfb-hidden {
    display: none;
}