/* Custom Tooltip to bypass Tailwind compiler */
.tooltip-wrapper {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.tooltip-content {
  position: absolute;
  /* Changed to position the tooltip below the wrapper */
  top: 100%; 
  left: 50%;
  transform: translateX(-50%);
  /* Pushes the tooltip slightly down from the icon */
  margin-top: 8px; 
  width: max-content;
  max-width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 50;
  pointer-events: none;
  
  /* Applied Tailwind's orange-500 background and white text */
  background-color: #1f2937;  
  color: #ffffff; 
  
  /* Added standard tooltip padding and rounding for visual structure */
  padding: 8px 12px;
  border-radius: 6px;
}

/* Show tooltip on hover and click/focus */
.tooltip-wrapper:hover .tooltip-content,
.tooltip-wrapper:focus-within .tooltip-content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* The little upward arrow */
.tooltip-arrow {
  position: absolute;
  left: 50%;
  /* Positioned at the top of the tooltip container */
  bottom: 100%; 
  transform: translateX(-50%);
  margin-bottom: -1px;
  border: 6px solid transparent;
  /* Switched to border-bottom to point upward, matching the new orange background */
  border-bottom-color: #1f2937; 
}