/* Compact confirmation dialogs; existing page styles remain unchanged. */
.rb-modal{display:none;position:fixed;inset:0;z-index:2000001;overflow:auto;outline:0;padding:16px;box-sizing:border-box}
.rb-modal.show{display:block}
.rb-modal .modal-dialog{position:relative;width:100%;max-width:420px;margin:0 auto;min-height:calc(100% - 32px);display:flex;align-items:center;pointer-events:none}
.rb-modal .modal-content{pointer-events:auto;width:100%;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 18px 56px #0f172a30;color:#172033;overflow:hidden}
.rb-modal .modal-header{display:flex;align-items:center;padding:18px 20px 8px;border:0;background:#fff}
.rb-modal .modal-title{font-size:22px;line-height:28px;font-weight:600;margin:0;color:#172033}
.rb-modal .modal-body{flex:0 0 auto;padding:4px 20px 18px;font-size:16px;line-height:24px;font-weight:400;white-space:pre-wrap;overflow-wrap:anywhere;color:#475569}
.rb-modal .modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 20px;margin:0;border-top:1px solid #e8edf2;background:#f8fafc}
.rb-modal .modal-footer>button{margin:0;min-width:88px;min-height:38px;padding:8px 16px;border-radius:8px;border:1px solid #cbd5e1;background:#fff;color:#334155;font-family:inherit;font-size:16px;line-height:20px;font-weight:500;cursor:pointer;box-shadow:none}
.rb-modal .modal-footer>.rb-dialog-ok{background:#287D9B;border-color:#287D9B;color:#fff}
.rb-modal .modal-footer>.rb-dialog-ok:hover{background:#226d87;border-color:#226d87}
.rb-modal .modal-footer>.rb-dialog-cancel:hover{background:#eef2f6}
.rb-modal button:focus-visible{outline:3px solid #287d9b66;outline-offset:2px}
.rb-modal button:disabled{opacity:.65;cursor:default}
.rb-modal button[hidden]{display:none}
@media(max-width:480px){.rb-modal{padding:12px}.rb-modal .modal-dialog{min-height:calc(100% - 24px)}.rb-modal .modal-header{padding:16px 16px 8px}.rb-modal .modal-body{padding:4px 16px 16px}.rb-modal .modal-footer{padding:12px 16px}}
.modal-backdrop{position:fixed;inset:0;z-index:1050;background:#000;opacity:.45}
.modal-open{overflow:hidden}
.report-no-transactions{background:#fff4dc!important;color:#6b4a14}
.no-transaction-label{display:block;font-size:12px;color:#855d13}
.item-card-description{display:block;font-size:14px;font-weight:400;line-height:1.4;white-space:normal;overflow-wrap:anywhere;color:#64748b}
body:has(#holdForm) input,body:has(#holdForm) select,body:has(#holdForm) textarea,body:has(#holdForm) label{font-weight:400!important}

body:has(#holdForm) input:-webkit-autofill{font-weight:400!important}

.cashier-portal input,.cashier-portal select,.cashier-portal textarea,.cashier-portal label{font-weight:400!important}
.cashier-portal input:-webkit-autofill{font-weight:400!important}

/* Keep the complete page, including the header, below this dialog. */
.modal-backdrop.rb-dialog-backdrop{z-index:2000000!important;background:#0f172a!important}
.modal-backdrop.rb-dialog-backdrop.show{opacity:.40!important}
.rb-modal{z-index:2000001!important}
