<div class="container-fluid">

<h2 class="fw-bold mb-4">
Strategic Planning & Forecast Intelligence Center
</h2>

<div class="row g-3 mb-4">

<div class="col-md-3">
<div class="card shadow-sm border-0">
<div class="card-body text-center">
<div class="text-muted">Current Submissions</div>
<h2><?= (int)$stats['submissions'] ?></h2>
</div>
</div>
</div>

<div class="col-md-3">
<div class="card shadow-sm border-0">
<div class="card-body text-center">
<div class="text-muted">Forecast Submissions</div>
<h2><?= (int)$stats['forecast_submissions'] ?></h2>
</div>
</div>
</div>

<div class="col-md-3">
<div class="card shadow-sm border-0">
<div class="card-body text-center">
<div class="text-muted">Current Reviewers</div>
<h2><?= (int)$stats['reviewers'] ?></h2>
</div>
</div>
</div>

<div class="col-md-3">
<div class="card shadow-sm border-0">
<div class="card-body text-center">
<div class="text-muted">Forecast Reviewers</div>
<h2><?= (int)$stats['forecast_reviewers'] ?></h2>
</div>
</div>
</div>

</div>

<div class="card shadow-sm border-0 mb-4">

<div class="card-header fw-bold">
Strategic Recommendations
</div>

<div class="card-body">

<?php foreach($recommendations as $r): ?>

<div class="alert alert-<?= htmlspecialchars($r['severity']) ?>">

<strong>
<?= htmlspecialchars($r['title']) ?>
</strong>

<br>

<?= htmlspecialchars($r['message']) ?>

</div>

<?php endforeach; ?>

<?php if(empty($recommendations)): ?>

<div class="alert alert-success">
Current capacity aligns with forecast projections.
</div>

<?php endif; ?>

</div>

</div>

<div class="card shadow-sm border-0">

<div class="card-header fw-bold">
Conference Planning Overview
</div>

<div class="table-responsive">

<table class="table table-striped">

<thead>
<tr>
<th>ID</th>
<th>Conference</th>
<th>Submissions</th>
<th>Tracks</th>
</tr>
</thead>

<tbody>

<?php foreach($rows as $r): ?>

<tr>
<td><?= (int)$r['id'] ?></td>
<td><?= htmlspecialchars($r['conference_title']) ?></td>
<td><?= (int)$r['submissions'] ?></td>
<td><?= (int)$r['tracks'] ?></td>
</tr>

<?php endforeach; ?>

</tbody>

</table>

</div>

</div>

</div>
