.spotlight-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 9998;
  background: radial-gradient(
    circle at calc(var(--spotlight-left) + var(--spotlight-width) / 2) calc(var(--spotlight-top) + var(--spotlight-height) / 2 - var(--scroll-offset, 0px)),
    transparent 0,
    transparent calc(min(var(--spotlight-width), var(--spotlight-height)) / 2 + 20px),
    rgba(0, 0, 0, 0.7) calc(min(var(--spotlight-width), var(--spotlight-height)) / 2 + 100px),
    rgba(0, 0, 0, 0.85) 100%
  );
}

.spotlight-overlay.active {
  opacity: 1;
}

/* Ensure the EmailTru form container stays on top of the overlay */
.emailtru-forms {
  position: relative;
  z-index: 9999;
}

/* Popup modal overlay */
.emailtru-popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10000;
}

.emailtru-popup-modal.emailtru-popup-visible {
  display: flex;
}
