<div>
    <style>
        .container-list {

            position: absolute;
            width: 95%;
            z-index: 2;
        }
    </style>
    <div class="form-group m-0 p-0">
        <label for="select-cirujano" class="m-0 p-0 text-dark"><small><strong>Cirujano</strong></small></label>
        
        <input type="text"
            class="form-control bg-light form-control-sm rounded-0 border-1 shadow-sm text-dark shadow-sm"
            placeholder="Selecciones un cirujano" name="cirujano_seleccionado" id="cirujano_seleccionado" 
            autocomplete="off" wire:model.defer="cirujano_seleccionado" wire:click="montar_lista()" readonly>
    </div>
    <div class="container-list <?php echo e($display); ?>" id="container-list">
        
        <div class="list-group-item list-group-item list-group-item-action active py-1" id="list-home-list"
            data-bs-toggle="list" href="#list-home" role="tab" aria-controls="list-home">

            <div class="input-group input-group-sm  flex-grow-1">
                <input type="text" class="form-control border-end-0 " placeholder="Buscar cirujano"
                    id='buscador_cirujano' name='buscador_cirujano' wire:model.debounce.1000ms="buscador_cirujano"
                    autocomplete="off">
                <span class="input-group-text input-group-text-sm bg-white text-secondary border-start-0"><i
                        class="fa-solid fa-magnifying-glass"></i></span>
            </div>
            
        </div>
        <div class="list-group" id="list-tab" role="tablist">
            <?php if($count_cirujanos_busqueda != 0): ?>

                <?php $__currentLoopData = $cirujanos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cirujano): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php if($cirujano->activo != 0): ?>
                        <div class="list-group-item list-group-item-action py-1 " aria-current="true"
                            wire:click="selecionar_cirujano('<?php echo e($cirujano->id); ?>')" >
                            <small><?php echo e($cirujano->id . ' ' . $cirujano->documento . ' ' . $cirujano->nombre); ?></small>
                        </div>
                    <?php endif; ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php else: ?>
                
                <div class="list-group-item list-group-item-action " aria-current="true">
                    <small class="text-secondary">La busqueda de <strong><?php echo e($buscador_cirujano); ?></strong> no arrojo
                        ningun
                        resultado.</small>
                </div>
            <?php endif; ?>
        </div>
        <div class="list-group-item list-group-item-action active py-1" id="list-home-list" data-bs-toggle="list"
            href="#list-home" role="tab" aria-controls="list-home"> <small class="my-0"><?php echo e($cirujanos->links()); ?>

            </small>
        </div>
    </div>
</div>
<?php /**PATH C:\laragon\www\SistemaMedicoV1\resources\views/livewire/cirujano/select-cirujano.blade.php ENDPATH**/ ?>