<?php
/** @var \BotGuard\Core\View $this */
$this->layout('install.layout');
?>
<div class="text-center py-3">
    <i class="bi bi-patch-check-fill display-1 text-success"></i>
    <h2 class="h4 mt-3">Installation complete</h2>
    <p class="text-secondary mx-auto" style="max-width:460px">
        BotGuard is installed and ready. For security, consider removing write access to
        <code>.env</code> and deleting the installer routes if you don't need to reinstall.
    </p>
    <div class="d-flex justify-content-center gap-2 mt-4">
        <a href="/login" class="btn btn-primary"><i class="bi bi-box-arrow-in-right"></i> Sign in to admin</a>
        <a href="/verify" class="btn btn-outline-secondary"><i class="bi bi-shield-check"></i> Try verification</a>
    </div>
</div>
<div class="alert alert-warning mt-4 mb-0 small">
    <i class="bi bi-shield-lock"></i> The app is now locked to installed mode
    (<code>storage/installed.lock</code>). Delete that file only if you intend to reinstall.
</div>
