#receiptDialog{width:min(650px,95vw);max-width:95vw;max-height:92dvh;overflow:auto;border:1px solid #e3dacb;border-radius:18px;padding:0;background:#faf7f1;color:#143f57;font-family:Tahoma,Arial,sans-serif;direction:rtl;box-shadow:0 18px 75px #0003}#receiptDialog::backdrop{background:#102b3677;backdrop-filter:blur(3px)}.receipt-shell{padding:0 18px 18px}.receipt-header{display:flex;justify-content:space-between;gap:14px;align-items:center;position:sticky;top:0;background:#faf7f1;z-index:2;padding:15px 0;border-bottom:1px solid #e4dbcd}.receipt-header h2{font-size:19px;margin:0}.receipt-close,.receipt-actions button,.receipt-actions a,.receipt-page-nav button{font:inherit;border:1px solid #d6cbb8;border-radius:9px;padding:10px 14px;background:#fffdf8;color:#143f57;cursor:pointer;font-size:12px;text-align:center;text-decoration:none}.receipt-number{font-size:16px;font-weight:bold}.receipt-help{font-size:12px;line-height:1.9;color:#586e67}#receiptImage{display:block;width:100%;height:auto;border:1px solid #ded7cb;border-radius:10px;cursor:pointer;background:white}#receiptImage:focus-visible{outline:2px solid #194b5f;outline-offset:3px}#receiptImageHint{display:block;text-align:center;color:#7a7d70;font-size:11px;margin:8px 0 14px}.receipt-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.receipt-actions button{background:#16465a;border-color:#16465a;color:white}.receipt-actions button:disabled{opacity:.5;cursor:wait}.receipt-page-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0;font-size:12px}#receiptStatus{font-size:12px;line-height:1.9;min-height:24px}.receipt-text{font-size:12px;margin:14px 0}.receipt-text summary{cursor:pointer;color:#5b756b}.receipt-text pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.9 Tahoma,Arial,sans-serif;background:white;border:1px solid #e5ddcf;border-radius:9px;padding:13px}.receipt-footer{position:sticky;bottom:-18px;background:#faf7f1f2;display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #e5ddcf;padding:13px 0;backdrop-filter:blur(6px)}.receipt-footer span{font-size:11px;line-height:1.9;color:#7a7d70}.receipt-footer a{flex:none;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:white;text-decoration:none}.receipt-footer svg{width:28px;height:28px;fill:currentColor}#receiptDialog [hidden]{display:none!important}.last-receipt{border:1px solid #dfe5d8;border-radius:13px;padding:16px;margin:18px 0;background:#f1f5ed}.last-receipt p{font-size:13px;line-height:1.8}.last-receipt button{width:100%;border:1px solid #16465a;color:#16465a;background:transparent;border-radius:10px;padding:12px;font:inherit;font-size:13px;cursor:pointer}@media(max-width:420px){.receipt-shell{padding:0 12px 12px}.receipt-header h2{font-size:17px}.receipt-footer{bottom:-12px}.receipt-page-nav button{padding:9px 8px;font-size:11px}}

.receipt-footer{justify-content:flex-end}.receipt-text{display:none}

.receipt-actions{grid-template-columns:1fr}.receipt-actions a{background:#16465a;color:white;border-color:#16465a}

.receipt-actions{grid-template-columns:1fr 1fr}.receipt-actions a{background:#fffdf8;color:#16465a}
