import{j as e}from"./app-BwDemWQz.js";import{B as a}from"./Button-B-KWyoQR.js";import{o as n}from"./AppLayout-3zbhnyYw.js";import{T as c}from"./trash-2-DJCIoKoz.js";function g({isOpen:s,onClose:t,title:l="Delete this item?",description:i="Are you really sure you want to delete this item?",onConfirm:d,isDeleting:r=!1}){const o=()=>{d()};return e.jsx(n,{isOpen:s,onClose:t,title:l,showSubmit:!1,size:"md",children:e.jsxs("div",{className:"text-center space-y-6",children:[e.jsx("div",{className:"flex justify-center",children:e.jsx("div",{className:"w-16 h-16 bg-red-500 rounded-full flex items-center justify-center",children:e.jsx(c,{className:"w-8 h-8 text-white"})})}),e.jsx("p",{className:"text-gray-600 dark:text-gray-400 text-center",children:i}),e.jsxs("div",{className:"flex gap-3 pt-4",children:[e.jsx(a,{variant:"outline",onClick:t,className:"flex-1 bg-transparent text-gray-700 dark:text-gray-300 border-gray-300 dark:border-gray-600 hover:bg-gray-100 dark:hover:bg-zinc-800",disabled:r,children:"Cancel"}),e.jsx(a,{onClick:o,className:"flex-1 bg-red-500 hover:bg-red-600 text-white shadow-md hover:shadow-lg transition-all duration-200",disabled:r,children:r?"Deleting...":"Delete"})]})]})})}export{g as D};
