/* =========================================================
   BCC Qualification Wizard Styles
   qualification-wizard.css — v0.1.0
   ========================================================= */

/* Container */
.bcc-wizard-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.bcc-wizard {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #C8D4DF;
  box-shadow: 0 4px 20px rgba(15, 30, 46, 0.10);
  overflow: hidden;
}

/* Progress bar */
.bcc-wizard__progress-bar {
  padding: 20px 32px 0;
  background: #F5F7FA;
  border-bottom: 1px solid #C8D4DF;
}

.bcc-wizard__progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #6B7C8D;
}

.bcc-wizard__progress-label .bcc-wizard__step-counter {
  color: #192B3E;
  font-family: 'Space Grotesk', sans-serif;
}

.bcc-wizard__progress-track {
  height: 6px;
  background: #EFF3F8;
  border-radius: 100px;
  margin-bottom: 0;
  overflow: hidden;
}

.bcc-wizard__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #C8922A, #E8B84B);
  border-radius: 100px;
  transition: width 0.4s ease;
}

.bcc-wizard__progress-steps {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
}

.bcc-wizard__step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C8D4DF;
  transition: background 0.3s ease;
}

.bcc-wizard__step-dot.completed {
  background: #C8922A;
}

.bcc-wizard__step-dot.active {
  background: #192B3E;
  transform: scale(1.3);
}

/* Step content */
.bcc-wizard__step-content {
  padding: 36px 36px 28px;
  display: none;
}

.bcc-wizard__step-content.active {
  display: block;
}

.bcc-wizard__question {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #192B3E;
  margin-bottom: 8px;
  line-height: 1.3;
}

.bcc-wizard__question-hint {
  font-size: 14px;
  color: #6B7C8D;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Choice options */
.bcc-wizard__options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.bcc-wizard__options--single {
  grid-template-columns: 1fr;
}

.bcc-wizard__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #F5F7FA;
  border: 2px solid #C8D4DF;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
  color: #0F1E2E;
  font-weight: 500;
  user-select: none;
  text-align: left;
}

.bcc-wizard__option:hover {
  border-color: #2C5282;
  background: #EFF3F8;
}

.bcc-wizard__option.selected {
  border-color: #C8922A;
  background: rgba(200, 146, 42, 0.08);
  color: #192B3E;
  font-weight: 600;
}

.bcc-wizard__option-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #C8D4DF;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.bcc-wizard__option.selected .bcc-wizard__option-radio {
  border-color: #C8922A;
  background: #C8922A;
}

.bcc-wizard__option-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  display: none;
}

.bcc-wizard__option.selected .bcc-wizard__option-radio::after {
  display: block;
}

.bcc-wizard__option-label {
  flex: 1;
}

/* Field groups */
.bcc-wizard__field-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.bcc-wizard__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bcc-wizard__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bcc-wizard__field label {
  font-size: 13px;
  font-weight: 600;
  color: #3A4A5C;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bcc-wizard__field label .required {
  color: #A03A2C;
  margin-left: 2px;
}

.bcc-wizard__field input[type="text"],
.bcc-wizard__field input[type="email"],
.bcc-wizard__field input[type="tel"],
.bcc-wizard__field input[type="url"],
.bcc-wizard__field textarea,
.bcc-wizard__field select {
  padding: 12px 14px;
  border: 2px solid #C8D4DF;
  border-radius: 8px;
  font-size: 15px;
  color: #0F1E2E;
  background: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.bcc-wizard__field input:focus,
.bcc-wizard__field textarea:focus,
.bcc-wizard__field select:focus {
  outline: none;
  border-color: #2C5282;
  box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.15);
}

.bcc-wizard__field input.error,
.bcc-wizard__field textarea.error,
.bcc-wizard__field select.error {
  border-color: #A03A2C;
}

.bcc-wizard__field textarea {
  resize: vertical;
  min-height: 100px;
}

.bcc-wizard__field-hint {
  font-size: 12px;
  color: #6B7C8D;
  margin-top: 2px;
}

/* Checkbox group */
.bcc-wizard__checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.bcc-wizard__checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 12px 16px;
  border: 2px solid #C8D4DF;
  border-radius: 8px;
  background: #F5F7FA;
  transition: all 0.2s ease;
}

.bcc-wizard__checkbox-item:hover {
  border-color: #2C5282;
  background: #EFF3F8;
}

.bcc-wizard__checkbox-item.checked {
  border-color: #C8922A;
  background: rgba(200, 146, 42, 0.07);
}

.bcc-wizard__checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #C8922A;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.bcc-wizard__checkbox-item .checkbox-label {
  font-size: 14px;
  color: #0F1E2E;
  line-height: 1.5;
}

.bcc-wizard__checkbox-item .checkbox-label.required-label {
  font-weight: 500;
}

.bcc-wizard__checkbox-item .checkbox-label.optional-label {
  color: #3A4A5C;
}

/* Multi-check options (supply type, docs needed) */
.bcc-wizard__multicheck {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.bcc-wizard__multicheck-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 2px solid #C8D4DF;
  border-radius: 8px;
  background: #F5F7FA;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  color: #0F1E2E;
}

.bcc-wizard__multicheck-item:hover {
  border-color: #2C5282;
  background: #EFF3F8;
}

.bcc-wizard__multicheck-item.checked {
  border-color: #C8922A;
  background: rgba(200, 146, 42, 0.07);
  font-weight: 500;
}

.bcc-wizard__multicheck-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #C8922A;
  flex-shrink: 0;
  cursor: pointer;
}

/* Navigation */
.bcc-wizard__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px 28px;
  border-top: 1px solid #EFF3F8;
  gap: 12px;
}

.bcc-wizard__nav-left {
  flex: 1;
}

.bcc-wizard__nav-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.bcc-wizard__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.bcc-wizard__btn--primary {
  background: #C8922A;
  color: #0F1E2E;
  box-shadow: 0 2px 8px rgba(200, 146, 42, 0.3);
}

.bcc-wizard__btn--primary:hover {
  background: #E8B84B;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200, 146, 42, 0.4);
}

.bcc-wizard__btn--primary:disabled {
  background: #C8D4DF;
  color: #6B7C8D;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.bcc-wizard__btn--secondary {
  background: transparent;
  color: #6B7C8D;
  border: 2px solid #C8D4DF;
}

.bcc-wizard__btn--secondary:hover {
  background: #EFF3F8;
  border-color: #6B7C8D;
  color: #3A4A5C;
}

.bcc-wizard__btn--submit {
  background: #192B3E;
  color: #EFF3F8;
  box-shadow: 0 2px 10px rgba(25, 43, 62, 0.3);
}

.bcc-wizard__btn--submit:hover {
  background: #1E3A52;
  transform: translateY(-1px);
}

.bcc-wizard__btn--submit:disabled {
  background: #C8D4DF;
  color: #6B7C8D;
  cursor: not-allowed;
  transform: none;
}

/* Validation error message */
.bcc-wizard__error-banner {
  background: rgba(160, 58, 44, 0.08);
  border: 1px solid rgba(160, 58, 44, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: #A03A2C;
  margin-bottom: 16px;
  display: none;
}

.bcc-wizard__error-banner.visible {
  display: block;
}

/* Disqualified message */
.bcc-wizard__disqualified {
  padding: 48px 36px;
  text-align: center;
}

.bcc-wizard__disqualified-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.bcc-wizard__disqualified h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  color: #A03A2C;
  margin-bottom: 12px;
}

.bcc-wizard__disqualified p {
  color: #3A4A5C;
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.bcc-wizard__disqualified-restart {
  font-size: 14px;
  color: #6B7C8D;
  cursor: pointer;
  text-decoration: underline;
}

.bcc-wizard__disqualified-restart:hover {
  color: #2C5282;
}

/* Success message */
.bcc-wizard__success {
  padding: 56px 36px;
  text-align: center;
}

.bcc-wizard__success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(45, 122, 74, 0.12);
  border: 3px solid #2D7A4A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
}

.bcc-wizard__success h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  color: #192B3E;
  margin-bottom: 12px;
}

.bcc-wizard__success p {
  color: #3A4A5C;
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 12px;
  line-height: 1.65;
}

.bcc-wizard__success-score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EFF3F8;
  border: 1px solid #C8D4DF;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  color: #3A4A5C;
  margin-top: 20px;
  font-weight: 600;
}

.bcc-wizard__success-score strong {
  color: #192B3E;
}

/* Loading state */
.bcc-wizard__loading-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85);
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.bcc-wizard__loading-overlay.visible {
  display: flex;
}

.bcc-wizard__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #C8D4DF;
  border-top-color: #C8922A;
  border-radius: 50%;
  animation: bcc-spin 0.7s linear infinite;
}

@keyframes bcc-spin {
  to { transform: rotate(360deg); }
}

/* Honeypot (invisible) */
.bcc-wizard__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

/* Section label */
.bcc-wizard__section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #6B7C8D;
  margin-bottom: 6px;
  margin-top: 20px;
}

.bcc-wizard__section-label:first-child {
  margin-top: 0;
}

/* =========================================================
   MOBILE RESPONSIVE
   ========================================================= */
@media (max-width: 600px) {
  .bcc-wizard__step-content {
    padding: 24px 20px 20px;
  }

  .bcc-wizard__nav {
    padding: 16px 20px 24px;
    flex-wrap: wrap;
  }

  .bcc-wizard__nav-left {
    order: 2;
    flex: 0 0 100%;
    text-align: center;
  }

  .bcc-wizard__nav-right {
    order: 1;
    width: 100%;
    justify-content: space-between;
  }

  .bcc-wizard__question {
    font-size: 18px;
  }

  .bcc-wizard__options {
    grid-template-columns: 1fr;
  }

  .bcc-wizard__field-row {
    grid-template-columns: 1fr;
  }

  .bcc-wizard__success {
    padding: 36px 24px;
  }

  .bcc-wizard__disqualified {
    padding: 36px 24px;
  }

  .bcc-wizard__progress-bar {
    padding: 16px 20px 0;
  }
}

/* =========================================================
   v0.2.0 — 8-step rebuild additions
   ========================================================= */

/* Step fade-in */
.bcc-wizard__step-content--fadein {
  display: block;
  animation: bcc-fadein 0.22s ease-out;
}
@keyframes bcc-fadein {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Step 1 intro */
.bcc-wizard__intro {
  background: #F5F7FA;
  border: 1px solid #C8D4DF;
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 8px;
}
.bcc-wizard__intro-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bcc-wizard__intro-list li {
  padding-left: 24px;
  position: relative;
  font-size: 14px;
  color: #192B3E;
  line-height: 1.5;
}
.bcc-wizard__intro-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #2D7A4A;
  font-weight: 700;
}
.bcc-wizard__intro-note {
  margin: 0;
  font-size: 13px;
  color: #6B7C8D;
}

/* Geography preview */
.bcc-wizard__geo-preview {
  margin-top: 16px;
}
.bcc-wizard__terms-preview {
  background: #F5F7FA;
  border: 1px solid #C8D4DF;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px;
  color: #192B3E;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bcc-wizard__terms-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.bcc-wizard__terms-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7C8D;
  min-width: 110px;
  flex-shrink: 0;
}

.bcc-wizard__warn {
  background: rgba(194, 138, 44, 0.10);
  border: 1px solid rgba(194, 138, 44, 0.45);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: #6B4920;
  margin: 0 0 12px;
  line-height: 1.5;
}
.bcc-wizard__warn--block {
  background: rgba(160, 58, 44, 0.08);
  border-color: rgba(160, 58, 44, 0.4);
  color: #A03A2C;
}
.bcc-wizard__warn a { color: inherit; text-decoration: underline; }

/* Country-status notice variants — soft-tagging UI */
.bcc-wizard__info {
  background: rgba(58, 116, 184, 0.08);
  border: 1px solid rgba(58, 116, 184, 0.35);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: #234B7A;
  margin: 0 0 12px;
  line-height: 1.5;
}
.bcc-wizard__ok {
  background: rgba(44, 122, 81, 0.08);
  border: 1px solid rgba(44, 122, 81, 0.35);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: #1F5837;
  margin: 0 0 12px;
  line-height: 1.5;
}
.bcc-wizard__notice {
  background: rgba(107, 124, 141, 0.10);
  border: 1px solid rgba(107, 124, 141, 0.35);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: #2A3845;
  margin: 0 0 12px;
  line-height: 1.5;
}

/* Product cards (step 4) */
.bcc-wizard__product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}
.bcc-wizard__product-card {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: #F5F7FA;
  border: 2px solid #C8D4DF;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.bcc-wizard__product-card:hover {
  border-color: #2C5282;
  background: #EFF3F8;
}
.bcc-wizard__product-card.checked {
  border-color: #C8922A;
  background: rgba(200, 146, 42, 0.08);
}
.bcc-wizard__product-cb {
  width: 18px;
  height: 18px;
  accent-color: #C8922A;
  flex-shrink: 0;
  margin-top: 2px;
}
.bcc-wizard__product-body { flex: 1; min-width: 0; }
.bcc-wizard__product-name {
  font-weight: 600;
  font-size: 15px;
  color: #0F1E2E;
  margin-bottom: 4px;
  line-height: 1.3;
}
.bcc-wizard__product-note {
  font-size: 12px;
  color: #6B7C8D;
  margin-bottom: 8px;
}
.bcc-wizard__product-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #3A4A5C;
}
.bcc-wizard__product-price {
  font-weight: 600;
  color: #C8922A;
}

/* Step 8 — summary + contact 2-col */
.bcc-wizard__summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}
.bcc-wizard__summary-panel,
.bcc-wizard__contact-panel {
  background: #F5F7FA;
  border: 1px solid #C8D4DF;
  border-radius: 10px;
  padding: 18px 18px 20px;
}
.bcc-wizard__panel-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #192B3E;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #C8D4DF;
}
.bcc-wizard__summary-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.bcc-wizard__summary-row {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  font-size: 13px;
  align-items: flex-start;
}
.bcc-wizard__summary-label {
  font-weight: 600;
  color: #6B7C8D;
  flex-shrink: 0;
  min-width: 92px;
}
.bcc-wizard__summary-value {
  color: #0F1E2E;
  text-align: right;
  word-break: break-word;
}
.bcc-wizard__summary-terms {
  border-top: 1px dashed #C8D4DF;
  padding-top: 12px;
  margin-top: 6px;
  font-size: 12px;
}
.bcc-wizard__summary-terms .bcc-wizard__terms-label {
  min-width: 0;
  display: block;
  margin-bottom: 2px;
  margin-top: 8px;
}
.bcc-wizard__summary-terms .bcc-wizard__terms-text {
  color: #192B3E;
  margin-bottom: 6px;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .bcc-wizard__summary-grid {
    grid-template-columns: 1fr;
  }
  .bcc-wizard__product-grid {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp success button */
.bcc-wizard__btn--whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF !important;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 18px;
  box-shadow: 0 2px 12px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}
.bcc-wizard__btn--whatsapp:hover {
  background: #1FB855;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  color: #FFFFFF !important;
}
