export const GARNISHMENT_MANAGER_APP = {
  id: 'garnishment-manager',
  name: 'Garnishment Manager',
  description: 'Manage wage garnishments and court orders',
  html: `<!DOCTYPE html><html><head><meta charset="utf-8"><title>Garnishment Manager</title>
<script crossorigin src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
<style>* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f5f5f5; padding: 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.header { background: white; padding: 24px; border-radius: 8px; margin-bottom: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
table { width: 100%; background: white; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); border-collapse: collapse; }
th { text-align: left; padding: 16px; border-bottom: 2px solid #eee; background: #fafafa; }
td { padding: 16px; border-bottom: 1px solid #eee; }
.badge { padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 500; }
.badge.court { background: #fff3e0; color: #f57c00; }
</style></head><body><div id="root"></div>
<script type="text/babel">
function GarnishmentManager() {
  const garnishments = [
    { employee: 'John Doe', type: 'Child Support', amount: '$450/mo', status: 'Court Ordered', remaining: 24 },
    { employee: 'Jane Smith', type: 'Tax Levy', amount: '$200/mo', status: 'Court Ordered', remaining: 12 },
  ];
  return (<div className="container"><div className="header"><h1>⚖️ Garnishment Manager</h1><p>Track and manage wage garnishments</p></div>
  <table><thead><tr><th>Employee</th><th>Type</th><th>Amount</th><th>Status</th><th>Remaining Payments</th></tr></thead>
  <tbody>{garnishments.map((g, i) => (<tr key={i}><td>{g.employee}</td><td>{g.type}</td><td>{g.amount}</td>
  <td><span className="badge court">{g.status}</span></td><td>{g.remaining}</td></tr>))}</tbody></table></div>);
}
ReactDOM.render(<GarnishmentManager />, document.getElementById('root'));
</script></body></html>`,
};
