/**
 * Salkantay Treks Peru - PayPal Payments Page
 */

.stp-paypal-page {
  background: #f8fafc;
}

.stp-paypal-section {
  padding: 5rem 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.stp-paypal-intro {
  max-width: 680px;
}

.stp-paypal-intro-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: #2d6a4f;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stp-paypal-intro-title {
  color: #102a43;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
}

.stp-paypal-intro-copy {
  color: #52616b;
  font-size: 1rem;
  line-height: 1.7;
}

.stp-paypal-card {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(16, 42, 67, 0.12);
  overflow: hidden;
}

.stp-paypal-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem;
  border-bottom: 1px solid #e6edf3;
  background: #f8fafc;
}

.stp-paypal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2d6a4f;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stp-paypal-title {
  margin: 0.35rem 0 0;
  color: #102a43;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
}

.stp-paypal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #e7f5ef;
  color: #1b5e3b;
  font-size: 0.82rem;
  font-weight: 800;
}

.stp-paypal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 0;
}

.stp-paypal-fields,
.stp-paypal-checkout {
  padding: 1.5rem;
}

.stp-paypal-checkout {
  border-left: 1px solid #e6edf3;
  background: #fbfdff;
}

.stp-paypal-field {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: #243b53;
  font-size: 0.9rem;
  font-weight: 800;
}

.stp-paypal-input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #102a43;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stp-paypal-input:focus {
  border-color: #2d6a4f;
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.14);
  outline: none;
}

.stp-paypal-amount-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
}

.stp-paypal-currency {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1rem;
  border: 1px solid #cbd5e1;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #f1f5f9;
  color: #52616b;
  font-weight: 800;
}

.stp-paypal-amount-input {
  border-radius: 0 8px 8px 0;
}

.stp-paypal-note,
.stp-paypal-helper {
  margin: 0 0 1rem;
  color: #627d98;
  font-size: 0.92rem;
  line-height: 1.6;
}

.stp-paypal-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.stp-paypal-alert[hidden] {
  display: none;
}

.stp-paypal-alert-success {
  border: 1px solid #b7e4c7;
  background: #effaf3;
  color: #1b5e3b;
}

.stp-paypal-alert-error {
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #991b1b;
}

.stp-paypal-total-box {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1rem;
  padding: 1.15rem;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #ffffff;
}

.stp-paypal-total-box span {
  color: #627d98;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stp-paypal-total-box strong {
  color: #102a43;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
}

.stp-paypal-buttons {
  min-height: 150px;
}

.stp-paypal-trust-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.stp-paypal-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #334e68;
  line-height: 1.55;
}

.stp-paypal-trust-list i {
  margin-top: 0.2rem;
  color: #2d6a4f;
}

@media (max-width: 991.98px) {
  .stp-paypal-section {
    padding: 3.5rem 0;
  }

  .stp-paypal-grid {
    grid-template-columns: 1fr;
  }

  .stp-paypal-checkout {
    border-top: 1px solid #e6edf3;
    border-left: 0;
  }
}

@media (max-width: 575.98px) {
  .stp-paypal-card-header,
  .stp-paypal-fields,
  .stp-paypal-checkout {
    padding: 1.15rem;
  }

  .stp-paypal-card-header {
    flex-direction: column;
  }

  .stp-paypal-intro-title,
  .stp-paypal-total-box strong {
    font-size: 1.65rem;
  }
}
