.spm-paypal-checkout {
  padding: 80px 0;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.spm-paypal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.65fr);
  gap: 48px;
  align-items: start;
}

.spm-paypal-copy h2 {
  margin: 0 0 18px;
  color: #0f3b57;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.spm-eyebrow {
  margin: 0 0 12px;
  color: #0284c7;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.spm-paypal-copy p {
  color: #526173;
  font-size: 1.05rem;
  line-height: 1.7;
}

.spm-pay-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.spm-pay-tags span {
  padding: 10px 14px;
  color: #0f3b57;
  background: #eaf7ff;
  border: 1px solid #c7e8fb;
  border-radius: 999px;
  font-weight: 700;
}

.spm-checkout-panel {
  padding: 28px;
  background: #ffffff;
  border: 1px solid #d7e7f1;
  border-radius: 10px;
  box-shadow: 0 22px 60px rgba(9, 70, 110, 0.16);
}

.spm-warning {
  margin-bottom: 16px;
  padding: 12px 14px;
  color: #704600;
  background: #fff4d2;
  border: 1px solid #f0cb76;
  border-radius: 6px;
  font-weight: 700;
}

.spm-checkout-head p,
.spm-checkout-panel label {
  display: block;
  margin: 16px 0 7px;
  color: #0f3b57;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.spm-checkout-head p {
  margin-top: 0;
  color: #0284c7;
}

.spm-checkout-head h3 {
  margin: 0 0 8px;
  color: #102a43;
  font-size: 1.35rem;
}

.spm-checkout-head span,
.spm-help,
.spm-result-message {
  color: #5f6f80;
  line-height: 1.5;
}

.spm-amount-input {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #b9cfdd;
  border-radius: 7px;
  background: #fff;
}

.spm-amount-input span {
  padding: 0 14px;
  color: #0284c7;
  font-size: 1.2rem;
  font-weight: 800;
}

.spm-checkout-panel input {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: #102a43;
  background: #fff;
  border: 1px solid #b9cfdd;
  border-radius: 7px;
  font: inherit;
}

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

.spm-paypal-field {
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #b9cfdd;
  border-radius: 7px;
  background: #fff;
}

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

.spm-pay-button {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  color: #ffffff;
  background: #0284c7;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

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

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

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

.spm-result-message.success {
  color: #147d48;
  font-weight: 800;
}

.spm-result-message.error {
  color: #b42318;
  font-weight: 800;
}

@media (max-width: 900px) {
  .spm-paypal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .spm-checkout-panel {
    padding: 20px;
  }

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