<?php
declare(strict_types=1);
require __DIR__ . '/_common.php';
ec_require_coordinator();
$PAGE_TITLE = 'Reports';
$ACTIVE = 'reports';
?>
<!doctype html><html lang="en"><head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<title>Reports</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css" rel="stylesheet">
</head><body>
<div class="ec-shell">
  <?php include __DIR__ . '/partials/sidebar.php'; ?>
  <div class="ec-content">
    <?php include __DIR__ . '/partials/topbar.php'; ?>
    <div class="wrap container-fluid">
      <div class="card section-card">
        <div class="card-header bg-white"><strong>Download Reports</strong></div>
        <div class="card-body">
          <p class="text-muted">Choose a date range and report type to export CSV/PDF. (Hook your existing exporters here.)</p>
          <form class="row g-3">
            <div class="col-md-3"><label class="form-label">From</label><input type="date" class="form-control"></div>
            <div class="col-md-3"><label class="form-label">To</label><input type="date" class="form-control"></div>
            <div class="col-md-3">
              <label class="form-label">Type</label>
              <select class="form-select">
                <option>Assessments</option>
                <option>Submissions</option>
                <option>Release Log</option>
                <option>Verifications</option>
              </select>
            </div>
            <div class="col-md-3 d-grid align-items-end">
              <button class="btn btn-outline-primary">Generate</button>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
</div>
</body></html>
