@import "https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap";

body {
  margin: 0;
}

html {
  font-family: roboto, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  overflow-y: scroll;
}

#loading {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--initial-loader-bg, #fff);
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}

.modern-loader {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--initial-loader-color, #012c6d);
  animation: pulse-scale 1.4s ease-in-out infinite;
}

.pulse-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.pulse-dot:nth-child(2) {
  animation-delay: -0.16s;
}

.pulse-dot:nth-child(3) {
  animation-delay: 0;
}

@keyframes pulse-scale {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Alternative modern loader style - uncomment to use */
/*
.modern-loader {
  width: 48px;
  height: 48px;
  border: 3px solid var(--initial-loader-bg, #fff);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.modern-loader::after {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-bottom-color: var(--initial-loader-color, #012c6d);
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
*/