<?= $this->extend('install/layout') ?>
<?= $this->section('content') ?>
<h2 style="margin-top:0;">Step 3: Admin Configuration</h2>
<p style="margin-bottom: 2rem; color: #6b7280;">Create the master administrator account for your platform. This step will also run all migrations to finalize the DB.</p>

<form action="<?= base_url('install/process3') ?>" method="POST">
    <div class="form-group">
        <label>Admin Username</label>
        <input type="text" name="admin_user" value="admin" required>
    </div>
    <div class="form-group">
        <label>Admin Email</label>
        <input type="email" name="admin_email" value="admin@ready.bd" required>
    </div>
    <div class="form-group">
        <label>Admin Password</label>
        <input type="password" name="admin_pass" value="password" required>
    </div>
    <button type="submit" class="btn">Finalize Installation</button>
</form>
<?= $this->endSection() ?>
