<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>SSWSEEP Component 3 Report</title>
    <style>
        body { font-family: DejaVu Sans, sans-serif; padding: 40px; background: #f8f9fa; }
        .header { text-align: center; margin-bottom: 30px; }
        .header h1 { color: #006400; }
        table { width: 100%; border-collapse: collapse; margin: 20px 0; }
        th { background: #006400; color: white; padding: 10px; }
        td { padding: 8px; border: 1px solid #ddd; }
        .iri { background: #e8f5e8; padding: 20px; border-radius: 10px; margin: 20px 0; }
    </style>
</head>
<body>
    <div class="header">
        <h1>SSWSEEP – Component 3: GBV Helpline Report</h1>
        <h3>Generated on: {{ $generated_at }}</h3>
    </div>

    <div class="iri">
        <h2>IRI Indicators</h2>
        <p><strong>IRI 3.1:</strong> {{ $iri_3_1 }} survivors satisfied</p>
        <p><strong>IRI 3.2:</strong> {{ $iri_3_2 }} people reached with awareness</p>
        <p><strong>IRI 3.3:</strong> {{ $iri_3_3 }} total beneficiaries</p>
        <p><strong>IRI 3.4:</strong> {{ $iri_3_4 }} female beneficiaries</p>
        <p><strong>IRI 3.5:</strong> {{ $iri_3_5 }} youth beneficiaries</p>
    </div>

    <h2>Summary</h2>
    <p>Total Hotline Incidents: {{ $hotline->count() }}</p>
    <p>Total Call Logs: {{ $call_logs->count() }}</p>
    <p>Total Prevention Sessions: {{ $prevention->count() }}</p>
</body>
</html>