/**
 * Detailed Reports Header Component
 */

import { Button } from '@/components/ui/button';
import { ArrowLeft, FileText } from 'lucide-react';

interface DetailedReportsHeaderProps {
  onBack: () => void;
}

export function DetailedReportsHeader({ onBack }: DetailedReportsHeaderProps) {
  return (
    <div className="flex items-center justify-between" data-testid="detailed-reports-header">
      <div className="flex items-center gap-4">
        <Button variant="outline" onClick={onBack} className="inline-flex items-center gap-2" data-testid="back-button">
          <ArrowLeft className="w-4 h-4 mr-2" />
          Back to Dashboard
        </Button>
        <div className="flex items-center gap-3">
          <div className="p-3 bg-purple-100 rounded-lg">
            <FileText className="h-6 w-6 text-purple-600" />
          </div>
          <div>
            <h1 className="text-2xl font-bold text-gray-900">Detailed Reports</h1>
            <p className="text-sm text-gray-600">Comprehensive workflow and activity reports</p>
          </div>
        </div>
      </div>
    </div>
  );
}

