import type { DetailTab } from './_types'

export const DETAIL_TABS: { key: DetailTab; label: string }[] = [
  { key: 'vvt', label: 'VVT-Vorlagen' },
  { key: 'tom', label: 'TOM-Empfehlungen' },
  { key: 'risks', label: 'Risiko-Szenarien' },
]

export const PRIORITY_COLORS: Record<string, { bg: string; text: string; border: string }> = {
  critical: { bg: 'bg-red-50', text: 'text-red-700', border: 'border-red-200' },
  high: { bg: 'bg-orange-50', text: 'text-orange-700', border: 'border-orange-200' },
  medium: { bg: 'bg-yellow-50', text: 'text-yellow-700', border: 'border-yellow-200' },
  low: { bg: 'bg-green-50', text: 'text-green-700', border: 'border-green-200' },
}

export const PRIORITY_LABELS: Record<string, string> = {
  critical: 'Kritisch',
  high: 'Hoch',
  medium: 'Mittel',
  low: 'Niedrig',
}

export const LIKELIHOOD_COLORS: Record<string, string> = {
  low: 'bg-green-500',
  medium: 'bg-yellow-500',
  high: 'bg-orange-500',
}

export const IMPACT_COLORS: Record<string, string> = {
  low: 'bg-green-500',
  medium: 'bg-yellow-500',
  high: 'bg-orange-500',
  critical: 'bg-red-600',
}

export const TOM_CATEGORY_ICONS: Record<string, string> = {
  'Zutrittskontrolle': '\uD83D\uDEAA',
  'Zugangskontrolle': '\uD83D\uDD10',
  'Zugriffskontrolle': '\uD83D\uDC65',
  'Trennungskontrolle': '\uD83D\uDDC2\uFE0F',
  'Pseudonymisierung': '\uD83C\uDFAD',
  'Verschluesselung': '\uD83D\uDD12',
  'Integritaet': '\u2705',
  'Verfuegbarkeit': '\u2B06\uFE0F',
  'Belastbarkeit': '\uD83D\uDEE1\uFE0F',
  'Wiederherstellung': '\uD83D\uDD04',
  'Datenschutz-Management': '\uD83D\uDCCB',
  'Auftragsverarbeitung': '\uD83D\uDCDD',
  'Incident Response': '\uD83D\uDEA8',
  'Schulung': '\uD83C\uDF93',
  'Netzwerksicherheit': '\uD83C\uDF10',
  'Datensicherung': '\uD83D\uDCBE',
  'Monitoring': '\uD83D\uDCCA',
  'Physische Sicherheit': '\uD83C\uDFE2',
}
