/* Phone Call Button Styles */
.fix_tel {
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999;
}

.fix_tel .tel {
  background: #ffd700;
  text-align: center;
  color: black;
  padding: 5px 15px;
  border-radius: 20px;
  margin-left: 45px;
  font-weight: bold;
  font-size: 18px;
  transform: translateY(-50%);
  position: absolute;
  top: 50%;
}

.fix_tel .fone {
  margin: 0;
  color: #ff0000;
  font-weight: bold;
}

.ring-alo-phone {
  position: relative;
  visibility: visible;
  cursor: pointer;
  z-index: 200 !important;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: visibility .5s;
  width: 60px;
  height: 60px;
}

.ring-alo-phone.ring-alo-show {
  visibility: visible;
}

.ring-alo-phone.ring-alo-green .ring-alo-ph-img-circle {
  background-color: transparent;
}

.ring-alo-phone.ring-alo-green .ring-alo-ph-circle {
  border-color: #ffd700;
  opacity: 0.5;
}

.ring-alo-phone.ring-alo-green.ring-alo-hover .ring-alo-ph-img-circle,
.ring-alo-phone.ring-alo-green:hover .ring-alo-ph-img-circle {
  background-color: transparent;
}

.ring-alo-phone.ring-alo-green.ring-alo-hover .ring-alo-ph-circle,
.ring-alo-phone.ring-alo-green:hover .ring-alo-ph-circle {
  border-color: #e6c200;
  opacity: 0.5;
}

.ring-alo-ph-circle {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: transparent;
  border: 2px solid rgba(30, 30, 30, 0.4);
  border-radius: 100%;
  opacity: 0.1;
  animation: ring-alo-circle-anim 1.2s infinite ease-in-out;
  transition: all .5s;
  transform-origin: 50% 50%;
}

.ring-alo-phone.ring-alo-green.ring-alo-hover .ring-alo-ph-circle-fill,
.ring-alo-phone.ring-alo-green:hover .ring-alo-ph-circle-fill {
  background-color: rgba(230, 194, 0, 0.5);
  opacity: 0.75 !important;
}

.ring-alo-ph-circle-fill {
  width: 75%;
  height: 75%;
  position: absolute;
  top: 12.5%;
  left: 12.5%;
  background-color: #000;
  opacity: 0.1;
  border-radius: 100%;
  animation: ring-alo-circle-fill-anim 2.3s infinite ease-in-out;
  transition: all .5s;
  transform-origin: 50% 50%;
}

.ring-alo-phone.ring-alo-green .ring-alo-ph-circle-fill {
  background-color: rgba(255, 215, 0, 0.5);
  opacity: 0.75 !important;
}

.ring-alo-ph-img-circle {
  width: 50%;
  height: 50%;
  position: absolute;
  top: 25%;
  left: 25%;
  background-color: transparent;
  border-radius: 100%;
  border: 2px solid transparent;
  opacity: 1;
  animation: ring-alo-circle-img-anim 1s infinite ease-in-out;
  transform-origin: 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-alo-ph-img-circle .phone-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes ring-alo-circle-anim {
  0% {
    transform: rotate(0) scale(0.5) skew(1deg);
    opacity: 0.1;
  }
  30% {
    transform: rotate(0) scale(0.7) skew(1deg);
    opacity: 0.5;
  }
  100% {
    transform: rotate(0) scale(1) skew(1deg);
    opacity: 0.1;
  }
}

@keyframes ring-alo-circle-fill-anim {
  0% {
    transform: rotate(0) scale(0.7) skew(1deg);
    opacity: 0.2;
  }
  50% {
    transform: rotate(0) scale(1) skew(1deg);
    opacity: 0.2;
  }
  100% {
    transform: rotate(0) scale(0.7) skew(1deg);
    opacity: 0.2;
  }
}

@keyframes ring-alo-circle-img-anim {
  0% {
    transform: rotate(0) scale(1) skew(1deg);
  }
  10% {
    transform: rotate(-25deg) scale(1) skew(1deg);
  }
  20% {
    transform: rotate(25deg) scale(1) skew(1deg);
  }
  30% {
    transform: rotate(-25deg) scale(1) skew(1deg);
  }
  40% {
    transform: rotate(25deg) scale(1) skew(1deg);
  }
  50% {
    transform: rotate(0) scale(1) skew(1deg);
  }
  100% {
    transform: rotate(0) scale(1) skew(1deg);
  }
}

/* Zalo Chat Button Styles */
.fix_chatZalo {
  position: fixed;
  bottom: 100px;
  left: 15px;
  z-index: 999;
}

.btn_chatZalo {
  display: flex;
  align-items: center;
  background-color: #ffd700;
  border-radius: 20px;
  padding: 5px 15px 5px 10px;
  color: black;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s;
}

.btn_chatZalo .zalo-icon {
  width: 32px;
  height: 32px;
  margin-right: 5px;
}

.btn_chatZalo:hover {
  background-color: #e6c200;
}
