/* CrashBoard 2.0 - Spinner global */

.cb-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: rgba(7, 12, 24, .58);
  backdrop-filter: blur(3px);
}

.cb-loading-overlay[hidden] {
  display: none !important;
}

.cb-loading-spinner {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(122, 157, 255, .18);
  border-top-color: #7197ff;
  border-right-color: #7197ff;
  border-radius: 50%;
  animation: cb-spin .75s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .cb-loading-spinner {
    animation-duration: 1.8s;
  }
}


/* CRASHBOARD FULL THEME HARMONY V2 */

.cb-loading-overlay {
  background: color-mix(
    in srgb, var(--bg) 65%, transparent
  );
}

.cb-loading-spinner {
  border-color: color-mix(
    in srgb, var(--accent) 20%, transparent
  );
  border-top-color: var(--accent);
  border-right-color: var(--accent);
}

