/* frontend/css/components/loading-overlay.css */
/* ═══════════════════════════════════════════════════════════════════════════
   Plateby — Loading Overlay + Spinner
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Loading Overlay ──────────────────────────────────────────────────────── */
#loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
#loading-overlay.active { display: flex; }
.loading-spinner {
  width: 48px; height: 48px;
  border: 4px solid var(--surface-2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text {
  font-size: 15px;
  color: var(--text-2);
  font-weight: 500;
}
