// ─────────────────────────────────────────────────────────────────────────────
// Application-wide constants
//
// Shared values used across the CRM – lead statuses & colours, source options,
// pagination defaults, and branding.
// ─────────────────────────────────────────────────────────────────────────────

/**
 * Map of lead status keys to display labels and Tailwind background colours.
 *
 * Used to render status badges, filter dropdowns, and charts consistently.
 */
export const LEAD_STATUSES = {
  open:      { label: "Open",      color: "bg-blue-500" },
  contacted: { label: "Contacted", color: "bg-amber-500" },
  pending:   { label: "Pending",   color: "bg-purple-500" },
  closed:    { label: "Closed",    color: "bg-emerald-500" },
  ignored:   { label: "Ignored",   color: "bg-zinc-500" },
} as const

/**
 * Allowed lead-source values shown in creation/edit forms and filters.
 */
export const LEAD_SOURCES = [
  "Website",
  "Referral",
  "LinkedIn",
  "Cold Call",
  "Email",
  "Google",
  "Social Media",
  "Other",
] as const

/** Default number of rows per paginated page. */
export const ITEMS_PER_PAGE = 10

/** Organisation name used in branding (titles, emails, etc.). */
export const COMPANY_NAME = "Black Cipher"
