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 {
  position: absolute;
  z-index: 99999;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  padding-top: clamp(6rem, 20vh, 12rem);
  font-family: Inter, Helvetica, 'sans-serif';
  background-color: #fff;
}


.splash-screen img {
  max-height: 72px;
  /* desktop */
  height: auto;
  width: auto;
}

@media (max-width: 992px) {

  /* tablet */
  .splash-screen img {
    max-height: 60px;
  }
}

@media (max-width: 576px) {

  /* mobile */
  .splash-screen img {
    max-height: 45px;
  }
}


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;
}

.loading-bar {
  position: relative;
  margin-top: 2.5rem;
  width: min(18rem, 80vw);
  height: 0.175rem;
  border-radius: 999px;
  background: rgba(255, 145, 0, 0.15);
  /* Fondo más sutil */
  overflow: hidden;
  box-shadow: 0 0 8px rgba(255, 139, 23, 0.1);
  /* Sutil glow */
}

.loading-bar__indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #ff8b17;
  animation: loading-bar-slide 1.4s ease-in-out infinite;
}

@keyframes loading-bar-slide {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}