.bsb-quiz-wrapper {
  font-family: var(--e-global-typography-primary-font-family), sans-serif;
  color: #333;
}

/* Hero Section */
.bsb-quiz-hero {
  position: relative;
  width: 100%;
  height: 600px;
  background-image: url("../../../bsb-natwine-quiz/assets/img/quiz_banner.jpg"); /* placeholder or inherit */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.bsb-quiz-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(0, 0, 0, 0.4); */
}

.bsb-quiz-hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bsb-quiz-hero-content .subtitle {
  font-size: 16px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
  color: var(--e-global-color-e38f297);
  font-family: var(--e-global-typography-text-font-family);
  line-height: 18.7px;
}

.bsb-quiz-hero .bsb-quiz-hero-content h1 {
  font-size: 48px;
  line-height: 43.2px;
  font-style: italic;
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--e-global-typography-primary-font-family);
}

.bsb-quiz-hero-content .hero-italic {
  font-size: 36px;
  margin-bottom: 32px;
  color: var(--e-global-color-8e40936);
  line-height: 43.2px;
}

.bsb-quiz-hero-content .hero-desc {
  font-size: 16px;
  line-height: 27.2px;
  margin-bottom: 32px;
  font-family: var(--e-global-typography-text-font-family);
}

.bsb-quiz-hero-content .bsb-quiz-start-btn {
  background: var(--e-global-color-e517805);
  color: #fff;
  border: none;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 27.2px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  width: auto;
}

.bsb-quiz-start-btn:hover {
  background: #a99d86;
}

/* Wizard Section */
.bsb-quiz-wizard-section {
  padding: 120px 20px;
  background: #fff;
}

.bsb-quiz-wizard-container {
  max-width: 600px;
  margin: 0 auto;
}

.bsb-quiz-progress {
  margin-bottom: 16px;
}

.progress-bar-bg {
  height: 8px;
  background: var(--e-global-color-3d017ca);
  border-radius: 10px;
  width: 100%;
  margin-bottom: 12px;
}

.progress-bar-fill {
  height: 100%;
  background: var(--e-global-color-408f40e);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 10px;
}

.progress-text {
  font-size: 12px;
  color: var(--e-global-color-ad88146);
  text-transform: uppercase;
  line-height: 18.7px;
  font-family: var(--e-global-typography-text-font-family);
}

.bsb-quiz-step-item {
  animation: fadeIn 0.4s ease;
}

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

#bsb_quiz_steps_container .bsb-quiz-step-item h2 {
  font-size: 24px;
  margin: 0;
  color: var(--e-global-color-d536683);
  font-weight: 400;
  line-height: 31.2px;
}

.bsb-quiz-step-item p.step-desc {
  font-size: 16px;
  color: var(--e-global-color-1f7a474);
  margin-bottom: 34px;
  font-family: var(--e-global-typography-text-font-family);
}

.bsb-quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bsb-quiz-option-card {
  border: 1px solid var(--e-global-color-df443a6);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--e-global-color-bd858b1);
}

.bsb-quiz-option-card:hover {
  border-color: var(--e-global-color-8e40936);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.bsb-quiz-option-card.selected {
  border-color: #8e324a;
  background: #fdfafa;
}

.opt-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.opt-icon img {
  max-width: 100%;
  max-height: 100%;
}

.bsb-quiz-option-card .opt-content h3 {
  line-height: 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--e-global-color-d536683);
  margin: 0;
  font-family: var(--e-global-typography-text-font-family);
}

.bsb-quiz-option-card .opt-content p {
  margin: 0;
  font-size: 13px;
  color: var(--e-global-color-56a8a71);
  font-family: var(--e-global-typography-text-font-family);
  line-height: 20.1px;
}

.bsb-quiz-navigation {
  display: flex;
  justify-content: stretch;
  margin-top: 34px;
  gap: 20px;
}

.bsb-quiz-nav-btn {
  background: var(--e-global-color-31d9a12);
  color: #fff;
  border-color: var(--e-global-color-31d9a12);
  margin-left: auto;
  width: 100%;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--e-global-typography-text-font-family);
  border-radius: 0;
  transition: all 0.3s ease;
}

.bsb-quiz-next-btn:hover,
.bsb-quiz-finish-btn:hover,
.bsb-quiz-next-btn:focus,
.bsb-quiz-finish-btn:focus {
  background: var(--e-global-color-31d9a12);
}

.bsb-quiz-prev-btn {
  background: #fff;
  color: var(--e-global-color-d536683);
  border-color: var(--e-global-color-d536683);
  justify-content: center;
}
.bsb-quiz-prev-btn:hover,
.bsb-quiz-prev-btn:focus {
  background: var(--e-global-color-bd858b1);
  color: var(--e-global-color-d536683);
}

/* Results Section */
.bsb-quiz-results-section {
  padding: 60px 20px;
  /* background: #f9f9f9; */
}

.bsb-quiz-results-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.bsb-quiz-results-header .subtitle {
  font-size: 16px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--e-global-color-e517805);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 1.1px;
  font-family: var(--e-global-typography-text-font-family);
}

.bsb-quiz-results-header h2#bsb_quiz_results_title {
  font-size: 32px;
  line-height: 41.6px;
  color: var(--e-global-color-d536683);
  margin-bottom: 4px;
}

.bsb-quiz-results-header p {
  color: var(--e-global-color-1f7a474);
  font-family: var(--e-global-typography-text-font-family);
  font-size: 16px;
  line-height: 27.2px;
  margin: 0;
}

.bsb-quiz-results-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.bsb-quiz-restart-btn {
  background: transparent;
  border: 1px solid #333;
  color: #333;
}
.bsb-quiz-restart-btn:hover {
  background: #333;
  color: #fff;
}
