.quiz-container {
  max-width: 600px;
  margin: 3rem auto;
}

/* Progress bar */
.progress-bar {
  height: 6px;
  background: #e5e5e5;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: #3b5bdb;
  border-radius: 3px;
  transition: width 0.3s ease;
  width: 20%;
}

.progress-label {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 2rem;
}

/* Steps */
.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quiz-step h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.step-hint {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* Option cards */
.options {
  display: flex;
  gap: 0.75rem;
  flex-wrap: nowrap;
  margin-bottom: 2rem;
  margin-top: 1.25rem;
}

.options-wrap {
  flex-wrap: wrap;
}

.option-card {
  flex: 1;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s;
  text-align: center;
  user-select: none;
}

.option-card input {
  display: none;
}

.option-card:hover {
  border-color: #3b5bdb;
}

.option-card.selected {
  border-color: #3b5bdb;
  background: #eef1ff;
}

.price-symbol {
  font-size: 1.2rem;
  font-weight: 700;
}

.price-label {
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.25rem;
}

/* Shake animation for validation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.options.shake {
  animation: shake 0.4s ease;
}

/* Distance select */
.distance-row {
  margin-bottom: 1.5rem;
}

select {
  padding: 0.65rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

/* Quiz nav buttons */
.quiz-nav {
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .options { flex-direction: column; }
  .option-card { min-width: unset; }
}
