<div class="container mt-4">
    <h3 class="mb-4 text-success">➕ Tambah Pendaftar Perorangan</h3>
    <form method="post" action="<?= base_url('admin/tambah_perorangan') ?>">
        <div class="mb-3">
            <label class="form-label">NIK</label>
            <input type="text" name="nik" class="form-control" required>
        </div>
        <div class="mb-3">
            <label class="form-label">NRK</label>
            <input type="text" name="nrk" class="form-control" required>
        </div>
        <div class="mb-3">
            <label class="form-label">Nama Lengkap</label>
            <input type="text" name="nama_lengkap" class="form-control" required>
        </div>
        <div class="mb-3">
            <label class="form-label">Jenis Kelamin</label>
            <select name="jenis_kelamin" class="form-control" required>
                <option value="">-- Pilih --</option>
                <option value="Pria">Pria</option>
                <option value="Wanita">Wanita</option>
            </select>
        </div>
        <div class="mb-3">
            <label class="form-label">Jenis Seni</label>
            <select name="id_seni" class="form-control">
                <option value="">-- Pilih --</option>
                <?php foreach($jenis_seni as $js): ?>
                    <option value="<?= $js->id_seni ?>"><?= $js->nama_seni ?></option>
                <?php endforeach; ?>
            </select>
        </div>
        <button type="submit" class="btn btn-success">💾 Simpan</button>
        <a href="<?= base_url('admin/pendaftar_perorangan') ?>" class="btn btn-secondary">⬅ Kembali</a>
    </form>
</div>