.fpc-checkout {
  width: 100%;
  max-width: 620px;
  margin: 2rem auto;
  color: #172033;
  font-family: inherit;
}

.fpc-checkout__shell {
  background: #ffffff;
  border: 1px solid #dfe5ee;
  box-shadow: 0 10px 30px rgba(23, 32, 51, .08);
  padding: 24px;
}

.fpc-checkout__header {
  border-bottom: 1px solid #edf1f6;
  margin: 0 0 18px;
  padding: 0 0 14px;
}

.fpc-checkout__title {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  color: #172033;
}

.fpc-checkout__note {
  margin: 0;
  color: #607086;
  font-size: 13px;
  line-height: 1.65;
}

.fpc-checkout__methods {
  display: grid;
  gap: 16px;
}

.fpc-checkout__method {
  border: 1px solid #edf1f6;
  background: #fbfcfe;
}

.fpc-checkout__method-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #edf1f6;
}

.fpc-checkout__method-label {
  color: #172033;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.fpc-checkout__method-helper {
  color: #7b8798;
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}

.fpc-checkout__method-body {
  padding: 14px;
}

.fpc-checkout__stripe {
  min-height: 48px;
}

.fpc-checkout__paypal,
.fpc-paypal-button,
.fpc-paypal-inline {
  max-width: 420px;
  margin: 12px auto;
}

.fpc-paypal-button {
  min-height: 48px;
}

.fpc-checkout__error,
.fpc-pay-error {
  padding: 14px 16px;
  border: 1px solid #d64f45;
  background: #fff7f6;
  color: #8a211b;
  font-size: 14px;
  line-height: 1.6;
}

.fpc-pay-error {
  max-width: 560px;
  margin: 10px auto;
}

.fpc-pay-button,
.fpc-pay-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--fpc-button-radius, 4px);
  background: var(--fpc-button-bg, #0f7fdd);
  color: var(--fpc-button-text, #fff) !important;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  box-shadow: 0 8px 18px rgba(15, 127, 221, .18);
  transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
}

.fpc-pay-button:hover,
.fpc-pay-link:hover {
  filter: brightness(.94);
  color: var(--fpc-button-text, #fff) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 127, 221, .22);
}

.fpc-pay-button.is-loading {
  opacity: .72;
  pointer-events: none;
}

@media (max-width: 560px) {
  .fpc-checkout {
    margin: 1.25rem auto;
  }

  .fpc-checkout__shell {
    padding: 16px;
  }

  .fpc-checkout__method-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .fpc-checkout__method-helper {
    text-align: left;
  }
}
