/* Signup wizard styles */

/* ─── Step indicator ────────────────────────────────────────── */

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.step-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.step-active {
  background: #4f46e5;
  color: #fff;
}

.step-inactive {
  background: #e5e7eb;
  color: #6b7280;
}

.step-line {
  width: 2rem;
  height: 2px;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.step-line-active {
  background: #4f46e5;
}

.step-line-inactive {
  background: #e5e7eb;
}

/* ─── Step containers ─────────────────────────────────────── */

.signup-step {
  display: none;
  animation: stepFadeIn 0.3s ease;
}

.signup-step.active {
  display: block;
}

@keyframes stepFadeIn {
  from { opacity: 0; transform: translateY(0.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Form controls ───────────────────────────────────────── */

.signup-step label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  margin-bottom: 0.5rem;
}

.signup-step input[type="text"],
.signup-step input[type="tel"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: #111827;
  background: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.signup-step input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.signup-step .radio-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.signup-step .radio-card {
  flex: 1;
  min-width: 100px;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  background: #fff;
}

.signup-step .radio-card:hover {
  border-color: #a5b4fc;
}

.signup-step .radio-card.selected {
  border-color: #4f46e5;
  background: #eef2ff;
  color: #4338ca;
}

.signup-step .radio-card input {
  position: absolute;
  opacity: 0;
}

/* ─── Capture step ──────────────────────────────────────────── */

.capture-instruction {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
  margin-bottom: 1rem;
}

.capture-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4f46e5;
  text-align: center;
  margin-bottom: 0.75rem;
}

.photo-thumbs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.photo-thumb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d1d5db;
  opacity: 0.5;
  transition: all 0.2s ease;
}

.photo-thumb.captured {
  border-color: #10b981;
  opacity: 1;
}

/* ─── Status / error ──────────────────────────────────────── */

.step-status {
  font-size: 0.875rem;
  text-align: center;
  margin-top: 1rem;
  min-height: 1.25rem;
}

.step-status.error {
  color: #dc2626;
}

.step-status.success {
  color: #059669;
}

.step-status.info {
  color: #6b7280;
}

/* ─── Buttons ─────────────────────────────────────────────── */

.wizard-btn {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
}

.wizard-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wizard-btn-primary {
  background: #4f46e5;
  color: #fff;
}

.wizard-btn-primary:hover:not(:disabled) {
  background: #4338ca;
}

.wizard-btn-secondary {
  background: #fff;
  color: #4f46e5;
  border: 1px solid #c7d2fe;
}

.wizard-btn-secondary:hover:not(:disabled) {
  background: #eef2ff;
}
