

<style>
    .grupo-fazendinha {
        padding: 5px;
        cursor: pointer;
        width: 150px;
        height: 150px;
        background-size: cover;
        display: flex;
        margin-top: 5px;
    }

    @media (max-width: 768px) {
        .grupo-fazendinha {
            height: 100px !important;
        }

        .le{
            height: 100% !important;
        }

        .ld{
            height: 100% !important;
        }
        
    }

    .reservado {
        background-color: #ffc10775;
        width: 100%;
        height: 100%;
    }

    .pago {
        background-color: #0094f0b3;
        width: 100%;
        height: 100%;
    }

    .selected-group {
        opacity: 0.5;
    }

    .le.selected-group {
        background-color: #000;
    }

    .ld.selected-group {
        background-color: #000;
    }

    .le {
        width: 50%;
        height: 90%;
        background-size: cover;
    }

    .ld {
        width: 50%;
        height: 90%;
        background-size: cover;
    }
</style>

<div class="font-weight-600 mb-4 d-flex text-center justify-content-center" style="flex-wrap: wrap">
    <?php $__currentLoopData = $productModel->numbers(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $numero): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php if($numero->groupSide() == 'le'): ?>
            <div class="grupo-fazendinha col-3"
                style="background-image: url('<?php echo e(asset('images/bixos/' . $numero->onlyGroup() . '.jpeg')); ?>'); background-size: 100%;background-repeat: no-repeat">
                
                <?php if($numero->statusFormated() == 'disponivel'): ?>
                    <div class="le" data-grupo="<?php echo e($numero->grupoFazendinha()); ?>"
                        onclick="selectFazendinha('<?php echo e($numero->number); ?>')" id="<?php echo e($numero->number); ?>">
                    </div>
                <?php else: ?>
                    <div class="le <?php echo e($numero->statusFormated()); ?>" onclick="info('<?php echo e($numero->status); ?> por <?php echo e($numero->participante()->name); ?>')">
                    </div>
                <?php endif; ?>

                
                <?php if($numero->numeroLD()->statusFormated() == 'disponivel'): ?>
                    <div class="ld" data-grupo="<?php echo e($numero->numeroLD()->grupoFazendinha()); ?>"
                        onclick="selectFazendinha('<?php echo e($numero->numeroLD()->number); ?>')" id="<?php echo e($numero->numeroLD()->number); ?>">
                    </div>
                <?php else: ?>
                    <div class="ld <?php echo e($numero->numeroLD()->statusFormated()); ?>" onclick="info('<?php echo e($numero->numeroLD()->status); ?> por <?php echo e($numero->numeroLD()->participante()->name); ?>')">
                    </div>
                <?php endif; ?>
            </div>
        <?php endif; ?>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>

<div class="d-flex justify-content-center">
    <div class="payment" id="payment" style="display: none; width: 500px !important;margin-bottom: 10px;">
        <div class="row justify-content-center">
            <div class="col-md-12 col-9" style="background-color: #fff; color: #000; border-radius: 10px;">
                <div class="container">
                    <div class="row">
                        <div class="col-12 text-center" style="width: 100%">
                            <span id="numberSelected" class="scrollmenu"></span>
                        </div>
                    </div>
                    <div class="row"
                        style="text-align: center;background-color: #fff; margin-top: 5px; justify-content-center; margin-bottom: 10px;">
                        <div class="col-12 d-flex justify-content-center">
                            <center style="width: 400px;">
                                <button type="button" class="btn btn-danger reservation blob"
                                    style="border: none;color: #fff;font-weight: bold;width: 100%;background-color: green"
                                    data-toggle="modal" data-target="#staticBackdrop"><i
                                        class="far fa-check-circle"></i>&nbsp;Participar do
                                    sorteio
                                    <span style="font-size: 14px; float:right"><span
                                            id="numberSelectedTotal"></span></span></button>
                            </center>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<br><br><br>

<script>
    function info(msg){
        Swal.fire(msg)
    }
</script>
<?php /**PATH /home4/somaut60/app-sitederifa/resources/views/rifas/fazendinha-meia.blade.php ENDPATH**/ ?>