<?php
$page_title = 'Tambah Karyawan';
require_once('includes/load.php');
page_require_level(4);
?>

<?php include_once('layouts/header.php'); ?>

<div class="row justify-content-center">
    <div class="col-md-8">
        <?php echo display_msg($msg); ?>
    </div>
</div>

<div class="row justify-content-center">
    <div class="col-md-8">
        <div class="card shadow-lg border-0 rounded-3">
            <div class="card-header bg-primary text-white text-center py-4 rounded-top">
                <h4 class="card-title mb-0">
                    <i class="bi bi-person-plus-fill me-2"></i> Pilih Jenis Karyawan
                </h4>
            </div>
            <div class="card-body p-4">
                <div class="list-group list-group-flush">
                    <a href="add_employee.php" class="list-group-item list-group-item-action d-flex align-items-center py-3">
                        <i class="bi bi-person-badge fs-3 text-primary me-3"></i>
                        <div>
                            <h5 class="mb-1 fw-bold text-primary">Karyawan Tetap</h5>
                            <p class="mb-0 text-muted">Tambahkan data karyawan yang berstatus tetap.</p>
                        </div>
                        <i class="bi bi-chevron-right ms-auto"></i>
                    </a>
                    <a href="add_employee_harian.php" class="list-group-item list-group-item-action d-flex align-items-center py-3">
                        <i class="bi bi-calendar-check fs-3 text-success me-3"></i>
                        <div>
                            <h5 class="mb-1 fw-bold text-success">Karyawan Harian</h5>
                            <p class="mb-0 text-muted">Tambahkan data karyawan yang berstatus harian.</p>
                        </div>
                        <i class="bi bi-chevron-right ms-auto"></i>
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>

<?php include_once('layouts/footer.php'); ?>