/* Unified operation feedback, loaded after legacy loading styles. */
.loading-overlay {
  background: rgba(3, 3, 5, .72) !important;
  backdrop-filter: blur(10px) !important;
}

.loading-box {
  position: relative;
  display: grid !important;
  justify-items: stretch !important;
  width: min(390px, calc(100vw - 32px)) !important;
  min-width: 0 !important;
  gap: 16px !important;
  padding: 22px !important;
  overflow: hidden;
  border: 1px solid #34343b !important;
  border-radius: 8px !important;
  background: #111116 !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .56) !important;
  text-align: left !important;
}

.loading-box::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #a855f7;
  content: "";
}

.loading-mark {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
}
.loading-mark span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a855f7;
  animation: DarkFlow-loading-pulse 1.1s ease-in-out infinite;
}
.loading-mark span:nth-child(2) { animation-delay: .14s; }
.loading-mark span:nth-child(3) { animation-delay: .28s; }

.loading-copy { display: grid; gap: 6px; }
.loading-copy small {
  color: #a855f7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.loading-copy strong {
  color: #f5f2f3;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.08;
}
.loading-copy span {
  color: #aaa6ad;
  font-size: 13px;
  line-height: 1.45;
}

.loading-progress {
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: #2b2b31;
}
.loading-progress i {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: #a855f7;
  animation: DarkFlow-loading-run 1.15s ease-in-out infinite;
}
.loading-box > p {
  margin: 0;
  color: #77747c;
  font-size: 11px;
  line-height: 1.35;
}

@keyframes DarkFlow-loading-pulse {
  0%, 100% { opacity: .28; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1); }
}
@keyframes DarkFlow-loading-run {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(300%); }
}

@media (max-width: 700px) {
  .loading-box { width: min(360px, calc(100vw - 28px)) !important; padding: 20px !important; }
  .loading-copy strong { font-size: 20px; }
}
