<div class="modal fade" id="aizUploaderModal" data-bs-backdrop="static" tabindex="-1" aria-hidden="true">
    <div class="modal-dialog modal-xl modal-dialog-centered modal-dialog-scrollable">
        <div class="modal-content h-100">

            <!-- Modal Header -->
            <div class="modal-header pb-0 bg-light">
                <ul class="nav nav-tabs border-0">
                    <li class="nav-item">
                        <a class="nav-link active fw-medium text-dark"
                           data-bs-toggle="tab"
                           href="#aiz-select-file">
                            Select File
                        </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link fw-medium text-dark"
                           data-bs-toggle="tab"
                           href="#aiz-upload-new">
                            Upload New
                        </a>
                    </li>
                </ul>

                <button type="button" class="btn-close" data-bs-dismiss="modal"></button>
            </div>

            <!-- Modal Body -->
            <div class="modal-body">
                <div class="tab-content h-100">

                    <!-- Select File TAB -->
                    <div class="tab-pane fade show active h-100" id="aiz-select-file">
                        <div class="aiz-uploader-filter pt-1 pb-3 border-bottom mb-4">
                            <div class="row align-items-center g-2">

                                <div class="col-xl-2 col-md-3 col-5">
                                    <select class="form-select form-select-sm">
                                        <option selected>Sort by newest</option>
                                        <option>Sort by oldest</option>
                                        <option>Sort by smallest</option>
                                        <option>Sort by largest</option>
                                    </select>
                                </div>

                                <div class="col-md-3 col-5">
                                    <div class="form-check">
                                        <input class="form-check-input" type="checkbox" id="aiz-show-selected">
                                        <label class="form-check-label" for="aiz-show-selected">
                                            Selected Only
                                        </label>
                                    </div>
                                </div>

                                <div class="col-md-4 col-xl-3 ms-auto">
                                    <input type="text"
                                           class="form-control form-control-sm"
                                           placeholder="Search your files">
                                </div>

                            </div>
                        </div>

                        <div class="aiz-uploader-all c-scrollbar-light">
                             <div class="row g-2" id="aizFileList"></div>
                        </div>
                    </div>

                    <!-- Upload New TAB -->
                    <div class="tab-pane fade h-100" id="aiz-upload-new">
                        <div class="h-100 d-flex align-items-center justify-content-center">
                            <form id="aizUploadForm" enctype="multipart/form-data">
                                <?php echo csrf_field(); ?>
                                <input type="file" name="file[]" class="form-control mb-2" multiple>
                                <button type="submit" class="btn btn-primary btn-sm">
                                    Upload
                                </button>
                            </form>
                        </div>
                    </div>

                </div>
            </div>

            <!-- Modal Footer -->
            <div class="modal-footer justify-content-between bg-light">
                <div class="d-flex align-items-center gap-3">
                    <div>
                        <div class="aiz-uploader-selected">0 File selected</div>
                        <button type="button" class="btn btn-link btn-sm p-0">
                            Clear
                        </button>
                    </div>

                    <div>
                        <button class="btn btn-sm btn-primary">Prev</button>
                        <button class="btn btn-sm btn-primary">Next</button>
                    </div>
                </div>

                <button type="button" class="btn btn-sm btn-primary" id="addFilesButton">
                  Add Files
                </button>
            </div>

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


<?php /**PATH C:\wamp64\www\ecommerce\resources\views/admin/modal/aizUploadModal.blade.php ENDPATH**/ ?>