// Heroicons v2 outline + a couple of dental-themed glyphs
const DIcon = ({ name, className = "w-6 h-6", style }) => {
  const paths = {
    shield: <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z" />,
    pin: <><path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z" /><path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z" /></>,
    phone: <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z" />,
    chevron: <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M19 9l-7 7-7-7" />,
    menu: <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M4 6h16M4 12h16M4 18h16" />,
    arrow: <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.75" d="M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3" />,
    check: <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.75" d="m4.5 12.75 6 6 9-13.5" />,
    bolt: <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M3.75 13.5l10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z" />,
    server: <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M5.25 14.25h13.5m-13.5 0a3 3 0 0 1-3-3m3 3a3 3 0 1 0 0 6h13.5a3 3 0 1 0 0-6m-16.5-3a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3m-19.5 0a4.5 4.5 0 0 1 .9-2.7L5.737 5.1a3.375 3.375 0 0 1 2.7-1.35h7.126c1.062 0 2.062.5 2.7 1.35l2.587 3.45a4.5 4.5 0 0 1 .9 2.7m0 0h.375a2.625 2.625 0 0 1 0 5.25H17.25m0-5.25v5.25m0-5.25h-3m3 5.25H6.75" />,
    headset: <><path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M3.75 11.25v3a3 3 0 0 0 3 3h.75a.75.75 0 0 0 .75-.75v-4.5a.75.75 0 0 0-.75-.75h-.75a3 3 0 0 0-3 3Z" /><path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M20.25 11.25v3a3 3 0 0 1-3 3h-.75a.75.75 0 0 1-.75-.75v-4.5a.75.75 0 0 1 .75-.75h.75a3 3 0 0 1 3 3Z" /><path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M3.75 11.25a8.25 8.25 0 0 1 16.5 0M16.5 17.25v.75a3 3 0 0 1-3 3h-3" /></>,
    cube: <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M21 7.5l-9-5.25L3 7.5m18 0-9 5.25M21 7.5v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9" />,
    code: <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="m6.75 7.5-3.75 4.5 3.75 4.5m10.5-9 3.75 4.5-3.75 4.5M14.25 4.5l-4.5 15" />,
    chart: <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 0 1 3 19.875v-6.75ZM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25A1.125 1.125 0 0 1 9.75 19.875V8.625ZM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25A1.125 1.125 0 0 1 16.5 19.875V4.125Z" />,
    download: <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5" />,
    star: <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z" />,
    clock: <><circle cx="12" cy="12" r="9" strokeWidth="1.5" /><path strokeLinecap="round" strokeWidth="1.5" d="M12 7v5l3 2" /></>,
    tooth: <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M7.5 3.5C5.5 3.5 4 5 4 7.2c0 1.6.4 2.6.7 3.6.4 1.2.6 2.4.7 4 .1 2 .3 4.7 1.6 4.7 1.1 0 1.4-1.4 1.6-2.7.2-1.4.5-2.7 1.4-2.7s1.2 1.3 1.4 2.7c.2 1.3.5 2.7 1.6 2.7 1.3 0 1.5-2.7 1.6-4.7.1-1.6.3-2.8.7-4 .3-1 .7-2 .7-3.6 0-2.2-1.5-3.7-3.5-3.7-1.4 0-1.9.6-3 .6s-1.6-.6-3-.6Z" />,
    lock: <><rect x="4" y="11" width="16" height="10" rx="2" strokeWidth="1.5" /><path strokeLinecap="round" strokeWidth="1.5" d="M8 11V7a4 4 0 0 1 8 0v4" /></>,
    file: <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z" />,
  };
  return <svg className={className} fill="none" stroke="currentColor" viewBox="0 0 24 24" style={style}>{paths[name]}</svg>;
};
window.DIcon = DIcon;
