.whatsapp-fab {
  z-index: 99999;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  text-decoration: none;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
  display: flex;
  position: fixed;
  bottom: 28px;
}

.whatsapp-fab-en {
  flex-direction: row;
  right: 28px;
}

.whatsapp-fab-ar {
  flex-direction: row-reverse;
  left: 28px;
}

.whatsapp-fab-circle {
  background-color: #25d366;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: 58px;
  transition: transform .3s, box-shadow .3s, background-color .3s;
  display: flex;
  position: relative;
  box-shadow: 0 4px 18px #25d36673, 0 2px 6px #00000026;
}

.whatsapp-fab-circle img {
  width: 32px;
  height: 32px;
  display: block;
}

.whatsapp-fab-circle:after {
  content: "";
  pointer-events: none;
  opacity: .8;
  border: 2px solid #25d366;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  animation: 2.4s infinite wa-pulse;
  position: absolute;
  top: 0;
  left: 0;
}

@keyframes wa-pulse {
  0% {
    opacity: .8;
    transform: scale(1);
  }

  70% {
    opacity: 0;
    transform: scale(1.38);
  }

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

.whatsapp-fab-tooltip {
  color: #fff;
  letter-spacing: .2px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  background-color: #00396d;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  transition: opacity .25s, transform .25s;
  transform: scale(.92);
  box-shadow: 0 4px 12px #0000002e;
}

.whatsapp-fab-ar .whatsapp-fab-tooltip {
  direction: rtl;
}

.whatsapp-fab:hover .whatsapp-fab-circle {
  background-color: #20ba59;
  transform: scale(1.08);
  box-shadow: 0 6px 24px #25d36699;
}

.whatsapp-fab:hover .whatsapp-fab-tooltip {
  opacity: 1;
  transform: scale(1);
}

@media screen and (width <= 768px) {
  .whatsapp-fab {
    bottom: 20px;
  }

  .whatsapp-fab-en {
    right: 18px;
  }

  .whatsapp-fab-ar {
    left: 18px;
  }

  .whatsapp-fab-circle {
    width: 52px;
    height: 52px;
  }

  .whatsapp-fab-circle img {
    width: 28px;
    height: 28px;
  }

  .whatsapp-fab-tooltip {
    display: none;
  }
}
