export default function StatusBadge({ status }: { status: string }) {
  const normalized = (status || "").toLowerCase();

  const badgeClass = [
    "bf-status-badge",
    normalized === "created" ? "is-created" : "",
    normalized === "processing" ? "is-processing" : "",
    normalized === "failed" ? "is-failed" : "",
  ]
    .filter(Boolean)
    .join(" ");

  return <span className={badgeClass}>{status}</span>;
}
