import { User, Briefcase, Server, Wrench, Package, type LucideIcon } from 'lucide-react'
import type { ResourceType } from '@/domain/types'

export const RESOURCE_TYPE_LABELS: Record<ResourceType, string> = {
  person: 'Persona',
  role: 'Rol',
  system: 'Sistema',
  equipment: 'Equipo',
  supply: 'Insumo',
}

export interface ResourceTypeStyle {
  icon: LucideIcon
  bg: string
  fg: string
}

export const RESOURCE_TYPE_STYLES: Record<ResourceType, ResourceTypeStyle> = {
  person: { icon: User, bg: '#FEF3E7', fg: '#F59845' },
  role: { icon: Briefcase, bg: '#FEF3E7', fg: '#D97706' },
  system: { icon: Server, bg: '#EEF2FF', fg: '#6366F1' },
  equipment: { icon: Wrench, bg: '#F0FDF4', fg: '#16A34A' },
  supply: { icon: Package, bg: '#F1F5F9', fg: '#64748B' },
}
