.psd-progress[hidden] {
  display: none !important;
}

.psd-progress {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 110000;
}

@supports (backdrop-filter: blur(8px)) {
  .psd-progress {
    backdrop-filter: blur(8px);
  }
}

.psd-progress__panel {
  background: #ffffff;
  border: 1px solid #e4e6ec;
  border-top: 4px solid var(--psd-partner-primary, #423682);
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 24px 70px rgba(36, 28, 82, 0.2);
  color: #241c52;
  max-width: 390px;
  padding: 34px 32px 30px;
  text-align: center;
  width: 100%;
}

.psd-progress__spinner {
  animation: psd-progress-spin 0.8s linear infinite;
  border: 4px solid #e8e7f0;
  border-radius: 50%;
  border-top-color: var(--psd-partner-primary, #423682);
  height: 46px;
  margin: 0 auto 22px;
  width: 46px;
}

.psd-progress__title {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.psd-progress__detail {
  color: #68637f;
  font-size: 15px;
  line-height: 1.55;
  margin: 9px 0 0;
}

body.psd-progress-open {
  overflow: hidden !important;
}

@keyframes psd-progress-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 520px) {
  .psd-progress {
    height: 100vh;
    padding: 18px;
    width: 100vw;
  }

  .psd-progress__panel {
    padding: 30px 22px 26px;
    width: calc(100vw - 36px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .psd-progress__spinner {
    animation-duration: 1.6s;
  }
}
