[data-tooltip] {
  position: relative;
}

.custom-tooltip {
  position: fixed;
  background-color: #f9227b;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  pointer-events: none;
  z-index: 999999;
  opacity: 0;
  transition: opacity 0.2s ease;
  max-width: 250px;
  word-wrap: break-word;
  box-shadow: 0 4px 12px rgba(249, 34, 123, 0.3);
}

.custom-tooltip.show {
  opacity: 1;
}

.custom-tooltip::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.custom-tooltip.bottom::before {
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 6px 6px 6px;
  border-color: transparent transparent #f9227b transparent;
}

.custom-tooltip.top::before {
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-color: #f9227b transparent transparent transparent;
}

.custom-tooltip.right::before {
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 6px 6px 0;
  border-color: transparent #f9227b transparent transparent;
}

.custom-tooltip.left::before {
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-color: transparent transparent transparent #f9227b;
}
