body {
  margin: 0;
  padding: 0;
}

.splash-screen {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(244, 245, 244, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.global-loader-inner {
  animation: zoomIn 0.3s ease-in-out;
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.loader-runner-container {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.loader-spinning-ring {
  position: absolute;
  top: -15%;
  right: -15%;
  bottom: -15%;
  left: -15%;
  animation: spinRing 1.5s linear infinite;
}

.loader-spinning-ring svg {
  width: 100%;
  height: 100%;
}

@keyframes spinRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.opacity-20 {
  opacity: 0.2;
}

.loader-gif-container {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 50%;
  overflow: hidden;
}

.loader-gif {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  position: relative;
}

.loader-text {
  font-size: 0.8125rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-right: -0.25em;
  /* Compensate for letter-spacing on the last character */
  transform: translateX(-8px);
  /* Shift left to center the word ignoring the trailing dots */
  display: inline-block;
  color: #003D30;
}

/* Optional dark mode adjustment */
[data-bs-theme="dark"] .splash-screen {
  background-color: rgba(30, 30, 30, 0.3);
}

[data-bs-theme="dark"] .loader-gif-container {
  /* Using multiply in dark mode might make it too dark or disappear if the GIF has white bg.
     We will keep it for now. */
}