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

.splash-screen {
  display: none;
}

.page-loading .splash-screen {
  position: absolute;
  z-index: 1000;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: Inter, Helvetica, 'sans-serif';
  background-color: #f9f9f9;
  color: #5e6278;
  line-height: 1;
  font-size: 14px;
  font-weight: 400;
}

.page-loading .splash-screen span {
  color: #5e6278;
  transition: none !important;
  -webkit-font-smoothing: antialiased;
}

/* Poça mark: the rings turn while the app loads (the word stays still) */
.poca-mark { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.page-loading .splash-screen .poca-mark img { margin: 0; }
.poca-rings-wrap { position: relative; display: inline-block; height: 64px; width: 64px; }
.poca-mark .poca-rings { height: 64px; width: 64px; display: block; }
.poca-orbit { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); overflow: visible; pointer-events: none; }
.poca-mark .poca-word { height: 40px; width: auto; }
@media (prefers-reduced-motion: reduce) { .poca-orbit { display: none; } }

html[data-bs-theme='dark'] .page-loading .splash-screen {
  background-color: #151521;
  color: #ffffff;
}

.splash-screen .dark-logo {
  display: none;
}

.splash-screen .light-logo {
  display: block;
}

html[data-bs-theme='dark'] .splash-screen .light-logo {
  display: none;
}

html[data-bs-theme='dark'] .splash-screen .dark-logo {
  display: block;
  max-height: 70px;
}

/* the mark is a row (rings + word): keep it flex when the theme rule shows it */
.splash-screen .poca-mark.light-logo, html[data-bs-theme='dark'] .splash-screen .poca-mark.dark-logo { display: flex; }
