<?php require __DIR__ . '/../../layouts/header.php'; ?>

<div class="d-flex justify-content-between align-items-center mb-4">
    <h1 class="fw-bold mb-0"><i class="fa-solid fa-file-csv me-2"></i><?= e(trans('bulk_upload_reviewers')) ?></h1>
    <div class="d-flex gap-2">
        <a href="<?= e(base_path('admin/users')) ?>" class="btn ec-btn btn-outline-secondary rounded-3"><i class="fa-solid fa-arrow-left me-1"></i><?= e(trans('back')) ?></a>
    </div>
</div>

<div class="ec-card  ">
    <div class="ec-card-body p-4">
        <form method="post" action="<?= e(base_path('admin/users/reviewers-bulk')) ?>" enctype="multipart/form-data">
            <input type="hidden" name="_csrf" value="<?= e(csrf_token()) ?>">

            <div class="mb-3">
                <label class="form-label ec-required"><?= e(trans('csv_file')) ?></label>
                <input type="file" name="csv_file" class="form-control rounded-3" accept=".csv" required>
            </div>

            <div class="alert alert-info rounded-4">
                <?= e(trans('sample_csv_columns')) ?>
            </div>

            <div class="mt-3">
                <button type="submit" class="btn ec-btn btn-success rounded-3">
                    <i class="fa-solid fa-upload me-1"></i><?= e(trans('upload_csv')) ?>
                </button>
            </div>
        </form>
    </div>
</div>

<?php require __DIR__ . '/../../layouts/footer.php'; ?>
