<div class="show-filter mb-3 text-end">
    <button type="button" class="btn btn-outline--primary showFilterBtn btn-sm"><i class="las la-filter"></i>
        @lang('Filter')</button>
</div>
<div class="card responsive-filter-card mb-4 primary-bg">
    <div class="card-body p-4" style="">
        <form action="">
            <div class="d-flex flex-wrap gap-4">
                <div class="flex-grow-1 contact-form-group">
                    <label>@lang('Username/Email/User ID')</label>
                    <input type="text" name="search" value="{{ request()->search }}" class="form-control"
                        style="background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, 0.1); color: #ffffff">
                </div>

                <div class="flex-grow-1  contact-form-group">
                    <label>@lang('Level')</label>
                    <select class="select-bar" name="distance" style="">
                        <option value="">@lang('Any')</option>
                        @foreach (range(1, 7) as $distance)
                            <option value="{{ $distance }}" @selected(request()->distance == $distance)>
                                {{ __(keyToTitle($distance)) }}</option>
                        @endforeach
                    </select>
                </div>

                <div class="flex-grow-1 align-self-end">
                    <div class="contact-form-group">
                        <button class="btn btn--warning w-100 h-45" style="line-height: 2.3"><i
                                class="fas fa-filter"></i> @lang('Filter')</button>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>