.hayashi-processing {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.hayashi-processing[hidden] {
  display: none !important;
}

.hayashi-processing__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
}

.hayashi-processing__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 22rem;
  text-align: center;
}

.hayashi-processing__spinner {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
}

.hayashi-processing__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #38bdf8;
  border-right-color: #7dd3fc;
  animation: hayashi-spin 0.9s linear infinite;
}

.hayashi-processing__ring--delay {
  inset: 0.35rem;
  border-top-color: #0ea5e9;
  border-right-color: transparent;
  border-bottom-color: #bae6fd;
  animation-duration: 1.2s;
  animation-direction: reverse;
}

.hayashi-processing__icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 2.25rem;
  height: 2.25rem;
  color: #1e3a5f;
}

.hayashi-processing__text {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}

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