.info-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #888;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
  z-index: 100;
}

.info-icon:hover {
  color: #444;
}

/* Overlay */
.info-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-overlay.fade-in {
  opacity: 1;
}

.info-overlay.fade-out {
  opacity: 0;
}

/* Popup Box */
.info-popup {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  text-align: center;
  transform: scale(1);
  animation: scaleIn 0.3s ease;
}

/* Button */
.info-popup button {
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  border: none;
  background: #333;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

.info-popup button:hover {
  background: #555;
}

/* Optional popup animation */
@keyframes scaleIn {
  from {
    transform: scale(0.96);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.info-popup h2 {
  margin-bottom: 1rem;
}

.info-popup p {
  margin-bottom: 0.5rem;
}
