import{c as d}from"./apiClient-BjaOLWhY.js";import{j as e}from"./index-TmnhPDhN.js";import{d as c}from"./AppLayout-D6Er1EDx.js";const o=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],p=d("trending-up",o);function u({label:t,value:i,delta:s,icon:r,tone:a="primary"}){const n={primary:"gradient-primary",success:"gradient-success",warning:"gradient-warning",info:"gradient-info"};return e.jsx("div",{className:"card-elevated stat-tile animate-float-in p-5",children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-xs font-medium uppercase tracking-wide text-muted-foreground",children:t}),e.jsx("div",{className:"mt-2 text-2xl font-bold tracking-tight sm:text-3xl",children:i}),s&&e.jsx("div",{className:"mt-1 inline-flex items-center gap-1 rounded-full bg-success/10 px-2 py-0.5 text-[11px] font-semibold text-success",children:s})]}),e.jsx("div",{className:c("grid h-12 w-12 place-items-center rounded-2xl text-primary-foreground shadow-[var(--shadow-soft)]",n[a]),children:e.jsx(r,{className:"h-6 w-6"})})]})})}export{u as S,p as T};
