@php $modalId = $modalId ?? 'modal-new-product'; @endphp
@php $inputClass = 'w-full px-3 py-2.5 text-sm border border-gray-200 rounded-lg bg-white focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition-colors'; @endphp
<form class="space-y-6" onsubmit="return false;">
    <div>
        <label class="block text-sm font-medium text-gray-700 mb-2">Nom du produit <span class="text-red-500">*</span></label>
        <input type="text" class="{{ $inputClass }}" placeholder="Nom du produit">
    </div>
    <div class="grid grid-cols-1 sm:grid-cols-2 gap-5">
        <div>
            <label class="block text-sm font-medium text-gray-700 mb-2">Catégorie</label>
            <select class="{{ $inputClass }}">
                <option>Choisir une catégorie</option>
                <option>Alimentaire</option>
                <option>Entretien</option>
                <option>Fournitures</option>
            </select>
        </div>
        <div>
            <label class="block text-sm font-medium text-gray-700 mb-2">Unité</label>
            <select class="{{ $inputClass }}">
                <option>Pièce</option>
                <option>Boîte</option>
                <option>Lot</option>
                <option>Kg</option>
            </select>
        </div>
    </div>
    <div>
        <label class="block text-sm font-medium text-gray-700 mb-2">Fournisseur</label>
        <select class="{{ $inputClass }}">
            <option>Choisir un fournisseur</option>
        </select>
    </div>
    @include('components.modals.modal-actions', ['modalId' => $modalId])
</form>
