export type EventRow = {
  id: string;
  title: string;
  description: string;
  start: string;
  end: string;
  allDay: boolean;
  customerId: string;
  customerName: string;
  color: string;
  source?: "event" | "task";
  taskStatus?: string;
};

export type Customer = { id: string; name: string };

export const COLOR_PRESETS = [
  { value: "blue", label: "Mavi", classes: "bg-blue-500" },
  { value: "green", label: "Yeşil", classes: "bg-emerald-500" },
  { value: "amber", label: "Amber", classes: "bg-amber-500" },
  { value: "red", label: "Kırmızı", classes: "bg-red-500" },
  { value: "violet", label: "Mor", classes: "bg-violet-500" },
  { value: "slate", label: "Gri", classes: "bg-slate-500" },
] as const;

export const COLOR_BG: Record<string, string> = {
  blue: "bg-blue-500/15 text-blue-700 dark:text-blue-300 border-blue-500/30",
  green: "bg-emerald-500/15 text-emerald-700 dark:text-emerald-300 border-emerald-500/30",
  amber: "bg-amber-500/15 text-amber-800 dark:text-amber-300 border-amber-500/30",
  red: "bg-red-500/15 text-red-700 dark:text-red-300 border-red-500/30",
  violet: "bg-violet-500/15 text-violet-700 dark:text-violet-300 border-violet-500/30",
  slate: "bg-slate-500/15 text-slate-700 dark:text-slate-300 border-slate-500/30",
  task: "bg-orange-500/15 text-orange-700 dark:text-orange-300 border-orange-500/30",
  "": "bg-primary/10 text-primary border-primary/20",
};
