import{j as e}from"./index-C8aoN8t4.js";import{V as l,bg as a,bL as u}from"./ui-wfmc48pO.js";const b=({label:i,value:t,icon:o,trend:r,trendDirection:n="neutral",gradient:d,subtext:s})=>{const m=n==="up"?l:n==="down"?a:u;return e.jsxDEV("div",{className:`relative overflow-hidden rounded-2xl p-6 transition-all duration-300 hover:scale-[1.02] hover:shadow-sm bg-gradient-to-br ${d} group border border-white/10 shadow-none`,children:[e.jsxDEV("div",{className:"absolute top-0 right-0 w-32 h-32 bg-white/10 rounded-full -mr-16 -mt-16 group-hover:scale-110 transition-transform duration-500 blur-2xl"},void 0,!1,{fileName:"D:/devlop/projects/printing system/src/components/ui/modern/StatCard.tsx",lineNumber:28,columnNumber:13},void 0),e.jsxDEV("div",{className:"absolute bottom-0 left-0 w-24 h-24 bg-black/5 rounded-full -ml-12 -mb-12 blur-xl"},void 0,!1,{fileName:"D:/devlop/projects/printing system/src/components/ui/modern/StatCard.tsx",lineNumber:29,columnNumber:13},void 0),e.jsxDEV("div",{className:"relative z-10",children:[e.jsxDEV("div",{className:"flex justify-between items-start mb-4",children:[e.jsxDEV("div",{children:[e.jsxDEV("p",{className:"text-white/80 text-xs font-bold uppercase tracking-wider mb-1",children:i},void 0,!1,{fileName:"D:/devlop/projects/printing system/src/components/ui/modern/StatCard.tsx",lineNumber:34,columnNumber:25},void 0),e.jsxDEV("h3",{className:"text-3xl sm:text-4xl font-black text-white tracking-tight leading-none drop-shadow-sm",children:typeof t=="number"?t.toLocaleString():t},void 0,!1,{fileName:"D:/devlop/projects/printing system/src/components/ui/modern/StatCard.tsx",lineNumber:35,columnNumber:25},void 0)]},void 0,!0,{fileName:"D:/devlop/projects/printing system/src/components/ui/modern/StatCard.tsx",lineNumber:33,columnNumber:21},void 0),o&&e.jsxDEV("div",{className:"p-3 bg-white/20 backdrop-blur-md rounded-xl shadow-inner border border-white/10 flex-shrink-0",children:e.jsxDEV(o,{className:"h-6 w-6 text-white"},void 0,!1,{fileName:"D:/devlop/projects/printing system/src/components/ui/modern/StatCard.tsx",lineNumber:41,columnNumber:29},void 0)},void 0,!1,{fileName:"D:/devlop/projects/printing system/src/components/ui/modern/StatCard.tsx",lineNumber:40,columnNumber:25},void 0)]},void 0,!0,{fileName:"D:/devlop/projects/printing system/src/components/ui/modern/StatCard.tsx",lineNumber:32,columnNumber:17},void 0),(r||s)&&e.jsxDEV("div",{className:"flex items-center gap-2 mt-auto",children:[r&&e.jsxDEV("div",{className:`flex items-center gap-1 px-2 py-1 rounded-lg bg-white/15 backdrop-blur-sm border border-white/10 ${n==="up"?"text-emerald-100":n==="down"?"text-rose-100":"text-slate-100"}`,children:[e.jsxDEV(m,{size:14},void 0,!1,{fileName:"D:/devlop/projects/printing system/src/components/ui/modern/StatCard.tsx",lineNumber:52,columnNumber:33},void 0),e.jsxDEV("span",{className:"text-xs font-bold",children:r},void 0,!1,{fileName:"D:/devlop/projects/printing system/src/components/ui/modern/StatCard.tsx",lineNumber:53,columnNumber:33},void 0)]},void 0,!0,{fileName:"D:/devlop/projects/printing system/src/components/ui/modern/StatCard.tsx",lineNumber:49,columnNumber:29},void 0),s&&e.jsxDEV("span",{className:"text-white/70 text-xs font-medium",children:s},void 0,!1,{fileName:"D:/devlop/projects/printing system/src/components/ui/modern/StatCard.tsx",lineNumber:57,columnNumber:29},void 0)]},void 0,!0,{fileName:"D:/devlop/projects/printing system/src/components/ui/modern/StatCard.tsx",lineNumber:47,columnNumber:21},void 0)]},void 0,!0,{fileName:"D:/devlop/projects/printing system/src/components/ui/modern/StatCard.tsx",lineNumber:31,columnNumber:13},void 0)]},void 0,!0,{fileName:"D:/devlop/projects/printing system/src/components/ui/modern/StatCard.tsx",lineNumber:26,columnNumber:9},void 0)};export{b as S};
