.wafb-wrap {
  position: fixed;
  bottom: 24px;
  z-index: 99999;
}

.wafb-wrap.wafb-position-right {
  right: 24px;
}

.wafb-wrap.wafb-position-left {
  left: 24px;
}

.wafb-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.wafb-btn:hover,
.wafb-btn:focus {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  text-decoration: none;
}

.wafb-icon {
  width: 34px;
  height: 34px;
  fill: currentColor;
  display: block;
}

.wafb-tooltip {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  width: max-content;
  max-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
  text-align: center;
}

.wafb-tooltip p {
  margin-left: auto;
  margin-right: auto;
}

.wafb-tooltip img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wafb-tooltip a {
  color: #ffffff;
  text-decoration: underline;
}

.wafb-tooltip a:hover {
  text-decoration: none;
}

.wafb-position-right .wafb-tooltip {
  right: calc(100% + 12px);
}

.wafb-position-right .wafb-tooltip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -16px;
  width: 16px;
}

.wafb-position-left .wafb-tooltip {
  left: calc(100% + 12px);
}

.wafb-position-left .wafb-tooltip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -16px;
  width: 16px;
}

.wafb-wrap:hover .wafb-tooltip,
.wafb-wrap:focus-within .wafb-tooltip {
  opacity: 1;
  visibility: visible;
}
