/* ---------- Auth shell (login / senha / recuperação) ---------- */
.auth-shell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.auth-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.auth-email-pill {
  display: inline-block;
  background: hsl(var(--muted));
  border-radius: 999px;
  padding: 0.6rem 1.25rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.auth-footer-link {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
}

.auth-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

/* ---------- Onboarding shell ---------- */
.onboarding-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.onboarding-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid hsl(var(--border));
}

.onboarding-wizard {
  padding: 1.5rem 2rem 0;
}

.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 480px;
  margin: 0 auto 0.75rem;
}

.wizard-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.wizard-icon.is-active {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-glow);
}

.wizard-icon.is-done {
  background: hsl(var(--success));
  color: hsl(var(--primary-foreground));
}

.wizard-connector {
  flex: 1;
  height: 2px;
  background: hsl(var(--border));
  margin: 0 0.5rem;
}

.wizard-connector.is-filled {
  background: hsl(var(--success));
}

.wizard-meta {
  display: flex;
  justify-content: flex-end;
  max-width: 480px;
  margin: 0 auto;
  color: hsl(var(--muted-foreground));
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.wizard-progress-track {
  height: 3px;
  background: hsl(var(--border));
  border-radius: 999px;
  overflow: hidden;
}

.wizard-progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.onboarding-body {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.onboarding-content {
  width: 100%;
  max-width: 620px;
}

.onboarding-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.onboarding-heading h1 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.onboarding-heading p {
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
}

.onboarding-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.onboarding-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-top: 1px solid hsl(var(--border));
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
  .onboarding-topbar,
  .onboarding-wizard,
  .onboarding-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.centered-state {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem 0;
}
