:root {
  --accent: #79c2d0;
}


:root {
  --accent: #044368;   
  --accent-hover: #044368;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #79c2d0;
    --accent-hover: #79c2d0;
  }
}

#loading-overlay {
  position: fixed;
  inset: 0;
  background-color: color-mix(in srgb, var(--bg) 80%, transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#loading-overlay[hidden] {
  display: none;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 5px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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