body {
  margin: 0;
  padding: 0;
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: 'Inter', 'Noto Sans Thai', sans-serif;
  background-color: #f7f7f8;
  color: #27364a;
  line-height: 1;
  font-size: 12px;
  font-weight: 700;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.splash-screen span {
  color: #27364a;
  margin-top: 18px;
  transition: none !important;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

.splash-screen img {
  display: block;
}

.splash-logo {
  width: 176px;
  max-width: 64vw;
  height: auto !important;
  margin-bottom: 28px;
}

.splash-spinner {
  width: 52px;
  height: 52px;
  border: 8px solid rgba(229, 231, 235, 0.9);
  border-top-color: #a9abad;
  border-radius: 50%;
  animation: splash-spin 900ms linear infinite;
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

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

[data-bs-theme="dark"] .splash-screen {
  background-color: #f7f7f8;
  color: #27364a;
}

[data-bs-theme="dark"] .splash-screen span {
  color: #27364a;
}


#root {
  opacity: 1;
  transition: opacity 1s ease-in-out;
}
