"use client";
import { jsx, jsxs } from "react/jsx-runtime";
function PortalCard({ children, className }) {
  return /* @__PURE__ */ jsx("div", { className: `rounded-xl border bg-card p-5 sm:p-6 ${className ?? ""}`, children });
}
function PortalCardHeader({ title, description, label, action }) {
  return /* @__PURE__ */ jsxs("div", { className: "mb-4 flex items-start justify-between gap-4", children: [
    /* @__PURE__ */ jsxs("div", { children: [
      label ? /* @__PURE__ */ jsx("p", { className: "mb-1.5 text-[11px] font-medium uppercase tracking-widest text-muted-foreground/60", children: label }) : null,
      /* @__PURE__ */ jsx("h3", { className: "text-base font-semibold tracking-tight", children: title }),
      description ? /* @__PURE__ */ jsx("p", { className: "mt-0.5 text-sm text-muted-foreground", children: description }) : null
    ] }),
    action ? /* @__PURE__ */ jsx("div", { className: "shrink-0", children: action }) : null
  ] });
}
function PortalStatRow({ label, value }) {
  return /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-4 py-2.5", children: [
    /* @__PURE__ */ jsx("span", { className: "text-[11px] font-medium uppercase tracking-wider text-muted-foreground/70", children: label }),
    /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-foreground", children: value })
  ] });
}
function PortalCardDivider() {
  return /* @__PURE__ */ jsx("div", { className: "border-t" });
}
export {
  PortalCard,
  PortalCardDivider,
  PortalCardHeader,
  PortalStatRow
};
//# sourceMappingURL=PortalCard.js.map
