:root {
  color-scheme: light;
  --rp-front-paper: #fff;
  --rp-front-surface: #edf2f4;
  --rp-front-ink: #202224;
  --rp-front-muted: #52575b;
  --rp-front-line: #d8dcdf;
  --rp-front-field-line: #b8c2cb;
  --rp-front-field-muted: #606b79;
  --rp-front-green: #087e39;
  --rp-front-blue: #0565b7;
  --rp-front-shadow: 0 2px 5px #15273a10, 0 6px 16px #15273a17;
  font: 16px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--rp-front-ink);
  background: var(--rp-front-surface);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
input, select, button { font: inherit; }
:is(input, select, button):focus-visible { outline: 2px solid var(--rp-front-blue); outline-offset: 2px; }
.rp-native-front { width: min(100%, 418px); min-width: 0; margin: 0 auto; }
.rp-front-content { display: grid; gap: 14px; min-width: 0; padding: 14px 13px 26px; }
.rp-front-alert {
  display: grid;
  justify-items: center;
  gap: 1px;
  padding: 6px 10px 8px;
  background: #d50024;
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.rp-front-alert time { font-size: 17px; font-variant-numeric: tabular-nums; }
.rp-front-alert[data-expired='true'] { background: #e3e7e6; color: #384741; }
.rp-front-banner {
  display: block;
  width: calc(100% - 26px);
  height: auto;
  aspect-ratio: 21 / 10;
  margin: 4px auto 0;
  border-radius: 7px;
  object-fit: contain;
}
.rp-front-heading { padding: 13px 13px 0; }
.rp-front-heading h1 { margin: 0; font-size: 19px; line-height: 1.3; overflow-wrap: anywhere; }
.rp-front-heading p { margin: 5px 0 0; font-size: 15px; color: var(--rp-front-muted); overflow-wrap: anywhere; }
#checkout-form { gap: 30px; padding-top: 25px; }
.rp-front-card, .rp-front-confirmation {
  position: relative;
  min-width: 0;
  padding: 34px 18px 22px;
  border-radius: 12px;
  background: var(--rp-front-paper);
  box-shadow: var(--rp-front-shadow);
}
.rp-front-step {
  position: absolute;
  top: 0;
  left: 16px;
  display: flex;
  align-items: center;
  max-width: calc(100% - 32px);
  transform: translateY(-50%);
}
.rp-front-step span {
  z-index: 1;
  display: grid;
  flex: none;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #b4b8bb;
  color: #272b2e;
  font-size: 17px;
  font-weight: 750;
}
.rp-front-step h2 {
  margin: 0 0 0 -4px;
  padding: 4px 21px 4px 14px;
  border-radius: 0 99px 99px 0;
  background: #d5d8db;
  color: #33383b;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.rp-front-fields { display: grid; gap: 18px; min-width: 0; }
.rp-front-fields label {
  display: grid;
  gap: 8px;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.rp-native-front .rp-front-fields :is(input, select.rp-pix-type) {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--rp-front-field-line);
  border-radius: 8px;
  background: var(--rp-front-paper);
  color: var(--rp-front-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}
.rp-front-fields input::placeholder { color: var(--rp-front-field-muted); opacity: 1; }
.rp-front-fields small { margin-top: -9px; color: var(--rp-front-muted); font-size: 13px; }
.rp-pix-choice { position: relative; display: block; min-width: 0; }
.rp-native-front .rp-front-fields select.rp-pix-type {
  appearance: none;
  display: block;
  min-height: 50px;
  padding-inline: 49px 39px;
  color: var(--rp-front-field-muted);
  cursor: pointer;
}
.rp-native-front .rp-front-fields select.rp-pix-type:valid {
  border-color: #8caac2;
  color: #1c4567;
  font-weight: 600;
}
.rp-native-front .rp-front-fields :is(input, select.rp-pix-type):focus {
  border-color: var(--rp-front-blue);
  box-shadow: 0 0 0 3px #0565b721;
}
.rp-pix-choice-icon {
  position: absolute;
  inset-inline-start: 10px;
  top: 50%;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 6px;
  background: #e8f3fc;
  color: var(--rp-front-blue);
  pointer-events: none;
}
.rp-pix-choice-icon svg { width: 17px; height: 17px; }
.rp-pix-choice::after {
  position: absolute;
  inset-inline-end: 17px;
  top: calc(50% - 6px);
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  border: solid var(--rp-front-blue);
  border-width: 0 2px 2px 0;
  content: '';
  pointer-events: none;
}
@media (forced-colors: active) {
  .rp-native-front .rp-front-fields select.rp-pix-type { appearance: auto; padding-inline: 12px; }
  .rp-pix-choice-icon, .rp-pix-choice::after { display: none; }
}
.rp-front-values { display: grid; margin: 0; }
.rp-front-values > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
  align-items: start;
  gap: 8px;
  padding: 8px 0;
  color: var(--rp-front-muted);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.rp-front-values dt { font-weight: 680; }
.rp-front-values dd { margin: 0; color: var(--rp-front-ink); text-align: right; font-weight: 750; font-variant-numeric: tabular-nums; }
.rp-front-values :is(.rp-front-credit, .rp-front-credit dd) { color: #176f40; }
.rp-front-actions { margin-top: -8px; padding: 16px 18px 18px; text-align: center; }
.rp-front-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 45px;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: var(--rp-front-green);
  color: var(--rp-front-button-ink, #fff);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
}
#pay-button { font-size: 13px; text-transform: uppercase; }
.rp-front-button:not(:disabled):hover { filter: brightness(.86); }
.rp-front-button:disabled { background: #626b66; cursor: not-allowed; }
.rp-front-button.is-copied { box-shadow: inset 0 0 0 2px currentColor; }
.rp-front-security {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 12px 0 0;
  color: #176f40;
  font-size: 12px;
  font-weight: 700;
}
:is(.rp-front-button, .rp-front-security, .rp-front-guide li) svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rp-front-security svg { width: 14px; height: 14px; }

.rp-front-guide-title {
  display: grid;
  min-height: 62px;
  place-items: center;
  padding: 13px 12px;
  background: var(--rp-front-paper);
  font-size: 19px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
}
.rp-front-guide-title h2 { margin: 0; font: inherit; }
.rp-front-available {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  margin: 0 0 -4px;
  color: var(--rp-front-ink);
  font-size: 15px;
  font-weight: 750;
}
.rp-front-available svg { width: 22px; height: 22px; flex: none; color: #087e59; }
.rp-front-available[data-available='false'] svg { color: #596568; }
.rp-front-amounts { padding: 5px 15px; background: var(--rp-front-paper); }
.rp-front-amounts > div { padding: 11px 0; }
.rp-front-amounts > div + div { border-top: 1px solid #eceeef; }
.rp-front-copy-card { min-width: 0; background: var(--rp-front-paper); }
.rp-front-expiry {
  margin: 0;
  padding: 11px 8px;
  border-bottom: 1px solid #e6e9eb;
  color: var(--rp-front-muted);
  font-size: 13px;
  text-align: center;
}
.rp-front-expiry time { display: inline-block; min-width: 5ch; color: #b0001e; font-weight: 750; font-variant-numeric: tabular-nums; }
.rp-front-copy-content { display: grid; gap: 14px; min-width: 0; padding: 15px; }
.rp-front-copy-content label { max-width: 245px; margin: 0 auto; font-size: 15px; font-weight: 750; line-height: 1.4; text-align: center; }
.rp-front-code {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  overflow: hidden;
  border: 1px solid #a9afb2;
  border-radius: 6px;
  background: #fff;
  color: var(--rp-front-muted);
  text-overflow: ellipsis;
}
.rp-front-status { margin: 0; padding: 0 4px; color: var(--rp-front-muted); font-size: 13px; text-align: center; overflow-wrap: anywhere; }
.rp-front-status:empty { display: none; }
.rp-front-status[data-tone='error'] { color: #822e27; }
.rp-front-guide { margin: 12px 0 0; color: var(--rp-front-muted); }
.rp-front-guide h3 {
  margin: 0 0 16px;
  padding-bottom: 5px;
  border-bottom: 1px solid #aeb7bc;
  font-size: 15px;
  font-weight: 500;
}
.rp-front-guide ol { display: grid; gap: 17px; margin: 0; padding: 0; list-style: none; }
.rp-front-guide li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.rp-front-guide li span {
  display: grid;
  place-items: center;
  flex: 0 0 41px;
  height: 41px;
  border-radius: 50%;
  background: var(--rp-front-blue);
  color: #fff;
}
.rp-front-guide li svg { width: 23px; height: 23px; }
.rp-front-guide strong { color: #353a3e; }
.checkout-error { padding: 10px 12px; border: 1px solid #ecc6c2; border-radius: 8px; background: #fff2f1; color: #822e27; overflow-wrap: anywhere; }
.checkout-error:empty { display: none; }
.rp-front-confirmation { margin: 24px 13px; padding: 18px; text-align: center; }
.rp-front-confirmation h2 { margin: 0; font-size: 19px; }
.rp-front-confirmation p { margin: 6px 0 14px; }
