<div class="modal fade" id="notifyUserModal" tabindex="-1" aria-labelledby="notifyUserModalLabel"
     aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="notifyUserModalLabel">{{ __('Notify User') }}</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <form action="{{ route('admin.users.notify') }}" method="POST">
                @csrf
                <input type="hidden" name="user_id" value="{{ $user->id }}">
                <div class="modal-body">
                    <div class="mb-3">
                        <label for="notify_message" class="form-label">{{ __('Message') }}</label>
                        <textarea class="form-control" id="notify_message" name="message" rows="3" required></textarea>
                    </div>
                    <div class="mb-3">
                        <div class="form-check form-check-inline">
                            <input class="form-check-input" type="checkbox" value="1" id="notify_send_email"
                                   name="send_email">
                            <label class="form-check-label" for="notify_send_email">
                                {{ __('Send Email') }}
                            </label>
                        </div>
                        <div class="form-check form-check-inline">
                            <input class="form-check-input" type="checkbox" value="1" id="notify_send_push"
                                   name="send_push">
                            <label class="form-check-label" for="notify_send_push">
                                {{ __('Send Push Notification') }}
                            </label>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="submit" class="btn btn-info"><i class="fa-solid fa-paper-plane-top"></i> {{ __('Send Notification') }}</button>
                </div>


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