/* Recibo original do MercadoPhone · modal premium, responsivo. */
.receipt-modal-open{overflow:hidden}
.receipt-overlay{position:fixed;inset:0;z-index:110050;display:grid;place-items:center;padding:16px;color:#f3f0fa;font-family:inherit}
.receipt-shade{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(5px)}
.receipt-dialog{position:relative;display:flex;flex-direction:column;width:min(1080px,100%);height:min(850px,95dvh);background:#111116;border:1px solid #34303d;border-radius:17px;box-shadow:0 22px 90px #000a;overflow:hidden}
.receipt-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:19px 21px;border-bottom:1px solid #2b2933}
.receipt-head small{font-size:10px;letter-spacing:.11em;color:#afa1d4;font-weight:700}
.receipt-head h2{font-size:19px;line-height:1.25;margin:6px 0 0;color:#fff}
.receipt-close{color:#ddd5ee;font-size:24px;border:1px solid #39343f;border-radius:9px;width:34px;height:34px;cursor:pointer;background:#1a1920}
.receipt-actions{display:flex;gap:9px;padding:12px 20px;border-bottom:1px solid #2a2932;flex-wrap:wrap}
.receipt-actions button,.receipt-error button{font:inherit;font-size:13px;font-weight:700;border:1px solid #51436d;color:#f3ecff;background:#262036;border-radius:9px;padding:10px 15px;cursor:pointer}
.receipt-actions button:hover:not(:disabled),.receipt-error button:hover{border-color:#9b6af5;background:#38294e}
.receipt-actions button:disabled{opacity:.5;cursor:wait}
.receipt-actions .receipt-primary{background:#7747d8;border-color:#895ce4;color:#fff}
.receipt-view{flex:1;min-height:0;display:flex;flex-direction:column;background:#222229}
.receipt-frame{width:100%;height:100%;min-height:220px;flex:1;border:0;background:#f3f3f3}
.receipt-frame-note{padding:7px 12px;font-size:11px;text-align:center;background:#15141a;color:#aaa5b6}
.receipt-loading,.receipt-error{text-align:center;margin:auto;padding:20px;color:#c4bbd6;font-size:13px;line-height:1.6}
.receipt-error strong{font-size:15px;color:#ffbdc4}
.receipt-error p{max-width:580px}
.receipt-success{height:auto;max-width:520px}
.receipt-success>p{padding:0 21px;margin:21px 0 3px;font-size:13px;line-height:1.6;color:#b8b2c1}
.receipt-success .receipt-actions{border:0;padding:20px 21px}
.receipt-history-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.receipt-history-actions .receipt-history-button{color:#cfbcff;border-color:#5c438e}
@media(max-width:700px){.receipt-overlay{padding:5px}.receipt-dialog{border-radius:12px;height:96dvh}.receipt-success{height:auto}.receipt-head{padding:14px}.receipt-head h2{font-size:16px}.receipt-actions{padding:10px 12px}.receipt-actions button{flex:1;padding:11px 8px}.receipt-frame-note{font-size:10px}}
