<div class="modal-header flex items-center justify-between border-b border-border px-4 py-3">
	<h4 class="text-sm font-semibold text-foreground"><?= lang('edit') . ' ' . lang('stock_category') ?></h4>
	<button type="button" class="text-muted-foreground hover:text-foreground" data-dismiss="modal" aria-label="<?= lang('close') ?>">
		<i data-lucide="x" class="h-4 w-4"></i>
	</button>
</div>
<div class="modal-body p-4">
	<form id="form_validation" data-parsley-validate="" novalidate="" action="<?php echo base_url() ?>admin/stock/edit_stock_category/<?php if (!empty($stock_category_info->stock_category_id)) echo $stock_category_info->stock_category_id; ?>" method="post" class="space-y-4">
		<?= form_input_group('stock_category', lang('edit') . ' ' . lang('stock_category'), (!empty($stock_category_info->stock_category) ? $stock_category_info->stock_category : ''), 'text', true); ?>
		<div class="flex items-center justify-end gap-2 pt-2">
			<button type="button" class="inline-flex items-center gap-2 rounded-lg border border-border bg-card px-3 py-2 text-xs font-semibold text-foreground hover:bg-muted" data-dismiss="modal">
				<i data-lucide="x" class="h-4 w-4"></i>
				<?= lang('close') ?>
			</button>
			<button type="submit" class="inline-flex items-center gap-2 rounded-lg bg-indigo-600 px-3 py-2 text-xs font-semibold text-white shadow-sm hover:bg-indigo-500">
				<i data-lucide="save" class="h-4 w-4"></i>
				<?= lang('update') ?>
			</button>
		</div>
	</form>
</div>
