<div class="modal fade" id="show{{ $a->id_user }}" tabindex="-1" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered modal-lg">
        <div class="modal-content">

            <div class="modal-header">
                <h5 class="modal-title">Detail {{ $a->nama }}</h5> <button type="button" class="btn-close"
                    data-bs-dismiss="modal" aria-label="Close"></button>
            </div>

            <form action="#" method="POST" enctype="multipart/form-data">
                <div class="modal-body">
                    <div class="row gx-3">

                        <div class="col-12">
                            <div class="row gx-2">
                                <div class="col-12 col-md-6">
                                    <div class="mb-2">
                                        <label class="form-label">Nama Lengkap</label>
                                        <input type="text" class="form-control" style="font-size: 14px;"
                                            value="{{ $a->nama }}" disabled>
                                    </div>
                                </div>

                                <div class="col-12 col-md-6">
                                    <div class="mb-2">
                                        <label class="form-label">Username</label>
                                        <input type="text" class="form-control" style="font-size: 14px;"
                                            value="{{ $a->username }}" disabled>
                                    </div>
                                </div>
                            </div>
                            <div class="row gx-2">
                                <div class="col-12 col-md-4">
                                    <div class="mb-2">
                                        <label class="form-label">Nomor WA</label>
                                        <input type="number" class="form-control" style="font-size: 14px;"
                                            value="{{ $a->no_wa }}" disabled>
                                    </div>
                                </div>
                                <div class="col-12 col-md-4">
                                    <div class="mb-2">
                                        <label class="form-label">Email</label>
                                        <input type="email" class="form-control" style="font-size: 14px;"
                                            value="{{ $a->email }}" disabled>
                                    </div>
                                </div>

                                <div class="col-12 col-md-4">
                                    <div class="mb-2">
                                        <label class="form-label">Peran</label>

                                        <fieldset class="form-group">
                                            <select class="form-select" id="basicSelect" style="font-size: 13px"
                                                disabled>
                                                {{-- Cek jika role adalah admin_foto --}}
                                                <option value="admin_foto"
                                                    {{ $a->role == 'admin_foto' ? 'selected' : '' }}>
                                                    Admin Foto
                                                </option>

                                                {{-- Cek jika role adalah admin_buket --}}
                                                <option value="admin_buket"
                                                    {{ $a->role == 'admin_buket' ? 'selected' : '' }}>
                                                    Admin Buket
                                                </option>
                                            </select>
                                        </fieldset>
                                    </div>
                                </div>
                            </div>
                            <div class="mb-2">
                                <label class="form-label">Alamat</label>
                                <input type="text" class="form-control"style="font-size: 14px;"
                                    value="{{ $a->alamat }}" disabled>
                            </div>
                        </div>
                    </div>
                </div>
            </form>

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