<?php
require_once __DIR__ . '/../config/bootstrap.php';
$user = Auth::requireLogin();

$campaignId = (int)($_GET['id'] ?? 0);
if ($campaignId <= 0) redirect('/dashboard/campaigns');

$pageTitle = 'Approve Testers';
$activeNav = 'campaigns';
$extraCss  = ['campaigns'];
$showSearch = false;
require __DIR__ . '/../includes/partials/dashboard-head.php';
?>

<div class="content-wrapper" style="padding-top:8px">
    <div class="campaign-list-card text-center" style="padding:60px 20px">
        <div style="font-size:64px;margin-bottom:16px">⏳</div>
        <h4 style="color:var(--primary);font-weight:700">Tester Approval</h4>
        <p class="text-muted" style="max-width:480px;margin:12px auto 24px">
            This page lets you approve testers who applied to your campaign.
            The approve / reject API will activate in <strong>Phase 6</strong>
            (Campaign Management).
        </p>
        <div class="d-flex gap-2 justify-content-center">
            <a href="/dashboard/campaigns/<?= $campaignId ?>" class="btn-primary-custom">
                <i class="bi bi-arrow-left"></i> Back to Campaign
            </a>
            <a href="/dashboard/campaigns" class="btn-dark-custom">
                All Campaigns
            </a>
        </div>
    </div>
</div>

<?php require __DIR__ . '/../includes/partials/dashboard-foot.php'; ?>
