/* Animation de chargement moderne */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.app-loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

.loading-content {
  text-align: center;
  animation: fadeIn 0.6s ease-out forwards;
}

.loading-logo {
  font-size: 4rem;
  font-weight: 800;
  color: #dc3545;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(220, 53, 69, 0.1);
  animation: pulse 2s infinite ease-in-out;
  letter-spacing: 2px;
}

.loading-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  margin-top: 1rem;
  opacity: 0.9;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
  margin: 2rem auto 0;
  overflow: hidden;
  position: relative;
}

.loading-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 30%;
  background: #dc3545;
  border-radius: 2px;
  animation: loading 2s infinite ease-in-out;
}

@keyframes loading {
  0% {
    left: -30%;
    width: 30%;
  }
  50% {
    width: 40%;
  }
  100% {
    left: 100%;
    width: 30%;
  }
}
