#whatsapp-widget {
    position: fixed;
    bottom: 20px;
    height: max-content;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 99999999;
    visibility: hidden;
    transition: all 2s ease 0s;
}

#whatsapp-widget.ww-yes {
    visibility: visible;
}

#whatsapp-widget.ww-no {
    visibility: hidden !important;
}

#whatsapp-widget .ww-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    opacity: 0;
    animation: grow 3s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

#whatsapp-widget .ww-link {
    opacity: 1;
    display: block;
    bottom: -15px;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    width: 60px;
    font-family: Roboto, "Helvetica Neue", sans-serif;
    font-size: 11px;
    line-height: 11px;
    border: 0px;
    max-width: inherit;
    color: rgb(175, 175, 175) !important;
}

#whatsapp-widget .ww-link:hover {
    border: 0px;
    text-decoration: underline !important;
    color: rgb(175, 175, 175) !important;
}

#whatsapp-widget .ww-text {
    border-radius: 8px;
    border: 1px solid #e2e2e2;
    cursor: pointer;
    word-break: break-word;
    background: white;
    padding: 1rem;
    position: relative;
    box-shadow: 2px 2px 15px 2px rgb(0 0 0 / 17%);
    opacity: 0;
    animation: slide 1s;
    animation-delay: 3s;
    animation-fill-mode: forwards;
    margin-bottom: 15px;
    z-index: 100;
}

#whatsapp-widget .ww-arrow {
    position: absolute;
    background: white;
    border-right: 0.5px solid #e2e2e2;
    border-bottom: 0.5px solid #e2e2e2;
    top: 50%;
    width: 20px;
    height: 20px;
    z-index: -100;
}

#whatsapp-widget.ww-right .ww-arrow {
    transform: translateY(-50%) rotate(-45deg);
    right: -11px;
    left: unset;
}

#whatsapp-widget.ww-left .ww-arrow {
    left: -11px;
    right: unset;
    transform: translateY(-50%) rotate(135deg);
}

#whatsapp-widget.ww-big .ww-text {
    font-size: 23px;
    line-height: 25px;
}

#whatsapp-widget.ww-medium .ww-text {
    font-size: 20px;
    line-height: 22px;
    padding: 15px;
}

#whatsapp-widget.ww-normal .ww-text {
    font-size: 17px;
    padding: 12px;
    line-height: 19px;
}

#whatsapp-widget svg {
    fill: rgb(255, 255, 255);
    z-index: 1;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.7s ease-in-out;
    width: 100%;
    height: 100%;
    stroke: none;
}

#whatsapp-widget svg:hover {
    transform: rotate(720deg);
}

#whatsapp-widget.ww-right .ww-text::after {
    right: -10px;
    transform: translateY(-50%) rotate(-45deg);
}

#whatsapp-widget.ww-left .ww-text::after {
    left: -10px;
    transform: translateY(-50%) rotate(135deg);
}

#whatsapp-widget.ww-left {
    left: 20px;
    flex-direction: row-reverse;
}

#whatsapp-widget.ww-right {
    right: 20px;
    flex-direction: row;
}

#whatsapp-widget .ww-icon-link {
    padding: 5px;
    box-sizing: border-box;
    border-radius: 50%;
    cursor: pointer;
    overflow: hidden;
    box-shadow: rgb(0 0 0 / 40%) 2px 2px 6px;
    transition: all 0.5s ease 0s;
    position: relative;
    z-index: 200;
    display: block;
    border: 0px;
    background: rgb(77, 194, 71) !important;
}

#whatsapp-widget.ww-normal .ww-icon-link {
    width: 50px;
    height: 50px;
}

#whatsapp-widget.ww-medium .ww-icon-link {
    height: 65px;
    width: 65px;
}

#whatsapp-widget.ww-big .ww-icon-link {
    height: 75px;
    width: 75px;
}

#whatsapp-widget .ww-icon div {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    #whatsapp-widget {
        bottom: 5px;
    }

    #whatsapp-widget .ww-text {
        display: none;
    }

    #whatsapp-widget.ww-right {
        right: 5px;
        left: unset;
    }

    #whatsapp-widget.ww-left {
        left: 5px;
        right: unset;
    }
}

@keyframes slide {
    from {
        bottom: -20px;
        opacity: 0;
    }
    to {
        bottom: 0px;
        opacity: 1;
    }
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes grow {
    0% {
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -o-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
    }
    50% {
        -webkit-transform: scale(1.2);
        -moz-transform: scale(1.2);
        -o-transform: scale(1.2);
        -ms-transform: scale(1.2);
        transform: scale(1.2);
    }
    100% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}
