<div class="modal fade" id="purchase-order-share-link-modal" tabindex="-1" aria-labelledby="purchase-order-share-link-modal-label" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered">
        <div class="modal-content billing-share-link-modal border-0 overflow-hidden">
            <div class="modal-header billing-share-link-modal__header">
                <h5 class="modal-title text-white" id="purchase-order-share-link-modal-label">Share Purchase Order Link</h5>
                <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body billing-share-link-modal__body">
                <p class="billing-share-link-modal__visibility mb-2">
                    <span class="text-muted">Visibility:</span>
                    <strong id="purchase-order-share-visibility">PUBLIC</strong>
                </p>
                <p class="mb-2">Share this purchase order using this link:</p>
                <div class="billing-share-link-modal__field">
                    <input type="text" class="form-control" id="purchase-order-share-url" readonly value="">
                    <button type="button" class="btn btn-link billing-share-link-modal__copy" id="purchase-order-share-copy-btn">Copy</button>
                </div>
                <p class="billing-share-link-modal__note small text-muted mb-0">
                    <i class="ri-information-line me-1"></i>
                    This link can be shared with your client. They will see this document in a separate interface.
                    The link will remain valid and can be viewed by anyone who has the above URL.
                </p>
                <div class="alert alert-danger d-none mt-3 mb-0 py-2 small" id="purchase-order-share-error" role="alert"></div>
            </div>
            <div class="modal-footer billing-share-link-modal__footer border-0">
                <button type="button" class="btn btn-success px-4" data-bs-dismiss="modal">Okay, Got it</button>
            </div>
        </div>
    </div>
</div>
