.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 95%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 22px;
  border: none;
  background: none;
  cursor: pointer;
}

/* ================= QUESTION ================= */

.quiz-question {
  margin-bottom: 26px;
}

.quiz-question p {
  font-weight: 600;
  margin-bottom: 10px;
}

/* ================= OPTIONS GRID ================= */

.quiz-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.quiz-options label {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-options input {
  display: block;
  margin: 0 auto 6px;
}

.quiz-options label:hover {
  background: #f5f8ff;
  border-color: #4a6cf7;
}

.quiz-options input:checked + span,
.quiz-options label:has(input:checked) {
  background: #4a6cf7;
  color: #fff;
  border-color: #4a6cf7;
}

/* ================= SECTION TITLE ================= */

.quiz-section-title {
  margin: 30px 0 15px;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 2px solid #eee;
  padding-bottom: 6px;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .quiz-options {
    grid-template-columns: 1fr 1fr;
  }
}
.psychometric-heading {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 700;
}

.psychometric-instructions {
  padding-left: 18px;
  margin-bottom: 12px;
}

.psychometric-cta {
  margin-top: 30px;
}
