:root { --navy:#022569; --red:#DA291C; --yellow:#FFCD00; --bg:#eef1f6; --card:#fff; --fg:#14161a; --muted:#5b6270; --line:#dde1e8; --ok:#1a7f4b; --err:#c81e12; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.bar { background: var(--navy); color: #fff; padding: 14px 16px; }
.brand { max-width: 520px; margin: 0 auto; display: flex; align-items: baseline; gap: 10px; }
.mark { font-weight: 900; font-style: italic; letter-spacing: 1px; color: var(--yellow); font-size: 22px; }
.site { font-weight: 600; font-size: 16px; }
.test { background: var(--yellow); color: #000; text-align: center; padding: 8px 16px; font-weight: 600; font-size: 14px; }
main { max-width: 520px; margin: 0 auto; padding: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; margin-bottom: 16px; }
h1 { font-size: 22px; margin: 4px 0 10px; color: var(--navy); }
h2 { font-size: 17px; margin: 18px 0 6px; }
.muted { color: var(--muted); }
.summary { border: 1px solid var(--line); border-radius: 10px; padding: 4px 12px; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row span { color: var(--muted); }
.row b { text-align: right; }
.row.total b { font-size: 22px; color: var(--navy); }
iframe#tokenFrame { width: 100%; height: 290px; border: 0; display: block; }
label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--muted); }
input:not([type=checkbox]) { width: 100%; font: inherit; font-size: 18px; padding: 10px 12px; border: 2px solid #c9ced8; border-radius: 8px; background: #fff; color: var(--fg); }
input:focus { outline: none; border-color: var(--navy); }
label.check { display: flex; gap: 10px; align-items: center; font-weight: 600; margin-top: 18px; }
label.check input { width: 22px; height: 22px; }
.fine { font-size: 13px; color: var(--muted); margin: 8px 0; }
button.pay { width: 100%; margin-top: 18px; min-height: 54px; border: 0; border-radius: 10px; background: var(--red); color: #fff; font: 700 19px system-ui, -apple-system, sans-serif; cursor: pointer; }
button.pay:disabled { background: #b9bec8; cursor: not-allowed; }
.fieldmsg, .formmsg { color: var(--err); font-weight: 600; min-height: 1.2em; margin: 6px 0 0; }
.spinner { width: 44px; height: 44px; border: 5px solid var(--line); border-top-color: var(--navy); border-radius: 50%; animation: spin 1s linear infinite; margin: 8px auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
#processing, #done, #check { text-align: center; }
.ok { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 34px; line-height: 56px; margin: 6px auto 8px; }
a { color: var(--navy); }
.foot { text-align: center; font-size: 12px; color: var(--muted); padding: 8px 16px 24px; }
