import { AlertTriangle } from 'lucide-react';

import type { SafetyQuiz } from '@/shared/types/app';

interface SafetyQuizFocusPanelProps {
  readonly weeklyFocus: SafetyQuiz['weeklyFocus'];
}

export function SafetyQuizFocusPanel({ weeklyFocus }: SafetyQuizFocusPanelProps) {
  return (
    <div className="bg-gradient-to-r from-blue-500/10 to-indigo-500/10 rounded-2xl border border-blue-500/20 p-5">
      <div className="flex items-start gap-3">
        <div className="w-10 h-10 rounded-xl bg-gradient-to-br from-blue-500 to-indigo-600 flex items-center justify-center flex-shrink-0 shadow-lg shadow-blue-500/30">
          <AlertTriangle size={20} className="text-white" />
        </div>
        <div>
          <h3 className="font-bold text-blue-400">{weeklyFocus.title}</h3>
          <p className="text-sm text-slate-400 mt-1">{weeklyFocus.description}</p>
        </div>
      </div>
    </div>
  );
}
