import type { VocationalCategory, VocationalCategoryIconKey } from '@/shared/types/vocational';

export const VOCATIONAL_SEARCH_DELAY_MS = 1200;
export const VOCATIONAL_PHOENIX_ZIP_MIN = 85001;
export const VOCATIONAL_PHOENIX_ZIP_MAX = 85099;
export const VOCATIONAL_EAST_VALLEY_ZIP_MIN = 85200;
export const VOCATIONAL_EAST_VALLEY_ZIP_MAX = 85299;
export const VOCATIONAL_EAST_VALLEY_DISTANCE_OFFSET = 5;
export const VOCATIONAL_OTHER_DISTANCE_OFFSET = 15;
export const VOCATIONAL_CATEGORY_PREVIEW_LIMIT = 5;

export const VOCATIONAL_CATEGORY_ICON_KEYS: Readonly<Record<VocationalCategory, VocationalCategoryIconKey>> = {
  'Agriculture & Gardening': 'leaf',
  'Food Service': 'utensils',
  'Animal Care': 'heart',
  Retail: 'shoppingBag',
  Automotive: 'wrench',
  'Office & Administrative': 'monitor',
  'Arts & Creative': 'palette',
  'Warehouse & Logistics': 'truck',
  Technology: 'monitor',
};

export const VOCATIONAL_CATEGORY_STYLE_CLASSES: Readonly<Record<VocationalCategory, string>> = {
  'Agriculture & Gardening': 'from-emerald-500/20 to-lime-500/20 border-emerald-500/20 text-emerald-400',
  'Food Service': 'from-orange-500/20 to-red-500/20 border-orange-500/20 text-orange-400',
  'Animal Care': 'from-pink-500/20 to-rose-500/20 border-pink-500/20 text-pink-400',
  Retail: 'from-blue-500/20 to-indigo-500/20 border-blue-500/20 text-blue-400',
  Automotive: 'from-slate-500/20 to-zinc-500/20 border-slate-500/20 text-slate-300',
  'Office & Administrative': 'from-cyan-500/20 to-sky-500/20 border-cyan-500/20 text-cyan-400',
  'Arts & Creative': 'from-emerald-500/20 to-teal-500/20 border-emerald-500/20 text-emerald-400',
  'Warehouse & Logistics': 'from-amber-500/20 to-yellow-500/20 border-amber-500/20 text-amber-400',
  Technology: 'from-violet-500/20 to-purple-500/20 border-violet-500/20 text-violet-400',
};
