/* ISF Payflow checkout. Neutral by default; themes can override the custom properties. */
.ipf { --ipf-ink: #0A2540; --ipf-accent: #F2711C; --ipf-accent-dark: #D9600F; --ipf-line: #DCE3EC; --ipf-muted: #5A6B7E; --ipf-r: 10px; font-size: 15.5px; color: #1C2B3A; }
.ipf * { box-sizing: border-box; }
.ipf-form { display: grid; gap: 14px; }
.ipf-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; }
.ipf-plans legend { margin-bottom: 8px; font-weight: 700; color: var(--ipf-ink); }
.ipf-plan { position: relative; cursor: pointer; }
.ipf-plan input { position: absolute; opacity: 0; }
.ipf-plan span { display: grid; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--ipf-line); border-radius: var(--ipf-r); background: #fff; transition: border-color .15s, box-shadow .15s; }
.ipf-plan b { font-size: 22px; line-height: 1.1; color: var(--ipf-ink); }
.ipf-plan small { color: var(--ipf-muted); font-size: 13px; }
.ipf-plan input:checked + span { border-color: var(--ipf-ink); box-shadow: inset 0 0 0 1px var(--ipf-ink); background: #F6F8FB; }
.ipf-plan input:focus-visible + span { outline: 2px solid #2F7FE0; outline-offset: 2px; }
.ipf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ipf label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ipf-ink); }
.ipf label small { font-weight: 400; color: var(--ipf-muted); font-size: 12.5px; }
.ipf input[type="text"], .ipf input:not([type]), .ipf input[type="email"], .ipf input[type="password"] { width: 100%; margin: 0; padding: 12px 13px; border: 1px solid #C9D3DF; border-radius: 8px; font: inherit; font-weight: 400; background: #fff; color: inherit; }
.ipf input:focus { outline: none; border-color: #1D5288; box-shadow: 0 0 0 3px rgba(29, 82, 136, .15); }
.ipf-submit { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 15px 22px; border: 0; border-radius: 999px; background: var(--ipf-accent); color: #fff !important; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; box-shadow: 0 8px 20px rgba(242, 113, 28, .28); }
.ipf-submit:hover { background: var(--ipf-accent-dark); }
.ipf-submit.is-busy { opacity: .7; cursor: wait; }
.ipf-fine { margin: 0; text-align: center; font-size: 12.5px; color: var(--ipf-muted); }
.ipf-error { margin: 0; padding: 10px 12px; border-radius: 8px; background: #FDECEC; color: #9B1C1C; font-size: 14px; }
.ipf-sim { margin: 0 0 12px; padding: 8px 12px; border-radius: 8px; background: #FFF4DB; color: #92400E; font-size: 13px; font-weight: 600; }
.ipf-pay { display: grid; gap: 10px; }
.ipf-frame { width: 100%; height: 640px; border: 1px solid var(--ipf-line); border-radius: var(--ipf-r); background: #fff; }
.ipf-back { justify-self: start; padding: 6px 0; border: 0; background: none; color: var(--ipf-muted); font: inherit; font-size: 14px; cursor: pointer; }
.ipf-notice { padding: 16px 18px; border-radius: var(--ipf-r, 10px); background: #F6F8FB; border: 1px solid #DCE3EC; }
.ipf-result { padding: 24px; border-radius: var(--ipf-r); border: 1px solid var(--ipf-line); background: #fff; }
.ipf-result h3 { margin: 0 0 8px; color: var(--ipf-ink); }
.ipf-result--ok { border-top: 4px solid #1F9D6B; }
.ipf-result--bad { border-top: 4px solid #D64545; }
.ipf-result .ipf-submit { width: auto; }
@media (max-width: 520px) { .ipf-row { grid-template-columns: 1fr; } .ipf-frame { height: 700px; } }
