.info-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-left: 8px;
}

.info-icon {
  cursor: help;
  font-size: 18px;
  color: #9C27B0;
  font-weight: bold;
  display: inline-block;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  border-radius: 50%;
  background-color: hsl(291, 64%, 98%);
  transition: all 0.3s ease;
}

.info-icon:hover {
  background-color: #9c27b0;
  color: white;
  transform: scale(1.1);
}

.info-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  text-align: left;
  padding: 16px;
  border-radius: 8px;
  width: 350px;
  max-width: 90vw;
  font-size: 14px;
  line-height: 1.6;
  z-index: 1000;
  box-shadow: 0 4px 12px rgb(156, 39, 176, 0.3);
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.info-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.info-icon-wrapper:hover .info-tooltip {
  visibility: visible;
  opacity: 1;
}

.info-tooltip strong {
  color: hsl(291, 64%, 65%);
  font-weight: bold;
}
