import {
  YoutubeFilled,
  InstagramFilled,
  GlobeFilled,
  TiktokFilled,
  ShareFilled,
} from '@/shared/icons/FilledIcons';
import type { WorkflowStage } from '@/features/plan/types/plan';

export const STAGES: { key: WorkflowStage; label: string; short: string }[] = [
  { key: 'planning', label: '기획 확정', short: '기획' },
  { key: 'ai-draft', label: 'AI 초안', short: 'AI 초안' },
  { key: 'review', label: '검토/수정', short: '검토' },
  { key: 'approved', label: '승인', short: '승인' },
  { key: 'scheduled', label: '배포 예약', short: '배포' },
];

export const STAGE_COLORS: Record<WorkflowStage, { bg: string; text: string; border: string; dot: string }> = {
  planning:  { bg: 'bg-slate-100',    text: 'text-slate-600',   border: 'border-slate-200',   dot: 'bg-slate-400' },
  'ai-draft':{ bg: 'bg-brand-tint-violet',   text: 'text-brand-purple-faint',  border: 'border-[#C5CBF5]',  dot: 'bg-[#7A84D4]' },
  review:    { bg: 'bg-brand-earth-bg',   text: 'text-brand-earth',  border: 'border-brand-earth-soft',  dot: 'bg-[#D4A872]' },
  approved:  { bg: 'bg-brand-tint-purple',   text: 'text-brand-purple-muted',  border: 'border-brand-tint-lavender',  dot: 'bg-brand-purple-soft' },
  scheduled: { bg: 'bg-brand-tint-purple',   text: 'text-brand-purple-muted',  border: 'border-brand-tint-lavender',  dot: 'bg-brand-purple-vivid' },
};

export const channelIconMap: Record<string, typeof YoutubeFilled> = {
  youtube: YoutubeFilled,
  instagram: InstagramFilled,
  globe: GlobeFilled,
  video: TiktokFilled,
  share: ShareFilled,
};
