import{j as e}from"./client-BbMi5ewG.js";import{S as l}from"./switch-BXH9Uq5p.js";import{C as m}from"./crown-BdDHOvET.js";import{L as o}from"./lock-DbcYKLM6.js";function b({icon:s,title:t,description:a,checked:i,onCheckedChange:d,isPro:n,showSwitch:r=!0,children:c}){const x="h-11 w-11 bg-white rounded-[8px] flex items-center justify-center border border-blue-200 shadow-sm";return n?e.jsxs("div",{className:"bg-gradient-to-r from-slate-50 to-white rounded-[8px] border border-border p-5 hover:shadow-sm transition-all",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:x,children:s}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium text-title text-sm",children:t}),e.jsx("p",{className:"text-xs text-slate-600 mt-0.5",children:a})]})]}),r&&e.jsx(l,{checked:i,onCheckedChange:d,className:"data-[state=checked]:bg-[#1d4ed8]"})]}),c]}):e.jsxs("div",{className:"relative rounded-[8px] border border-slate-200 bg-slate-50/50 p-5 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 opacity-[0.025] pointer-events-none",style:{backgroundImage:"repeating-linear-gradient(135deg, transparent, transparent 10px, #64748b 10px, #64748b 11px)"}}),e.jsxs("div",{className:"flex items-center justify-between relative",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"h-11 w-11 bg-slate-100 rounded-[8px] flex items-center justify-center border border-slate-200",children:e.jsx("div",{className:"text-slate-400",children:s})}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("h4",{className:"font-medium text-slate-400 text-sm",children:t}),e.jsxs("span",{className:"inline-flex items-center gap-1 rounded-full bg-gradient-to-r from-amber-400 to-orange-500 px-2 py-0.5 text-[10px] font-semibold text-white shadow-sm",children:[e.jsx(m,{className:"h-2.5 w-2.5"}),"PRO"]})]}),e.jsx("p",{className:"text-xs text-slate-400 mt-0.5",children:a})]})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(o,{className:"h-4 w-4 text-slate-300"}),r&&e.jsx(l,{checked:!1,disabled:!0,className:"opacity-40"})]})]})]})}export{b as P};
//# sourceMappingURL=ProFeatureCard-jTC0MhR9.js.map
