.wabtn {
  [wa-tooltip] {
    position: relative;
    cursor: default;
    &:hover {
      &::before {
        content: attr(wa-tooltip);
        font-size: 16px;
        text-align: center;
        position: absolute;
        display: block;
        right: calc(0% - 100px);
        left: null;
        min-width: 200px;
        max-width: 200px;
        bottom: calc(100% + 10px);
        transform: translate(-50%);
        animation: fade-in 500ms ease;
        background: #00e785;
        border-radius: 4px;
        padding: 10px;
        color: #ffffff;
        z-index: 1;
      }
    }
  }
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

/* Container for chat buttons */
.chat-buttons-container {
  position: fixed !important;
  bottom: 40px;
  right: 20px;
  display: flex;
  gap: 20px;
  z-index: 999999999 !important;
}

.wabtn-link {
  cursor: pointer;
  height: 70px;
  width: 70px;
  padding: 10px;
  color: #fff;
  display: flex;
  font-size: 18px;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  z-index: 999999999 !important;
  background-color: #00e785;
  box-shadow: 4px 5px 10px rgba(0, 0, 0, 0.4);
  border-radius: 100px;
  animation: pulse 2.5s ease infinite;
  position: relative;
}

/* Style for Telegram button */
.wabtn:nth-child(2) .wabtn-link {
  background-color: #40b3e0;
}

/* Style for Telegram button tooltip */
.wabtn:nth-child(2) [wa-tooltip]:hover::before {
  background-color: #40b3e0 !important;
}
