html {
  font-size: 13px;
  font-weight: 400;
  font-family: Inter, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.page-loading {
  margin: 0;
  height: 100%;
  overflow: hidden;
  transition: none !important;
}

.splash-screen {
  display: none;
}

.page-loading .splash-screen,
.splash-screen-initializing {
  position: fixed;
  inset: 0;
  z-index: 99999;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: Inter, Helvetica, 'sans-serif';
  background-color: var(--splash-background, #fff);
}

.splash-screen .loading-text {
  color: var(--splash-foreground, #536078);
  margin-left: 1.25rem;
  font-size: 1.075rem;
  font-weight: 500;
}

html[data-bs-theme='dark'] .splash-screen {
  background-color: var(--splash-background-dark, #000000);
  color: var(--splash-foreground-dark, #ffffff);
}

#splash-screen-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100vw - 48px);
}

.splash-brand-bootstrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 220px;
  max-width: 100%;
}

.splash-brand-bootstrap img,
.splash-brand-bootstrap canvas {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.splash-brand-bootstrap [hidden],
body:has(#splash-screen-react) > #splash-screen {
  display: none;
}

html[data-bs-theme='dark'] .splash-screen .loading-text {
  color: var(--splash-foreground-dark, #ffffff);
}

.loader {
  width: 2rem;
  height: 2rem;
  border: 0.185rem solid #1b84ff;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 0.65s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loader-wrapper {
  display: flex;
  align-items: center;
  margin-top: 1.25rem;
}
