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

<div class="d-flex justify-content-between align-items-center mb-4">
    <h1 class="page-title"><?= e(trans('bulk_upload_committees')) ?></h1>
    <a href="<?= e(base_path('admin/conference-committees')) ?>" class="btn ec-btn btn-outline-secondary rounded-3"><?= e(trans('back')) ?></a>
</div>

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

            <div class="mb-3">
                <label class="form-label ec-required">CSV</label>
                <input type="file" name="csv_file" class="form-control rounded-3" accept=".csv" required>
            </div>

            <div class="alert alert-info rounded-4">
                conference_id,committee_type,full_name_en,full_name_ar,title_en,title_ar,affiliation_en,affiliation_ar,email,image_path,bio_en,bio_ar,sort_order,is_active
            </div>

            <button type="submit" class="btn ec-btn btn-success rounded-3"><?= e(trans('bulk_upload_committees')) ?></button>
        </form>
    </div>
</div>

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