.payment-success-dialog { width:440px; max-width:calc(100vw - 32px); max-height:calc(100dvh - 32px); padding:28px; overflow:auto; border:1px solid color-mix(in srgb,var(--ui-paid) 45%,var(--line)); border-radius:24px; background:var(--surface); color:var(--ink); text-align:center; box-shadow:0 30px 90px #0005; }
.payment-success-dialog::backdrop { background:#060a14cc; backdrop-filter:blur(7px); }
.payment-success-dialog h2 { font-size:26px; line-height:1.4; margin:10px 0; }
.payment-success-amount { display:inline-block; color:var(--ui-paid); background:var(--good-soft); border:1px solid color-mix(in srgb,var(--ui-paid) 25%,transparent); border-radius:99px; padding:7px 14px; font-size:13px; font-weight:650; }
#payment-success-copy { font-size:13px; color:var(--muted); line-height:1.8; margin:16px 0 24px; overflow-wrap:anywhere; }
.payment-success-pulse { position:relative; width:128px; height:128px; margin:8px auto 16px; display:grid; place-items:center; color:var(--ui-paid); }
.payment-success-pulse>i { position:absolute; inset:16px; border:2px solid currentColor; border-radius:50%; opacity:0; animation:success-ripple 950ms ease-out 200ms both; }
.payment-success-pulse>i:nth-child(2) { animation-delay:450ms; }
.payment-success-pulse>i:nth-child(3) { animation-delay:700ms; }
.payment-success-pulse svg { width:96px; height:96px; position:relative; overflow:visible; }
.payment-success-disc { fill:var(--good-soft); }
.payment-success-circle,.payment-success-check { fill:none; stroke:currentColor; stroke-width:4.5; stroke-linecap:round; stroke-linejoin:round; }
.payment-success-circle { stroke-dasharray:283; transform:rotate(-90deg); transform-origin:center; animation:success-circle 550ms ease-out both; }
.payment-success-check { stroke-dasharray:72; animation:success-check 350ms ease-out 300ms both; }
.payment-success-next { border-top:1px solid var(--line); padding-top:18px; }
.payment-success-next>p { font-size:12px; color:var(--muted); margin:0 0 12px; }
.payment-success-countdown { display:block; height:5px; margin-bottom:18px; border-radius:9px; background:linear-gradient(90deg,var(--accent),var(--ui-paid)); transform-origin:left; animation:success-countdown 2200ms linear both; }
@keyframes success-ripple { from { opacity:.6; transform:scale(.85); } to { opacity:0; transform:scale(1.7); } }
@keyframes success-circle { from { stroke-dashoffset:283; } to { stroke-dashoffset:0; } }
@keyframes success-check { from { stroke-dashoffset:72; } to { stroke-dashoffset:0; } }
@keyframes success-countdown { to { transform:scaleX(0); } }
@media(prefers-reduced-motion:reduce) { .payment-success-dialog *, .payment-success-dialog *::before { animation:none!important; } .payment-success-pulse>i { display:none; } .payment-success-countdown { display:none; } }
