.wf-payment-dialog{box-sizing:border-box;width:min(720px,calc(100% - 24px));height:min(780px,88dvh);max-height:88vh;padding:0;border:1px solid #cbd9eb;border-radius:16px;background:#fff;color:#102b48;box-shadow:0 18px 60px #102b4840}
.wf-payment-dialog::backdrop{background:#102b488c}
.wf-payment-dialog[open]{display:flex;flex-direction:column}
.wf-payment-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #e3eaf3}
.wf-payment-dialog button,.wf-payment-resume button{font:inherit;border:1px solid #b8cbe4;background:#f3f7fc;color:#123f75;border-radius:8px;padding:10px 14px;cursor:pointer}
.wf-payment-dialog p{padding:0 20px;font-size:13px;line-height:1.55}
.wf-payment-dialog iframe{width:100%;min-height:320px;flex:1;border:0;background:#fff}
.wf-payment-dialog iframe[hidden],.wf-payment-resume[hidden]{display:none}
.wf-payment-resume{margin:16px 0;padding:16px;border:1px solid #bbd2ed;border-radius:12px;background:#f1f7ff;color:#173d67}
.wf-payment-resume p{line-height:1.6;margin-top:0}
.wf-payment-resume button:disabled{opacity:.6;cursor:wait}
@media(max-width:540px){.wf-payment-dialog{width:calc(100% - 12px);height:92dvh;max-height:92vh;border-radius:10px}.wf-payment-dialog header{padding:12px}.wf-payment-dialog p{padding:0 12px}}
.wf-payment-window-dialog{height:fit-content;max-height:88dvh;overflow:auto;color-scheme:light;background:var(--corp-surface,#fff);color:var(--corp-text,#102b48);border-color:var(--corp-border,#cbd9eb)}
.wf-payment-window-dialog header{border-color:var(--corp-border,#d5dfec)}
.wf-payment-window-dialog p{overflow-wrap:anywhere}
.wf-payment-window-dialog .wf-payment-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}
.wf-payment-window-dialog button,.wf-payment-resume button{background:var(--corp-surface-soft,#f3f7fc);color:var(--corp-text,#123f75);border-color:var(--corp-border,#b8cbe4)}
.wf-payment-window-dialog button:hover:not(:disabled),.wf-payment-resume button:hover:not(:disabled){background:var(--corp-surface-hover,#e8f0fc)}
.wf-payment-window-dialog button:focus-visible,.wf-payment-resume button:focus-visible{outline:3px solid #388efa;outline-offset:3px}
.wf-payment-window-dialog button:disabled{opacity:.6;cursor:wait}
.wf-payment-window-dialog [hidden]{display:none!important}
.theme-dark .wf-payment-window-dialog,[data-bs-theme="dark"] .wf-payment-window-dialog,.theme-dark .wf-payment-resume,[data-bs-theme="dark"] .wf-payment-resume{--corp-surface:#142137;--corp-surface-soft:#1c304d;--corp-surface-hover:#263f61;--corp-text:#e6edf7;--corp-border:#526780;color-scheme:dark}
.wf-payment-resume{background:var(--corp-surface-soft,#f1f7ff);color:var(--corp-text,#173d67);border-color:var(--corp-border,#bbd2ed)}
.wf-payment-progress{margin:16px 0;color:var(--corp-text,#173d67);font:inherit}
.wf-payment-progress[hidden],.wf-payment-progress [hidden]{display:none!important}
.wf-payment-progress p{font-size:14px;line-height:1.6;margin:0}
.wf-payment-progress p::before{content:"";display:inline-block;width:12px;height:12px;margin-right:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:wf-payment-spin 1s linear infinite}
.wf-payment-progress button{margin-top:10px;font:inherit;padding:10px 14px;border:1px solid var(--corp-border,#b8cbe4);border-radius:8px;background:var(--corp-surface-soft,#f3f7fc);color:var(--corp-text,#123f75);cursor:pointer}
.wf-payment-progress button:hover{background:var(--corp-surface-hover,#e8f0fc)}
.wf-payment-progress button:focus-visible{outline:3px solid #388efa;outline-offset:3px}
.theme-dark .wf-payment-progress,[data-bs-theme="dark"] .wf-payment-progress,.theme-dark .wf-coupon-dialog,[data-bs-theme="dark"] .wf-coupon-dialog{--corp-surface:#142137;--corp-surface-soft:#1c304d;--corp-surface-hover:#263f61;--corp-text:#e6edf7;--corp-border:#526780;color:var(--corp-text)}
.theme-dark .wf-coupon-dialog,[data-bs-theme="dark"] .wf-coupon-dialog{background:var(--corp-surface)!important;color-scheme:dark}
.theme-dark .wf-coupon-dialog .swal2-title,.theme-dark .wf-coupon-dialog .swal2-content,[data-bs-theme="dark"] .wf-coupon-dialog .swal2-title,[data-bs-theme="dark"] .wf-coupon-dialog .swal2-html-container{color:var(--corp-text)}
.theme-dark .wf-coupon-dialog .swal2-success::before,.theme-dark .wf-coupon-dialog .swal2-success::after,.theme-dark .wf-coupon-dialog .swal2-success .fix,[data-bs-theme="dark"] .wf-coupon-dialog .swal2-success::before,[data-bs-theme="dark"] .wf-coupon-dialog .swal2-success::after,[data-bs-theme="dark"] .wf-coupon-dialog .swal2-success .fix{background:var(--corp-surface)!important}
@keyframes wf-payment-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.wf-payment-progress p::before{animation:none}}
