.rpm-paypal-checkout {
  width: 790px;
  max-width: calc(100% - 32px);
  margin: 26px auto 38px;
  padding: 24px 28px 28px;
  background: #f8fbff;
  border: 1px solid #cddfee;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(18, 69, 104, 0.14);
  box-sizing: border-box;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

.rpm-paypal-copy {
  margin-bottom: 20px;
}

.rpm-eyebrow {
  margin: 0 0 8px;
  color: #0c7fbe;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.rpm-paypal-copy h2 {
  margin: 0 0 10px;
  color: #055b8a;
  font-size: 24px;
  line-height: 1.2;
}

.rpm-paypal-copy p,
.rpm-help,
.rpm-result-message {
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.rpm-checkout-panel {
  padding: 20px;
  background: #ffffff;
  border: 1px solid #d7e3ee;
  border-radius: 7px;
}

.rpm-warning {
  margin-bottom: 16px;
  padding: 11px 13px;
  color: #704600;
  background: #fff4d2;
  border: 1px solid #f0cb76;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
}

.rpm-checkout-head p,
.rpm-checkout-panel label {
  display: block;
  margin: 15px 0 7px;
  color: #16435f;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.rpm-checkout-head p {
  margin-top: 0;
}

.rpm-checkout-head h3 {
  margin: 0 0 8px;
  color: #073a5a;
  font-size: 20px;
}

.rpm-checkout-head span {
  color: #536878;
  font-size: 14px;
  line-height: 1.45;
}

.rpm-amount-input {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #b8c9d7;
  border-radius: 5px;
  background: #fff;
}

.rpm-amount-input span {
  padding: 0 13px;
  color: #055b8a;
  font-size: 18px;
  font-weight: 700;
}

.rpm-checkout-panel input {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: #0f172a;
  background: #fff;
  border: 1px solid #b8c9d7;
  border-radius: 5px;
  box-sizing: border-box;
  font: inherit;
}

.rpm-amount-input input {
  border: 0;
  border-left: 1px solid #b8c9d7;
  border-radius: 0;
}

.rpm-paypal-field {
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #b8c9d7;
  border-radius: 5px;
  background: #fff;
  box-sizing: border-box;
}

.rpm-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rpm-pay-button {
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  color: #ffffff;
  background: #0c7fbe;
  border: 0;
  border-radius: 5px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.rpm-pay-button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.rpm-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.rpm-divider::before,
.rpm-divider::after {
  flex: 1;
  height: 1px;
  content: "";
  background: #d7e3ee;
}

.rpm-result-message {
  min-height: 22px;
  margin: 14px 0 0;
}

.rpm-result-message.success {
  color: #147d48;
  font-weight: 700;
}

.rpm-result-message.error {
  color: #b42318;
  font-weight: 700;
}

@media (max-width: 620px) {
  .rpm-paypal-checkout {
    padding: 18px;
  }

  .rpm-field-row {
    grid-template-columns: 1fr;
  }
}
