
<div class="border-b border-gray-200 mb-6">
    <nav class="flex gap-0 -mb-px admin-tabs">
        <?php foreach ($tabs as $key => $label): ?>
            <a href="/admin/settings?tab=<?= $key ?>"
               class="px-5 py-3 text-sm font-medium border-b-2 transition-colors <?= $activeTab === $key
                   ? 'border-primary-600 text-primary-600'
                   : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300' ?>">
                <?= $label ?>
            </a>
        <?php endforeach; ?>
    </nav>
</div>


<?php require APP_ROOT . '/templates/admin/_settings_' . $activeTab . '.php'; ?>
