/* loader.css */
/*html.loading,*/
/*body.loading {*/
/*  overflow: hidden;*/
/*}*/

#loader {
  position: fixed;
  inset: 0;
  background: #0a0a0a; /* or your brand color */
  display: grid;
  place-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid #444;
  border-top-color: #00ffcc; /* TwinCode teal? */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}