<div class="row justify-content-center"><div class="col-lg-8"><div class="card"><div class="card-header"><h5 class="mb-0">New Coach</h5></div><div class="card-body">
<form method="POST" action="/sports/coaches" data-ajax="true" enctype="multipart/form-data"><?=csrf_field()?>
<div class="row g-3">
<div class="col-md-4"><label class="form-label">Code <span class="text-danger">*</span></label><input type="text" name="coach_code" class="form-control" required><div class="invalid-feedback" data-field="coach_code"></div></div>
<div class="col-md-4"><label class="form-label">Status</label><select name="status" class="form-select"><option value="active">Active</option><option value="inactive">Inactive</option><option value="on_leave">On Leave</option></select></div>
<div class="col-md-4"><label class="form-label">Hire Date</label><input type="date" name="hire_date" class="form-control datepicker"></div>
<div class="col-md-6"><label class="form-label">First Name (EN) <span class="text-danger">*</span></label><input type="text" name="first_name_en" class="form-control" required></div>
<div class="col-md-6"><label class="form-label">Last Name (EN) <span class="text-danger">*</span></label><input type="text" name="last_name_en" class="form-control" required></div>
<div class="col-md-6"><label class="form-label">First Name (AR)</label><input type="text" name="first_name_ar" class="form-control" dir="rtl"></div>
<div class="col-md-6"><label class="form-label">Last Name (AR)</label><input type="text" name="last_name_ar" class="form-control" dir="rtl"></div>
<div class="col-md-4"><label class="form-label">Phone</label><input type="text" name="phone" class="form-control"></div>
<div class="col-md-4"><label class="form-label">Email</label><input type="email" name="email" class="form-control"></div>
<div class="col-md-2"><label class="form-label">Experience (yr)</label><input type="number" name="experience_years" class="form-control"></div>
<div class="col-md-2"><label class="form-label">Hourly Rate</label><input type="number" name="hourly_rate" class="form-control" step="0.01"></div>
<div class="col-md-4"><label class="form-label">Photo</label><input type="file" name="photo" class="form-control" accept="image/*"></div>
</div><div class="mt-4 d-flex gap-2"><button type="submit" class="btn btn-primary"><i class="fas fa-save me-1"></i>Save</button><a href="/sports/coaches" class="btn btn-secondary">Cancel</a></div>
</form></div></div></div></div>