/* Residual styles for Polaris-based views (suppliers, POs, forecasts, reports, inventory configs) */

.turbo-progress-bar {
  background-color: #008060;
}

/* Status badges (PO list, supplier views) */
.status-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge--draft { background: #e4e5e7; color: #6d7175; }
.status-badge--ordered { background: #b4e1fa; color: #00456c; }
.status-badge--partially_received { background: #ffc96b; color: #4a3800; }
.status-badge--received { background: #aee9d1; color: #0d3d25; }

/* Stock level colors (reports) */
.stock-level--red { color: #d72c0d; font-weight: 600; }
.stock-level--yellow { color: #b98900; font-weight: 600; }
.stock-level--green { color: #008060; }

.pack-size-warning {
  color: #d72c0d;
  font-size: 0.85rem;
}

/* Center <dialog> elements opened with showModal() — Tailwind preflight resets margin: auto */
dialog[open] {
  margin: auto;
}
