/* Shared signup wizard (register → payment → verify) */
.signup-progress {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.signup-progress__step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.signup-progress__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  left: calc(50% + 16px);
  right: calc(-50% + 16px);
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 0;
}

.signup-progress__step.is-complete:not(:last-child)::after {
  background: rgba(43, 130, 246, 0.55);
}

.signup-progress__dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: #0a0a0a;
  color: #9ca3af;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.signup-progress__step.is-active .signup-progress__dot {
  border-color: #2b82f6;
  background: #2b82f6;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(43, 130, 246, 0.18);
}

.signup-progress__step.is-complete .signup-progress__dot {
  border-color: #2b82f6;
  background: #1e3a5f;
  color: #93c5fd;
}

.signup-progress__label {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  line-height: 1.25;
  color: #6b7280;
  padding: 0 0.25rem;
}

.signup-progress__step.is-active .signup-progress__label {
  color: #e5e7eb;
  font-weight: 500;
}

.signup-progress__step.is-complete .signup-progress__label {
  color: #9ca3af;
}

.signup-lead {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: #9ca3af;
  line-height: 1.5;
}

.signup-plan-selected {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(43, 130, 246, 0.25);
  background: rgba(43, 130, 246, 0.08);
}

.signup-payment-form {
  margin-top: 0.5rem;
}

#signup-payment-mount {
  min-height: 120px;
  margin-bottom: 0.75rem;
}

.signup-payment-legal {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted, #9ca3af);
}

.signup-payment-error {
  margin: 0 0 0.75rem;
  color: #f87171;
  font-size: 0.88rem;
}

.signup-promo-row {
  margin-bottom: 1rem;
}

.signup-promo-controls {
  display: flex;
  gap: 0.5rem;
}

.signup-promo-input {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #0a0a0a;
  color: #fff;
  font-size: 0.92rem;
}

.signup-promo-apply {
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1f2937;
  color: #f3f4f6;
  font-size: 0.85rem;
  cursor: pointer;
}

.signup-promo-hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: #6ee7b7;
}

html[data-theme='light'] .signup-progress__step:not(:last-child)::after {
  background: rgba(15, 23, 42, 0.12);
}

html[data-theme='light'] .signup-progress__step.is-complete:not(:last-child)::after {
  background: rgba(29, 78, 216, 0.35);
}

html[data-theme='light'] .signup-progress__dot {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.15);
  color: #64748b;
}

html[data-theme='light'] .signup-progress__step.is-active .signup-progress__dot {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

html[data-theme='light'] .signup-progress__label {
  color: #64748b;
}

html[data-theme='light'] .signup-progress__step.is-active .signup-progress__label {
  color: #0f172a;
}

html[data-theme='light'] .signup-plan-selected {
  background: rgba(29, 78, 216, 0.06);
  border-color: rgba(29, 78, 216, 0.2);
}

html[data-theme='light'] .signup-promo-input {
  background: #fff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme='light'] .signup-promo-apply {
  background: #f1f5f9;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
}

.signup-callout {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.signup-callout--success {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(16, 185, 129, 0.1);
}

.signup-callout__title {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #6ee7b7;
}

.signup-callout__body {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #9ca3af;
}

html[data-theme='light'] .signup-callout--success {
  border-color: rgba(5, 150, 105, 0.25);
  background: rgba(16, 185, 129, 0.08);
}

html[data-theme='light'] .signup-callout__title {
  color: #047857;
}

html[data-theme='light'] .signup-callout__body {
  color: #475569;
}
