.lt-tooltip-wrapper {
  cursor: help;
  display: inline;
  position: relative;
  z-index: 1;
}

/* Ensure wrapper creates a stacking context when hovered */
.lt-tooltip-wrapper:hover {
  z-index: 999999 !important;
}

.lt-tooltip-wrapper .lt-tooltip-text {
  background-color: var(--lotus-green, #518d73);
  border-radius: 4px;
  bottom: 125%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 10%);
  color: var(--lotus-pure-white, #fff);
  left: 50%;
  opacity: 0%;
  padding: 1rem 1.25rem;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
  visibility: hidden;
  white-space: normal;
  max-width: 600px;
  min-width: 250px;

  /* Use theme's z-index system for proper layering */
  z-index: var(--z-index-tooltip, 2147483647) !important;
}

.lt-tooltip-wrapper:hover .lt-tooltip-text,
.lt-tooltip-wrapper:focus .lt-tooltip-text,
.lt-tooltip-wrapper.lt-tooltip-active .lt-tooltip-text {
  opacity: 100%;
  visibility: visible;
}
