/* Loader CSS - Splash screen pendant le chargement de l'application */
:root {
  --initial-loader-bg: #FFFFFF;
  --initial-loader-color: #696CFF;
}

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

.loading-logo {
  margin-bottom: 2rem;
}

.loading-logo svg {
  width: 80px;
  height: 80px;
}

.loading {
  width: 80px;
  height: 80px;
  position: relative;
}

.effects {
  border-radius: 50%;
  position: absolute;
  border: 3px solid transparent;
  border-top-color: var(--initial-loader-color);
}

.effect-1 {
  width: 100%;
  height: 100%;
  animation: rotate 1s ease infinite;
}

.effect-2 {
  width: 75%;
  height: 75%;
  top: 12.5%;
  left: 12.5%;
  animation: rotateOpacity 1s ease infinite 0.1s;
  border-top-color: var(--initial-loader-color);
  opacity: 0.7;
}

.effect-3 {
  width: 50%;
  height: 50%;
  top: 25%;
  left: 25%;
  animation: rotateOpacity 1s ease infinite 0.2s;
  border-top-color: var(--initial-loader-color);
  opacity: 0.5;
}

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

@keyframes rotateOpacity {
  0% {
    transform: rotate(0deg);
    opacity: 0.1;
  }
  100% {
    transform: rotate(360deg);
    opacity: 1;
  }
}
