/* BTM Equip web - loading screen shown until Flutter renders its first frame. */
html, body {
  margin: 0;
  height: 100%;
  background: #ffffff;
}

#btm-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #ffffff;
  font-family: Roboto, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #44505c;
  transition: opacity 0.25s ease;
}

#btm-loading.btm-hide {
  opacity: 0;
  pointer-events: none;
}

#btm-loading img {
  width: 160px;
  height: 160px;
  object-fit: contain;
}

#btm-loading p {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.2px;
}

.btm-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 4px solid #d6e4f0;
  border-top-color: #1d71ad;
  animation: btm-spin 0.9s linear infinite;
}

.btm-noscript {
  max-width: 320px;
  text-align: center;
  color: #b3261e;
}

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

@media (prefers-reduced-motion: reduce) {
  .btm-spinner {
    animation-duration: 2.5s;
  }
}
