<div class="flex flex-col md:flex-row md:items-center md:space-x-4 space-y-2 md:space-y-0">
    <!-- Campo de búsqueda -->
    <div class="w-full md:w-1/2">
        <input id="input-search"
            type="text"
            name="txt"
            required
            placeholder="<?= __('Buscar...') ?>"
            class="w-full px-4 py-2 form-input" />
    </div>

    <!-- Select de empresas -->
    <div class="w-full md:w-1/4">
        <?= $this->Form->control('filter-companies', [
            'options' => $companies,
            'id' => 'filter-companies',
            'data-filter' => 'company_id',
            'class' => 'w-full px-4 py-2 form-input form-select w-full h-11 filter-select',
            'label' => false,
            'empty' => __('Seleccione una empresa')
        ]) ?>
    </div>
</div>
