/* public-forms-status.css
   Public forms: stepper, status legend and save/progress notices. */

#status-legend .status-legend-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  display: inline-block;
}

.stepper {
  display: flex;
  gap: 12px;
  align-items: center;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in srgb, var(--muted), black 10%);
}

.step .bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--muted);
}

.step.active {
  color: var(--ink);
}

.step.active .bubble {
  border-color: var(--primary);
  color: var(--primary);
}

.step.done .bubble {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
}

.progress-done {
  background-color: var(--fx-extra-accent);
}

.toast-notice,
.batch-toast {
  position: fixed;
  right: 16px;
  bottom: 80px;
  color: var(--surface);
  padding: 0.6rem 1rem;
  border-radius: var(--fx-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 2000;
  pointer-events: none;
}

.toast-notice {
  background: var(--ok);
}

.toast-notice.show,
.batch-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.batch-toast-success {
  background: var(--ok);
}

.batch-toast-error {
  background: var(--err);
}

.batch-toast-info {
  background: var(--bs-primary);
}
