/* Onboarding page styles */
.onboarding-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

/* Progress bar */
.progress-wrap {
  margin-bottom: 32px;
}
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.progress-step {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  background: #fff;
  transition: 0.2s;
  flex-shrink: 0;
}
.progress-step.active {
  border-color: var(--brand-1);
  background: var(--brand-1);
  color: #fff;
}
.progress-step.done {
  border-color: #22c55e;
  background: #22c55e;
  color: #fff;
}
.progress-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 4px;
}
.progress-line.filled {
  background: #22c55e;
}
.progress-bar-track {
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  border-radius: 999px;
  transition: width 0.3s ease;
}

/* Step panel */
.step-panel {
  display: none;
  animation: fadeIn 0.25s ease;
}
.step-panel.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-panel h2 {
  margin: 0 0 6px;
}

.field-group {
  margin-top: 18px;
}
.field-group + .field-group {
  margin-top: 14px;
}

/* Navigation buttons */
.step-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  gap: 12px;
}
.step-nav .btn { min-width: 120px; }

/* Review step */
.review-block {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  margin-top: 14px;
  background: #fff;
  position: relative;
}
.review-block h4 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.review-block p {
  margin: 0;
  line-height: 1.6;
}
.review-edit {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 8px;
}

/* Stripe payment */
.payment-box {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  margin-top: 20px;
}
.price-tag {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.payment-desc {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
  line-height: 1.5;
}
#payment-element {
  margin-top: 16px;
}
.pay-btn {
  width: 100%;
  margin-top: 16px;
  padding: 16px;
  font-size: 16px;
}

/* Summary box */
.summary-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 14px;
  padding: 16px;
  margin-top: 16px;
  line-height: 1.7;
  font-size: 15px;
}

/* Character counter */
.char-count {
  text-align: right;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.char-count.over { color: #ef4444; }
