/* PayPal pairs its blue wordmark with dark text in Pay Later messages. */
#ps_checkout-paypal-pay-later-message-product:has(iframe),
#ps_checkout-paypal-pay-later-message-cart:has(iframe),
#ps_checkout-paypal-pay-later-message-payment:has(iframe) {
  max-width: 34rem;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: #f5f5f5;
}

/* The PayPal SDK renders the Pay Later label inside a white payment badge. */
#ps_checkout-payment-method-logos-container .paypal-mark .paypal-button-text {
  color: #222;
}

/* Keep the active contact form identifiable when focus moves into its fields. */
#checkout #wrapper .sj-checkout-account-actions > [aria-current="page"] {
  background-color: #555;
  color: #fff;
}
#checkout #wrapper .sj-checkout-account-actions > [data-sj-checkout-mode]:focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 3px;
}
