/**
 * ==========================================================================
 * [quiz-card.css]
 * 역할: 퀴즈 진행률 바 슬림화 및 세로 규격 조율 CSS (1파일 1기능)
 * ==========================================================================
 */

.quiz-container {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}

/* 📊 슬림화된 진행률 표시 바 (높이 3px) */
.progress-bar-wrap {
  width: 100%;
  height: 3px;
  background-color: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 14px;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--primary-color);
  width: 0%;
  transition: width 0.3s ease;
}

.quiz-question-box {
  text-align: center;
  margin-bottom: 18px;
}

.quiz-step-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-color);
  background-color: var(--primary-light);
  padding: 3px 10px;
  border-radius: 16px;
  margin-bottom: 6px;
}

.quiz-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.option-card {
  background: #ffffff;
  border: 2px solid #f1f2f6;
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.option-card:hover {
  transform: translateY(-5px) scale(1.03);
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(255, 71, 87, 0.15);
  border-color: var(--primary-light);
}

.option-card.selected {
  border-color: var(--primary-color);
  background-color: #ffffff;
  transform: scale(0.98);
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
}

.option-icon {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.option-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.option-desc {
  font-size: 0.72rem;
  color: var(--text-sub);
}

.quiz-nav-btns {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
