/* Styles pour le loader avec logo */
.app-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f8f9fa;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.app-loader.loaded,
.app-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none;
}

body.app-loaded .app-loader {
  display: none;
  opacity: 0;
  visibility: hidden;
}

.app-loader-logo {
  width: 120px;
  height: auto;
  animation: pulse 1.5s infinite;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 123, 255, 0.2);
  border-top-color: #007bff;
  border-radius: 50%;
  animation: spin 1s ease-in-out infinite;
}

.loader-text {
  margin-top: 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #007bff;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

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