.loading-card {
  border: 1px solid #d8e3f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 48px rgb(15 37 70 / 18%);
}
.loading-dialog {
  position: fixed;
  box-sizing: border-box;
  max-width: calc(100% - 32px);
  padding: 26px 30px;
  outline: none;
}
.loading-dialog::backdrop { background: rgb(15 34 62 / 32%); }
.loading-dialog-content {
  display: grid;
  justify-items: center;
  gap: 14px;
  color: #172842;
  text-align: center;
  overflow-wrap: anywhere;
}
.loading-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.loading-dots {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  place-items: center;
  flex: none;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  color: #2563eb;
  transform: rotate(45deg);
  animation: loading-dots-rotate 1.2s linear infinite;
}
.loading-dots-large { font-size: 34px; }
.loading-dots > i {
  width: 75%;
  height: 75%;
  border-radius: 50%;
  background: currentColor;
  opacity: .3;
  animation: loading-dot-pulse 1s linear infinite alternate;
}
.loading-dots > i:nth-child(2) { animation-delay: .4s; }
.loading-dots > i:nth-child(3) { animation-delay: 1.2s; }
.loading-dots > i:nth-child(4) { animation-delay: .8s; }
.ant-btn .loading-dots { color: inherit; }

@keyframes loading-dots-rotate { to { transform: rotate(405deg); } }
@keyframes loading-dot-pulse { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .loading-dots, .loading-dots > i { animation: none; }
  .loading-dots > i:first-child { opacity: .8; }
}
