/* Extra chrome that the reference pages do not ship: error banner + spinner overlay. */
.paypal-logo {
  background: transparent url(/pp-static/assets/paypal-wordmark.svg) top left no-repeat !important;
  background-size: 100px 27px !important;
  width: 100px !important;
  height: 32px !important;
}
.pp-alert {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #d9364f;
  border-radius: 6px;
  background: #fff2f4;
  color: #a4243b;
  font-size: 13px;
  line-height: 1.45;
}
.pp-alert::before {
  content: "!";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  background: #d9364f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.pp-alert[hidden] {
  display: none;
}
.pp-alert.pp-info {
  border-color: #0070e0;
  background: #f0f7ff;
  color: #0551b5;
}
.pp-alert.pp-info::before {
  background: #0070e0;
}
#otpCode.pp-invalid input {
  outline: 1px solid #d9364f;
  outline-offset: -1px;
  border-color: #d9364f;
}
.pp-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(255 255 255 / 72%);
}
.pp-overlay[hidden] {
  display: none;
}
.pp-overlay-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 22px 30px;
  box-shadow: 0 12px 40px rgb(0 0 0 / 18%);
  font-family: "PayPalPlain", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: #001435;
}
.pp-overlay-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #dfe6ee;
  border-top-color: #0070e0;
  border-radius: 50%;
  animation: pp-rotate 0.8s linear infinite;
}
@keyframes pp-rotate {
  to {
    transform: rotate(360deg);
  }
}
