/* The payment result is presented only from the verified checkout state. */
#commerce-dialog #commerce-view-status{
 --payment-ink:#17365b;
 --payment-muted:#636f7a;
 --payment-accent:#9a742f;
 --payment-tint:#faf4e6;
 --payment-ring:#e8dbc0;
 width:100%;max-width:760px;min-width:0;margin:0 auto;color:var(--payment-ink)
}
#commerce-dialog #commerce-view-status[hidden],
#commerce-dialog #commerce-view-status [hidden]{display:none!important}
#commerce-dialog #commerce-view-status[data-payment-status=paid]{--payment-accent:#3b6856;--payment-tint:#edf5ef;--payment-ring:#d4e5da}
#commerce-dialog #commerce-view-status[data-payment-status=stopped]{--payment-accent:#9c4d3d;--payment-tint:#fbefea;--payment-ring:#edd4cb}
#commerce-dialog #commerce-view-status[data-payment-status=unavailable]{--payment-accent:#596c7b;--payment-tint:#edf1f4;--payment-ring:#d7e0e7}
#commerce-dialog #commerce-view-status .payment-status-hero{
 position:relative;isolation:isolate;min-width:0;overflow:hidden;display:flex;flex-direction:column;align-items:center;
 padding:36px 30px 30px;margin:0 0 24px;border:1px solid #e7e0d4;border-radius:20px;
 background:linear-gradient(155deg,#fff 30%,#fcf8ef);box-shadow:0 12px 36px #17365b08;text-align:center
}
#commerce-dialog #commerce-view-status .payment-status-hero::before{
 content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#c4ad78,var(--payment-accent),#c4ad78)
}
#commerce-dialog #commerce-view-status #payment-status-icon{
 position:relative;display:grid;place-items:center;flex:none;width:80px;height:80px;margin:0 0 22px;border:1px solid var(--payment-ring);border-radius:50%;
 color:var(--payment-accent);background:var(--payment-tint);box-shadow:0 0 0 8px #ffffffb3;font:400 39px/1 Arial,sans-serif
}
#commerce-dialog #commerce-view-status[data-payment-status=pending] #payment-status-icon{font-size:0}
#commerce-dialog #commerce-view-status[data-payment-status=pending] #payment-status-icon::after{
 content:"";width:30px;height:30px;box-sizing:border-box;border:2px solid var(--payment-ring);border-top-color:var(--payment-accent);border-right-color:var(--payment-accent);border-radius:50%;animation:payment-status-turn 1.1s linear infinite
}
#commerce-dialog #commerce-view-status #payment-status-title{
 max-width:100%;margin:0 0 14px;color:var(--payment-ink);font:400 clamp(28px,3.5vw,38px)/1.16 var(--serif,Georgia,serif);letter-spacing:-.025em;text-wrap:balance;overflow-wrap:anywhere
}
#commerce-dialog #commerce-view-status #payment-status-copy{
 width:100%;max-width:540px;margin:0;color:#53616e;font:400 15px/1.75 var(--sans,Manrope,Arial,sans-serif);text-wrap:pretty;overflow-wrap:anywhere
}
#commerce-dialog #commerce-view-status #payment-status-reference{
 max-width:100%;min-width:0;margin:22px 0 0;padding:8px 14px;border:1px solid #e2e6e9;border-radius:8px;background:#fff;color:#41576e;
 font:600 12px/1.6 var(--sans,Manrope,Arial,sans-serif);overflow-wrap:anywhere;word-break:normal
}
#commerce-dialog #commerce-view-status #payment-status-reference:empty{display:none}
#commerce-dialog #commerce-view-status>.commerce-note,
#commerce-dialog #commerce-view-status>section.commerce-note{
 min-width:0;margin:16px 0;padding:18px 20px;border:1px solid #e4e3dc;border-radius:12px;background:#fff;color:var(--payment-muted);font-size:14px;line-height:1.65;overflow-wrap:anywhere
}
#commerce-dialog #commerce-view-status>.commerce-note h3{color:var(--payment-ink);font-size:16px;line-height:1.4;margin-bottom:8px}
#commerce-dialog #commerce-view-status .commerce-actions{display:flex;align-items:stretch;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:22px}
#commerce-dialog #commerce-view-status .commerce-actions>:is(button,a,form){min-width:0;max-width:100%;flex:1 1 180px}
#commerce-dialog #commerce-view-status .commerce-actions :is(button,a){display:flex;align-items:center;justify-content:center;min-height:48px;text-align:center;white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.5}
#commerce-dialog #commerce-view-status .primary{background:#17365b;border-color:#17365b;color:#fff;box-shadow:0 4px 12px #17365b0d}
#commerce-dialog #commerce-view-status .primary:not(:disabled):hover{background:#102b4c;border-color:#102b4c}
#commerce-dialog #commerce-view-status>.commerce-back{display:block;width:fit-content;max-width:100%;min-height:44px;margin:14px auto 0;padding:10px 12px;color:var(--payment-ink);text-align:center;white-space:normal;font-size:14px}
#commerce-dialog #commerce-view-status :is(button,a):focus-visible{outline:3px solid #b58b3c;outline-offset:4px}
@keyframes payment-status-turn{to{transform:rotate(360deg)}}
@media(max-width:560px){
 #commerce-dialog #commerce-view-status .payment-status-hero{padding:30px 18px 24px;border-radius:16px;margin-bottom:18px}
 #commerce-dialog #commerce-view-status #payment-status-icon{width:72px;height:72px;margin-bottom:20px;font-size:35px}
 #commerce-dialog #commerce-view-status[data-payment-status=pending] #payment-status-icon{font-size:0}
 #commerce-dialog #commerce-view-status #payment-status-title{font-size:29px;line-height:1.18}
 #commerce-dialog #commerce-view-status #payment-status-copy{font-size:14px;line-height:1.7}
 #commerce-dialog #commerce-view-status #payment-status-reference{font-size:11px;padding:8px 10px;margin-top:18px}
 #commerce-dialog #commerce-view-status>.commerce-note,#commerce-dialog #commerce-view-status>section.commerce-note{padding:16px;font-size:13px}
 #commerce-dialog #commerce-view-status .commerce-actions{gap:10px;margin-top:18px}
}
@media(prefers-reduced-motion:reduce){#commerce-dialog #commerce-view-status #payment-status-icon::after{animation:none}}
@media(forced-colors:active){
 #commerce-dialog #commerce-view-status .payment-status-hero,#commerce-dialog #commerce-view-status #payment-status-icon,#commerce-dialog #commerce-view-status #payment-status-reference{border:1px solid CanvasText}
 #commerce-dialog #commerce-view-status[data-payment-status=pending] #payment-status-icon::after{border-color:GrayText;border-top-color:CanvasText}
}
