<div class="space-y-4">
    <div><label class="block text-sm font-medium">Name</label><input type="text" name="name" value="{{ old('name', $drug->name ?? '') }}" required class="mt-1 w-full rounded-lg border-slate-300 text-sm"></div>
    <div><label class="block text-sm font-medium">Generic name</label><input type="text" name="generic_name" value="{{ old('generic_name', $drug->generic_name ?? '') }}" class="mt-1 w-full rounded-lg border-slate-300 text-sm"></div>
    <div class="grid grid-cols-2 gap-4">
        <div><label class="block text-sm font-medium">SKU</label><input type="text" name="sku" value="{{ old('sku', $drug->sku ?? '') }}" class="mt-1 w-full rounded-lg border-slate-300 text-sm"></div>
        <div><label class="block text-sm font-medium">Unit</label><input type="text" name="unit" value="{{ old('unit', $drug->unit ?? 'unit') }}" class="mt-1 w-full rounded-lg border-slate-300 text-sm"></div>
    </div>
    <div class="grid grid-cols-2 gap-4">
        <div><label class="block text-sm font-medium">Unit price (minor)</label><input type="number" name="unit_price_minor" value="{{ old('unit_price_minor', $drug->unit_price_minor ?? 0) }}" class="mt-1 w-full rounded-lg border-slate-300 text-sm"></div>
        <div><label class="block text-sm font-medium">Reorder level</label><input type="number" name="reorder_level" value="{{ old('reorder_level', $drug->reorder_level ?? 10) }}" class="mt-1 w-full rounded-lg border-slate-300 text-sm"></div>
    </div>
</div>
