#ty-inline-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 2147483647;
  padding: 6px 20px 0;
  box-sizing: border-box;
  font-family: Inter, 'Open Sans', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Progress bar */
.ty-progress-bar-wrapper {
  margin-top: 2px;
  height: 4px;
  width: 100%;
  background-color: #fff;
  max-width: 558px;
}

@media (width <= 934px) {
  .ty-progress-bar-wrapper {
    max-width: 100%;
  }
}

.ty-progress-bar {
  height: 4px;
  width: 90%;
  background: var(--ty-primary, #21336f);
}

/* Mobile bar wrapper */
.ty-mobile-progress-bar-wrapper {
  width: 100%;
}

.ty-mobile-progress-bar-wrapper .ty-progress-bar-wrapper {
  width: 100%;
  max-width: 100%;
  position: absolute;
  left: 0;
}

/* Logo header */
#ty-checkout-header {
  width: 100%;
}

@media (width <= 934px) {
  #ty-checkout-header {
    min-height: 0;
  }
}

#ty-checkout-logo-wrapper {
  display: flex;
  align-items: center;
  height: 32px;
  width: 100%;
  justify-content: flex-start;
  max-width: 558px;
  min-width: 558px;
  margin: 25px auto;
}

#ty-checkout-logo img {
  height: 32px;
  width: auto;
  max-height: 32px;
}

@media (width <= 934px) {
  #ty-checkout-logo img {
    height: 24px;
    max-height: 24px;
  }

  #ty-checkout-logo-wrapper {
    margin: 14px 0;
  }
}

/* Main loader content */
#ty-payment-loader {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#ty-payment-loader-image {
  width: 180px;
  height: 180px;
  margin-bottom: 20px;
  animation: ty_pulse 2s infinite;
}

#ty-payment-loader-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes ty_pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

#ty-payment-loader-text p {
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  text-align: center;
  color: #000;
  margin: 0 0 3px;
  letter-spacing: -0.24px;
}

#ty-payment-loader-text strong {
  display: block;
  margin-bottom: 10px;
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 22px;
  color: #000;
}
