body {
  margin: 0;
}

html {
  overflow-x: hidden;
  overflow-y: scroll;
}

#loading-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--initial-loader-bg, #f4f5fa);
  z-index: 9999;
}

.simple-loader {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(232, 141, 0, 0.1);
  border-top: 4px solid var(--initial-loader-color, #E88D00);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 4px 12px rgba(232, 141, 0, 0.15);
}

@keyframes spin {
  0% { 
    transform: rotate(0deg); 
  }
  100% { 
    transform: rotate(360deg); 
  }
}

/* Fade out animation when loading completes */
#loading-bg.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}
