html {
  height: 100%;
  margin: 0;
  background: #fafaf8;
}

html.dark {
  background: #0f141a;
}

body,
#root {
  height: 100%;
  margin: 0;
  background: inherit;
}

.initial-loader {
  min-height: 100vh;
  background: #fafaf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.initial-loader .spinner {
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  border: 4px solid #1d4ed8;
  border-top-color: transparent;
  border-radius: 50%;
  animation: initial-spin 1s linear infinite;
}

.initial-loader .text {
  margin: 0;
  padding: 0;
  color: #7c7c75;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

html.dark .initial-loader {
  background: #0f141a;
}

html.dark .initial-loader .text {
  color: #9c9c95;
}

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