
                    <form action="<?php echo e(route('scholarships.index')); ?>" method="GET" id="filterForm">
                        <div class="course-grid__left">
                            <div class="course-grid__sidebar">

                                <!-- Search -->
                                <div class="course-grid__search course-grid__single">
                                    <div class="course-grid__title-box">
                                        <h3 class="course-grid__title">Search Scholarships</h3>
                                        <div class="course-grid__title-shape-1">
                                            <img src="<?php echo e(asset('images/shapes/course-grid-title-shape-1.png')); ?>"
                                                 alt="">
                                        </div>
                                    </div>
                                    <div class="course-grid__search-text">
                                        Find your dream scholarship
                                    </div>

                                    <div class="course-grid__search-form">

                                    <div class="row">
                                        <div class="col-8">
                                        <input type="search" name="search" class="form-control"
                                               placeholder="Search by title or university"
                                               value="<?php echo e(request('search')); ?>">
                                            </div>
                                            <div class="col-4">
                                        <button type="submit" class="btn btn-primary"><i class="icon-search"></i>  Search</button>
                                       </div>
                                            
                                    </div>
                                         </div>
                                </div>

                                <!-- Price Filter (Amount) -->
                                <div class="course-grid__price-filter course-grid__single">
                                    <div class="course-grid__title-box">
                                        <h3 class="course-grid__title">Amount Filter</h3>
                                        <div class="course-grid__title-shape-1">
                                            <img src="<?php echo e(asset('images/shapes/course-grid-title-shape-1.png')); ?>"
                                                 alt="">
                                        </div>
                                    </div>
                                    <div class="course-grid__price-filter-free-and-paid-course">
                                        <label class="custom-radio">
                                            <input type="radio" name="amount_type" value="all" checked>
                                            <span class="radio-dot"></span>
                                            <span class="radio-text">All Scholarships</span>
                                        </label>
                                        <label class="custom-radio">
                                            <input type="radio" name="amount_type"
                                                   value="paid" <?php echo e(request('amount_type') == 'paid' ? 'checked' : ''); ?>>
                                            <span class="radio-dot"></span>
                                            <span class="radio-text">With Stipend</span>
                                        </label>
                                    </div>
                                    <div class="course-grid__price-filter-ranger">
                                        <p class="course-grid__price-filter-title">Amount: €<?php echo e($currentMin); ?> -
                                            €<?php echo e($currentMax); ?></p>
                                        <div class="price-ranger">
                                            <div id="slider-range"></div>
                                            <div class="ranger-min-max-block">
                                               
                                                
                                                
                                               
<div class="row">
    <div class="col-4"> <input type="text" readonly class="min" value="<?php echo e($currentMin); ?>"><span>-</span>
        </div>
        <div class="col-4"><input type="text" readonly class="max" value="<?php echo e($currentMax); ?>">
        </div>
        <div class="col-4">
             <input type="hidden" name="amount_min" id="amount_min"
                                                       value="<?php echo e($currentMin); ?>">
                                                <input type="hidden" name="amount_max" id="amount_max"
                                                       value="<?php echo e($currentMax); ?>">

                                                 <button type="submit" class="btn btn-primary" style="border-radius: 20px !important;">Apply</button>
        </div>
</div>

                                            </div>
                                        </div>
                                    </div>
                                </div>

                                <!-- Country Filter -->
                                <div class="course-grid__categories course-grid__single">
                                    <div class="course-grid__title-box">
                                        <h3 class="course-grid__title">Country</h3>
                                        <div class="course-grid__title-shape-1">
                                            <img src="<?php echo e(asset('images/shapes/course-grid-title-shape-1.png')); ?>"
                                                 alt="">
                                        </div>
                                    </div>
                                    <div class="course-grid__list-item">
                                        <div class="select-box">
                                            <select  name="country" class=" " onchange="this.form.submit()">
                                                <option value="">All Countries</option>
                                                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__currentLoopData = $countries; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoopIteration(); ?><?php endif; ?>
                                                    <option
                                                        value="<?php echo e($country->id); ?>" <?php echo e(request('country') == $country->id ? 'selected' : ''); ?>><?php echo e($country->name); ?></option>
                                                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::endLoop(); ?><?php endif; ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::closeLoop(); ?><?php endif; ?>
                                            </select>
                                        </div>
                                    </div>
                                </div>

                                <!-- Program Level Filter -->
                                <div class="course-grid__skill course-grid__single">
                                    <div class="course-grid__title-box">
                                        <h3 class="course-grid__title">Program Level</h3>
                                        <div class="course-grid__title-shape-1">
                                            <img src="<?php echo e(asset('images/shapes/course-grid-title-shape-1.png')); ?>"
                                                 alt="">
                                        </div>
                                    </div>
                                    <ul class="list-unstyled course-grid__list-item">
                                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__currentLoopData = $levels; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value => $label): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoopIteration(); ?><?php endif; ?>
                                            <li>
                                                <label class="custom-checkbox">
                                                    <input type="radio" name="level" value="<?php echo e($value); ?>"
                                                           <?php echo e(request('level') == $value ? 'checked' : ''); ?>

                                                           onchange="this.form.submit()">
                                                    <span class="checkmark"></span>
                                                    <span class="radio-text"><?php echo e($label); ?></span>
                                                </label>
                                            </li>
                                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::endLoop(); ?><?php endif; ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::closeLoop(); ?><?php endif; ?>
                                    </ul>
                                </div>

                             <?php echo $__env->make('layouts.components.contact', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                            </div>
                        </div>
                    </form>
                
<?php /**PATH /home/insightg/public_html/resources/views/scholarships/partials/sidebar.blade.php ENDPATH**/ ?>