/* global React */
// Inline SVG icons — corporate, minimal line style

const stroke = { strokeWidth: 1.6, strokeLinecap: "round", strokeLinejoin: "round", fill: "none", stroke: "currentColor" };

const Icon = {
  Shield: () => (
    <svg width="22" height="22" viewBox="0 0 24 24" {...stroke}>
      <path d="M12 3l8 3v6c0 4.5-3.2 8.4-8 9-4.8-.6-8-4.5-8-9V6l8-3z" />
      <path d="M9 12l2 2 4-4" />
    </svg>
  ),
  Server: () => (
    <svg width="22" height="22" viewBox="0 0 24 24" {...stroke}>
      <rect x="3" y="4" width="18" height="7" rx="2" />
      <rect x="3" y="13" width="18" height="7" rx="2" />
      <circle cx="7" cy="7.5" r="0.7" fill="currentColor" />
      <circle cx="7" cy="16.5" r="0.7" fill="currentColor" />
      <path d="M11 7.5h7M11 16.5h7" />
    </svg>
  ),
  Audit: () => (
    <svg width="22" height="22" viewBox="0 0 24 24" {...stroke}>
      <circle cx="11" cy="11" r="6.5" />
      <path d="M16 16l4.5 4.5" />
      <path d="M8 11l2.2 2.2L14 9.5" />
    </svg>
  ),
  Brain: () => (
    <svg width="22" height="22" viewBox="0 0 24 24" {...stroke}>
      <path d="M9 4.5a2.5 2.5 0 0 0-2.5 2.5v.5A2.5 2.5 0 0 0 4 10v1.5a2.5 2.5 0 0 0 2 2.45V15.5A2.5 2.5 0 0 0 8.5 18h.5v1.5A1.5 1.5 0 0 0 10.5 21h1.5V4.5H10.5A1.5 1.5 0 0 0 9 6" />
      <path d="M15 4.5a2.5 2.5 0 0 1 2.5 2.5v.5A2.5 2.5 0 0 1 20 10v1.5a2.5 2.5 0 0 1-2 2.45V15.5A2.5 2.5 0 0 1 15.5 18H15v1.5a1.5 1.5 0 0 1-1.5 1.5H12V4.5h1.5A1.5 1.5 0 0 1 15 6" />
    </svg>
  ),
  Code: () => (
    <svg width="22" height="22" viewBox="0 0 24 24" {...stroke}>
      <path d="M9 7l-5 5 5 5" />
      <path d="M15 7l5 5-5 5" />
      <path d="M13 5l-2 14" />
    </svg>
  ),
  Compass: () => (
    <svg width="22" height="22" viewBox="0 0 24 24" {...stroke}>
      <circle cx="12" cy="12" r="9" />
      <path d="M15.5 8.5l-2 5.5-5.5 2 2-5.5 5.5-2z" />
    </svg>
  ),
  Bolt: () => (
    <svg width="22" height="22" viewBox="0 0 24 24" {...stroke}>
      <path d="M13 3l-8 11h6l-1 7 8-11h-6l1-7z" />
    </svg>
  ),
  Arrow: () => (
    <svg width="16" height="16" viewBox="0 0 24 24" {...stroke}>
      <path d="M5 12h14" />
      <path d="M13 6l6 6-6 6" />
    </svg>
  ),
  Sun: () => (
    <svg width="18" height="18" viewBox="0 0 24 24" {...stroke}>
      <circle cx="12" cy="12" r="4" />
      <path d="M12 2v2M12 20v2M2 12h2M20 12h2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41" />
    </svg>
  ),
  Moon: () => (
    <svg width="18" height="18" viewBox="0 0 24 24" {...stroke}>
      <path d="M20 15.5A8 8 0 1 1 8.5 4a6.5 6.5 0 0 0 11.5 11.5z" />
    </svg>
  ),
  Mail: () => (
    <svg width="18" height="18" viewBox="0 0 24 24" {...stroke}>
      <rect x="3" y="5" width="18" height="14" rx="2" />
      <path d="M3 7l9 6 9-6" />
    </svg>
  ),
  Network: () => (
    <svg width="22" height="22" viewBox="0 0 24 24" {...stroke}>
      <circle cx="12" cy="12" r="2.2" />
      <circle cx="5" cy="6" r="1.6" />
      <circle cx="19" cy="6" r="1.6" />
      <circle cx="5" cy="18" r="1.6" />
      <circle cx="19" cy="18" r="1.6" />
      <path d="M10.3 11l-4-4M13.7 11l4-4M10.3 13l-4 4M13.7 13l4 4" />
    </svg>
  ),
  Database: () => (
    <svg width="22" height="22" viewBox="0 0 24 24" {...stroke}>
      <ellipse cx="12" cy="5" rx="8" ry="2.5" />
      <path d="M4 5v6c0 1.4 3.6 2.5 8 2.5s8-1.1 8-2.5V5" />
      <path d="M4 11v6c0 1.4 3.6 2.5 8 2.5s8-1.1 8-2.5v-6" />
    </svg>
  ),
  Box: () => (
    <svg width="22" height="22" viewBox="0 0 24 24" {...stroke}>
      <path d="M3 7.5l9-4.5 9 4.5v9l-9 4.5-9-4.5v-9z" />
      <path d="M3 7.5l9 4.5 9-4.5M12 12v9.5" />
    </svg>
  ),
  Target: () => (
    <svg width="22" height="22" viewBox="0 0 24 24" {...stroke}>
      <circle cx="12" cy="12" r="9" />
      <circle cx="12" cy="12" r="5" />
      <circle cx="12" cy="12" r="1.3" fill="currentColor" />
    </svg>
  ),
  Eye: () => (
    <svg width="22" height="22" viewBox="0 0 24 24" {...stroke}>
      <path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z" />
      <circle cx="12" cy="12" r="3" />
    </svg>
  ),
  Quote: () => (
    <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
      <path d="M7 7c-2.2 0-4 1.8-4 4v6h6v-6H6c0-1.1.9-2 2-2V7zm10 0c-2.2 0-4 1.8-4 4v6h6v-6h-3c0-1.1.9-2 2-2V7z" />
    </svg>
  ),
};

window.Icon = Icon;
