/* Styles specific to the Monthly Quiz page */
@import url("./daily-scenario.css");

:root {
  --pink: #ff4f81;
  --purple: #8a2be2;
}

/* Show user answers in green when correct and red when incorrect */
.daily-scenario .user-answer.correct {
  color: #2ecc71;
}

.daily-scenario .user-answer.incorrect {
  color: #e74c3c;
}

/* Always display the correct answer in green */
.daily-scenario .correct-answer {
  color: #2ecc71;
}

/* Space out review items for readability */
.daily-scenario .review-item {
  margin-bottom: 24px;
  text-align: left;
}

/* Blur and block interaction with quiz when overlay is shown */
.quiz-wrapper {
  position: relative;
}

.daily-scenario.blurred {
  filter: blur(4px);
  pointer-events: none;
}

.quiz-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.quiz-overlay .overlay-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.quiz-overlay .overlay-content .overlay-btn {
  display: inline-block;
  margin: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.quiz-overlay .overlay-content .overlay-btn:hover {
  opacity: 0.9;
}
