#button-contact-vr {
    position: fixed;
    bottom: 0;
    z-index: 99999;
}

/*phone*/
#button-contact-vr .button-contact {
    position: relative;
}

#button-contact-vr .button-contact .phone-vr {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}

.phone-vr-circle-fill {
    width: 65px;
    height: 65px;
    top: 12px;
    left: 12px;
    position: absolute;
    box-shadow: 0 0 0 0 #c31d1d;
    background-color: rgba(230, 8, 8, 0.7);
    border-radius: 50%;
    border: 2px solid transparent;
    -webkit-animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-animuiion: zoom 1.3s infinite;
    animation: zoom 1.3s infinite;
}

.phone-vr-img-circle {
    background-color: #e60808;
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 25px;
    left: 25px;
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phone-vr-circle-fill 1s infinite ease-in-out;
}

.phone-vr-img-circle a {
    display: block;
    line-height: 37px;
}

.phone-vr-img-circle img {
    max-height: 25px;
    max-width: 27px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

@-webkit-keyframes phone-vr-circle-fill {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
}

@-webkit-keyframes zoom {
    0% {
        transform: scale(.9)
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }

    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

@keyframes zoom {
    0% {
        transform: scale(.9)
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }

    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

.phone-bar a {
    position: fixed;
    bottom: 25px;
    left: 30px;
    z-index: -1;
    color: #fff;
    font-size: 16px;
    padding: 8px 15px 7px 50px;
    border-radius: 100px;
    white-space: nowrap;
}

.phone-bar a:hover {
    opacity: 0.8;
    color: #fff;
}

@media(max-width: 736px) {
    .phone-bar {
        display: none;
    }
}

#zalo-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196F3;
    background-color: rgba(33, 150, 243, 0.7);
}

#zalo-vr .phone-vr-img-circle {
    background-color: #2196F3;
}

#viber-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #714497;
    background-color: rgba(113, 68, 151, 0.8);
}

#viber-vr .phone-vr-img-circle {
    background-color: #714497;
}

#contact-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196F3;
    background-color: rgba(33, 150, 243, 0.7);
}

#contact-vr .phone-vr-img-circle {
    background-color: #2196F3;
}

#facebook-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #1877F2;
    background-color: rgba(24, 119, 242, 0.7);
}

#facebook-vr .phone-vr-img-circle {
    background-color: #1877F2;
}



/*css all in one*/
#gom-all-in-one #phone-vr {
    transition: 0.7s all;
    -moz-transition: 0.7s all;
    -webkit-transition: 0.7s all;
}

#gom-all-in-one #zalo-vr {
    transition: 1s all;
    -moz-transition: 1s all;
    -webkit-transition: 1s all;
}

#gom-all-in-one #viber-vr {
    transition: 1.3s all;
    -moz-transition: 1.3s all;
    -webkit-transition: 1.3s all;
}

#gom-all-in-one #contact-vr {
    transition: 1.6s all;
    -moz-transition: 1.6s all;
    -webkit-transition: 1.6s all;
}

#gom-all-in-one #facebook-vr {
    transition: 1.9s all;
    -moz-transition: 1.9s all;
    -webkit-transition: 1.9s all;
}


#button-contact-vr.active #gom-all-in-one .button-contact {
    margin-left: -100%;
}

#all-in-one-vr .phone-bar {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 100%;
    color: #fff;
    padding: 5px 15px 5px 48px;
    border-radius: 50px;
    margin-left: -64px;
    width: max-content;
    cursor: pointer;
}

/* Tooltip Styles */
.pzf-tooltip {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    left: 100%;
    /* Default right side */
    margin-left: 15px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
    z-index: 9999;
    pointer-events: none;
}

/* Show on Hover */
.button-contact:hover .pzf-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Arrow */
.pzf-tooltip::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    /* Arrow on left */
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent rgba(0, 0, 0, 0.8) transparent transparent;
}

/* Right alignment (default plugin styles put buttons on left? logic seems reversed in typical PZF plugins but checking existing CSS) */
/* Existing CSS: #button-contact-vr { bottom: 0; } .button-contact { left: 0; } implies Left bottom default? */
/* Wait, line 283 in existing style check: if pzf_location == 'right' { right: 0; } */
/* So default is LEFT. My tooltip CSS above assumes button is on LEFT, so tooltip goes to RIGHT (left: 100%). Correct. */

/* Logic for RIGHT side buttons */
/* If #button-contact-vr has right:0, then we need to flip tooltips to left */
#button-contact-vr[style*="right: 0"] .pzf-tooltip,
#button-contact-vr.right-aligned .pzf-tooltip {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 15px;
    transform: translateY(-50%) translateX(-20px);
}

#button-contact-vr[style*="right: 0"] .button-contact:hover .pzf-tooltip,
#button-contact-vr.right-aligned .button-contact:hover .pzf-tooltip {
    transform: translateY(-50%) translateX(0);
}

#button-contact-vr[style*="right: 0"] .pzf-tooltip::before,
#button-contact-vr.right-aligned .pzf-tooltip::before {
    right: auto;
    left: 100%;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}