import { jsx as a, jsxs as o } from "react/jsx-runtime";
import { useTranslation as i } from "react-i18next";
import { XCircle as d, CheckCircle as l, Clock as b } from "lucide-react";
function x({ status: r }) {
  const { t: e } = i("admin"), s = {
    Pending: {
      icon: b,
      label: e("accessRequests.status.pending"),
      className: "bg-[var(--warning-bg)] text-[var(--warning-text)] border-[var(--warning-border)]"
    },
    Approved: {
      icon: l,
      label: e("accessRequests.status.approved"),
      className: "bg-[var(--success-bg)] text-[var(--success-text)] border-[var(--success-border)]"
    },
    Denied: {
      icon: d,
      label: e("accessRequests.status.denied"),
      className: "bg-[var(--error-bg)] text-[var(--error-text)] border-[var(--error-border)]"
    }
  }[r];
  if (!s)
    return /* @__PURE__ */ a("span", { className: "inline-flex items-center gap-1 px-2 py-1 rounded-[var(--radius-badge)] text-sm font-medium border bg-[var(--bg-secondary)] text-[var(--text-secondary)] border-[var(--border-primary)]", children: r });
  const { icon: t, label: n, className: c } = s;
  return /* @__PURE__ */ o("span", { className: `inline-flex items-center gap-1 px-2 py-1 rounded-[var(--radius-badge)] text-sm font-medium border ${c}`, children: [
    /* @__PURE__ */ a(t, { className: "w-3 h-3" }),
    n
  ] });
}
export {
  x as A
};
//# sourceMappingURL=AccessRequestStatusBadge-CjkJPKuE.js.map
