.receipt-dialog { width:min(850px,94vw); max-width:94vw; height:90dvh; max-height:90dvh; border:0; border-radius:18px; padding:14px; box-shadow:0 20px 80px #10204344; }
.receipt-dialog::backdrop { background:#10204399; }
.receipt-dialog iframe { width:100%; height:calc(100% - 48px); border:0; display:block; }
.receipt-dialog-close { background:#174cff; color:white; border:0; padding:10px 18px; border-radius:8px; cursor:pointer; margin-bottom:8px; }

.receipt-dialog > p[role=status]::before { content:""; display:inline-block; width:15px; height:15px; margin-right:8px; border:2px solid #dce4f0; border-top-color:#174cff; border-radius:50%; animation:receipt-preview-spin .8s linear infinite; }
@keyframes receipt-preview-spin { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { .receipt-dialog > p[role=status]::before { animation:none; } }
