/* Shared "test your knowledge" flashcard quiz widget styles. */

.quiz-cta {
  margin-top: 20px;
  text-align: center;
}

.quiz-cta .btn {
  font-family: 'Outfit', sans-serif;
  display: inline-block;
  padding: 12px 24px;
  border-radius: 100px;
  border: none;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  background: #fba315;
  color: #0b173b;
  text-decoration: none;
}

.quiz-cta .btn:hover { background: #e0930a; }

.quiz-box {
  background: #fff;
  border-radius: 16px;
  padding: 30px 28px 26px;
  width: 100%;
  max-width: 460px;
  position: relative;
  font-family: 'Outfit', sans-serif;
  color: #0b173b;
}

.quiz-eyebrow {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fba315;
  font-weight: 700;
  margin: 0 0 6px;
}

.quiz-box h3 { margin: 0 0 4px; font-size: 1.2rem; }

.quiz-progress {
  font-size: 12px;
  color: #5b6478;
  margin: 0 0 18px;
}

.quiz-card {
  min-height: 150px;
  margin-bottom: 18px;
  cursor: pointer;
  perspective: 1200px;
}

.quiz-card-inner {
  position: relative;
  width: 100%;
  min-height: 150px;
  transition: transform 0.5s;
  transform-style: preserve-3d;
}

.quiz-card.flipped .quiz-card-inner {
  transform: rotateY(180deg);
}

.quiz-card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
}

.quiz-card-front {
  background: #f5f8f8;
  border: 1px solid #e3e4e6;
}

.quiz-card-back {
  background: #0b173b;
  border: 1px solid #0b173b;
  transform: rotateY(180deg);
}

.quiz-question {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
  color: #0b173b;
}

.quiz-hint {
  font-size: 11.5px;
  color: #8b93a3;
  margin: 4px 0 0;
}

.quiz-hint-back {
  color: #c7cde0;
}

.quiz-answer-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fba315;
  font-weight: 700;
  margin: 0;
}

.quiz-answer {
  font-size: 14px;
  color: #fff;
  margin: 0;
  line-height: 1.6;
}

.quiz-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.quiz-actions .btn {
  font-family: 'Outfit', sans-serif;
  padding: 10px 18px;
  border-radius: 100px;
  border: none;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.quiz-actions .btn-primary { background: #fba315; color: #0b173b; }
.quiz-actions .btn-primary:hover { background: #e0930a; }
.quiz-actions .btn-ghost { background: #eceff0; color: #0b173b; }
.quiz-actions .btn-ghost:hover { background: #dfe2e3; }
