/* ============================================================
   CARN Onboarding — onboarding.css
   Wizard steps, welcome modals, first-run experience
   ============================================================ */

.onboarding-card {
  border-radius: var(--radius-xl);
  background: white;
  border: 1px solid var(--gray-200);
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Wizard Steps */
.wizard-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
}

.wizard-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.wizard-step-number {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--gray-100);
  color: var(--gray-500);
  border: 2px solid var(--gray-200);
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.wizard-step.active .wizard-step-number {
  background: var(--primary-600);
  color: white;
  border-color: var(--primary-600);
}

.wizard-step.completed .wizard-step-number {
  background: var(--accent-green);
  color: white;
  border-color: var(--accent-green);
}

.wizard-step-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-500);
}

.wizard-step.active .wizard-step-label {
  color: var(--gray-900);
  font-weight: 600;
}

.wizard-step-connector {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  margin: 0 0.5rem;
}

.wizard-step.completed + .wizard-step-connector,
.wizard-step.completed ~ .wizard-step-connector {
  background: var(--accent-green);
}

/* Welcome Modal */
.welcome-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.welcome-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: welcomeFadeIn 0.4s ease;
}

@keyframes welcomeFadeIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.welcome-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.welcome-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.welcome-text {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
