export const STAGES = [
  "NEW",
  "CONTACTED",
  "CALL_SCHEDULED",
  "CALL_DONE",
  "DEMO_ACTIVE",
  "DEMO_ENDED",
  "ON_HOLD",
  "WON",
  "LOST",
] as const;

export const STAGE_LABELS: Record<string, string> = {
  NEW: "New",
  CONTACTED: "Contacted",
  CALL_SCHEDULED: "Call Scheduled",
  CALL_DONE: "Call Done",
  DEMO_ACTIVE: "Demo Active",
  DEMO_ENDED: "Demo Ended",
  ON_HOLD: "On Hold",
  WON: "Won",
  LOST: "Lost",
};

export const STAGE_COLORS: Record<string, string> = {
  NEW: "bg-blue-100 text-blue-800",
  CONTACTED: "bg-cyan-100 text-cyan-800",
  CALL_SCHEDULED: "bg-indigo-100 text-indigo-800",
  CALL_DONE: "bg-purple-100 text-purple-800",
  DEMO_ACTIVE: "bg-emerald-100 text-emerald-800",
  DEMO_ENDED: "bg-amber-100 text-amber-800",
  ON_HOLD: "bg-orange-100 text-orange-800",
  WON: "bg-green-100 text-green-800",
  LOST: "bg-red-100 text-red-800",
};

export const LEAD_TYPES = ["BROKER", "BUILDER", "OTHER"] as const;

export const LEAD_TYPE_LABELS: Record<string, string> = {
  BROKER: "Broker",
  BUILDER: "Builder",
  OTHER: "Other",
};

export const LEAD_TYPE_COLORS: Record<string, string> = {
  BROKER: "bg-violet-100 text-violet-800",
  BUILDER: "bg-sky-100 text-sky-800",
  OTHER: "bg-gray-100 text-gray-800",
};

export const SOURCE_LABELS: Record<string, string> = {
  FORM: "Form",
  WHATSAPP: "WhatsApp",
  MANUAL: "Manual",
};

export const SEQUENCE_STATUS_COLORS: Record<string, string> = {
  PENDING: "bg-gray-100 text-gray-600",
  SENT: "bg-green-100 text-green-700",
  SKIPPED: "bg-red-100 text-red-700",
  PAUSED: "bg-amber-100 text-amber-700",
};

export const LOST_REASONS = [
  { value: "PRICE", label: "Price" },
  { value: "NOT_INTERESTED", label: "Not Interested" },
  { value: "NO_RESPONSE", label: "No Response" },
  { value: "COMPETITOR", label: "Competitor" },
  { value: "OTHER", label: "Other" },
];
