.faq-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.faq-modal:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.faq-modal-content {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

#faq-modal-close {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.faq-modal.test-visible {
  opacity: 1 !important;
  pointer-events: auto !important;
  background: rgba(0, 255, 0, 0.3) !important; /* bright green for visibility */
  outline: 5px solid red !important; /* clear border to confirm it's active */
}

