.pd-payment-choice-dialog .pd-send-panel{padding:36px 32px 30px;background:linear-gradient(#f7fafb,#fff 210px)}
.pd-payment-choice-dialog .pd-send-symbol{width:58px;height:58px;display:grid;place-items:center;margin:auto;border-radius:50%;background:#e5f2ea;color:#26724f;font-size:30px}
.pd-payment-eyebrow{font-size:11px!important;font-weight:750;letter-spacing:.16em;color:#607883;margin:18px 0 0!important}.pd-payment-choice-dialog h2{font-size:30px;letter-spacing:-.035em}.pd-payment-order{font-size:12px;color:#637681}.pd-payment-order strong{display:block;color:#163c4e;font-size:32px;margin-top:8px}
.pd-payment-choice-heading{font-size:20px;margin:28px 0 6px;color:#163c4e}.pd-payment-methods{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}
.pd-payment-method{display:flex;align-items:center;gap:13px;padding:20px 16px;min-height:100px;border:1px solid #cbdde6;border-radius:13px;background:#fff;text-align:left;color:#143e52;cursor:pointer;font:inherit;box-shadow:0 4px 16px #153e5108}.pd-payment-method svg{flex:none}.pd-payment-method strong{display:block;font-size:15px;line-height:1.45}.pd-payment-method small{display:block;font-size:12px;line-height:1.5;margin-top:5px;color:#56717e}.pd-payment-paypal-button{background:#ffcf51;border-color:#ecc045;color:#153d73}.pd-payment-paypal-button small{color:#314e73}.pd-payment-method:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 20px #153e5115}.pd-payment-method[aria-pressed=true]{border-color:#147faa;box-shadow:0 0 0 2px #147faa22}.pd-payment-method:disabled{opacity:.55;cursor:default}
.pd-payment-privacy{font-size:12px!important;color:#637681;line-height:1.6}.pd-payment-privacy a{color:#147faa}.pd-payment-error,.pd-payment-test{padding:14px;border-radius:9px;background:#fff3e8;color:#834614;font-size:14px}.pd-payment-state{padding:22px;background:#eef7f2;border:1px solid #c7e3d4;border-radius:12px;margin:22px 0}.pd-payment-state strong{font-size:19px}.pd-payment-followup{background:#f0f5f8;padding:16px;border-radius:10px;font-size:14px}.pd-payment-followup button{font:inherit;min-height:44px;padding:9px 12px;border:1px solid #bed3df;background:white;color:#163c4e;border-radius:8px;margin:4px;cursor:pointer}
.pd-payment-choice-dialog :focus-visible{outline:3px solid #d78430;outline-offset:3px}
@media(max-width:560px){.pd-payment-choice-dialog .pd-send-panel{padding:32px 18px 22px}.pd-payment-choice-dialog h2{font-size:26px}.pd-payment-methods{grid-template-columns:1fr;gap:10px}.pd-payment-method{min-height:83px;padding:16px}.pd-payment-choice-dialog .pd-payment-summary{padding:12px}}
@media(prefers-reduced-motion:reduce){.pd-payment-method:hover:not(:disabled){transform:none}}
/* Standalone return page shares the same quiet payment treatment. */
.pd-payment-return-page{margin:0;padding:40px 20px;background:#f4f6f6;color:#24363f;font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.pd-payment-return-card{max-width:670px;margin:4vh auto;padding:clamp(24px,5vw,48px);background:#fff;border:1px solid #dde5e8;border-radius:22px;box-shadow:0 15px 60px #153c4b0a}
.pd-payment-return-card h1{font-size:clamp(26px,4vw,36px);letter-spacing:-.035em;line-height:1.2}
.pd-payment-return-card a{color:#12627e}.pd-payment-brand{display:inline-block;text-decoration:none;font-size:28px;color:#25343a!important;letter-spacing:-.07em}.pd-payment-brand span{display:block;letter-spacing:.24em;font-size:9px;color:#697d88}
.pd-payment-return-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.pd-payment-return-actions button{padding:13px 18px;border-radius:10px;border:1px solid #b7cbd3;background:#f5f9fa;color:#174a60;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer;min-height:46px}.pd-payment-return-actions button:disabled{opacity:.55;cursor:wait}.pd-payment-return-actions button:focus-visible{outline:3px solid #db812c;outline-offset:3px}.pd-payment-home{display:inline-block;margin-top:20px;font-weight:650}
.pd-payment-return-page [hidden],.pd-payment-choice-dialog [hidden]{display:none!important}

/* Reassuring payment progress: visible during the request and between automatic checks. */
.pd-payment-spinner{display:block;box-sizing:border-box;width:52px;height:52px;margin:0 auto 18px;border:4px solid #cbdfe8;border-top-color:#087ba3;border-right-color:#087ba3;border-radius:50%;animation:pd-payment-spin .9s linear infinite}
@keyframes pd-payment-spin{to{transform:rotate(360deg)}}
.pd-payment-state[data-phase=waiting],.pd-payment-state[data-phase=pending],.pd-payment-progress{background:#f0f7fa;border:1px solid #cbdfe8;text-align:center;color:#193f51}
.pd-payment-state[data-phase=waiting]{padding:30px 22px}
.pd-payment-state[data-phase=waiting] strong,.pd-payment-progress strong{display:block;font-size:22px;line-height:1.35}
.pd-payment-state[data-phase=waiting] p,.pd-payment-progress p{max-width:440px;margin:12px auto 0;line-height:1.65}
.pd-payment-success-symbol{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 16px;border-radius:50%;background:#d9eee1;color:#26724f;font-size:30px}
.pd-payment-state[data-phase=paid],.pd-payment-state[data-phase=test_paid]{text-align:center}
.pd-payment-progress{padding:24px 18px;border-radius:12px;margin:20px 0}
.pd-payment-progress p{font-size:14px}
@media(prefers-reduced-motion:reduce){.pd-payment-spinner{animation:none}}
