/* ═══════════════════════════════════════════════════════════════════
   REGISTER (buyer / renter) — multi-step wizard styles.
   Extends styles/signup.css's su-* system (su-hero, su-form-shell,
   su-grid, su-field, su-pills, su-consent, su-banner, su-success, su-faq).
   New here: market chip selector + step indicator + step panes +
   checkbox-pill groups for multi-select fields.
   ═══════════════════════════════════════════════════════════════════ */

/* ───────── Market chip selector ───────── */
.su-market-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.su-market-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  user-select: none;
}

.su-market-chip:hover {
  border-color: var(--brand-cyan-strong);
}

.su-market-chip.is-active {
  background: var(--brand-highlight);
  border-color: var(--brand);
  color: var(--brand-text);
}

.su-market-chip.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.su-market-chip .su-market-chip__badge {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ───────── Step indicator ───────── */
.su-steps {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  margin: 0 0 var(--space-6);
  padding: 0;
  flex-wrap: wrap;
}

.su-steps li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-weight: 600;
}

.su-steps .su-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  flex-shrink: 0;
}

.su-steps li.is-active {
  color: var(--brand-text);
}

.su-steps li.is-active .su-step__num {
  background: var(--brand);
  color: #fff;
}

.su-steps li.is-done .su-step__num {
  background: var(--brand-cyan-strong);
  color: #fff;
}

.su-steps li:not(:last-child)::after {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--color-border);
  margin-left: var(--space-1);
}

/* ───────── Step panes ───────── */
.su-step-pane {
  display: none;
}

.su-step-pane.is-active {
  display: block;
}

.su-step-actions {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.su-step-actions .su-step-actions__right {
  display: flex;
  gap: var(--space-3);
  margin-left: auto;
}

/* ───────── Checkbox-pill groups (multi-select) ───────── */
.su-check-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.su-check-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.su-check-pill:has(input:checked) {
  background: var(--brand-cyan-highlight);
  border-color: var(--brand-cyan-strong);
  color: var(--brand-cyan-text);
}

.su-check-pill input {
  accent-color: var(--brand);
}

.su-tag-input-hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.su-step-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-lg);
  margin: 0 0 var(--space-2);
}

.su-step-sub {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin: 0 0 var(--space-5);
}
