import{j as r,v as d,B as s,T as x}from"./main-BMMRv56V.js";import{D as p}from"./TextField-CWEE-Dgp.js";const f=({title:i,subtitle:o,action:a,children:n,noPadding:t=!1,sx:e})=>r.jsxs(d,{variant:"outlined",sx:{mb:2,overflow:"hidden",border:"1px solid #c3c4c7",boxShadow:"0 1px 1px rgba(0,0,0,.04)",...e&&!Array.isArray(e)?e:{}},children:[r.jsxs(s,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",px:2,py:1.5,backgroundColor:"#f8f9fa"},children:[r.jsxs(s,{children:[r.jsx(x,{variant:"subtitle1",sx:{fontWeight:700,fontSize:"14px"},children:i}),o&&r.jsx(x,{variant:"body2",color:"text.secondary",sx:{fontSize:"12px"},children:o})]}),a&&r.jsx(s,{children:a})]}),r.jsx(p,{}),r.jsx(s,{sx:t?{}:{p:2},children:n})]});export{f as G};
