/**
 * Seynor Coaching - Arrière-plans pour les pages d'authentification
 * Utilise des dégradés CSS au lieu d'images pour les arrière-plans
 */

/* Arrière-plan pour la page de connexion */
.login-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color-dark) 0%, var(--secondary-color) 100%);
  z-index: -1;
}

.login-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 70, 85, 0.1) 0%, transparent 70%);
}

.login-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 0%, rgba(0, 200, 200, 0.05) 100%);
}

/* Arrière-plan pour la page d'inscription */
.register-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color-dark) 100%);
  z-index: -1;
}

.register-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 200, 200, 0.1) 0%, transparent 70%);
}

.register-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 0%, rgba(255, 70, 85, 0.05) 100%);
}

/* Animation de particules pour les deux arrière-plans */
.auth-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.particle {
  position: absolute;
  display: block;
  background-color: rgba(255, 255, 255, 0.1);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 20s;
  background-color: rgba(255, 70, 85, 0.2);
}

.particle:nth-child(2) {
  top: 70%;
  left: 30%;
  animation-delay: 2s;
  animation-duration: 18s;
  background-color: rgba(0, 200, 200, 0.2);
}

.particle:nth-child(3) {
  top: 40%;
  left: 60%;
  animation-delay: 4s;
  animation-duration: 22s;
  background-color: rgba(255, 70, 85, 0.2);
}

.particle:nth-child(4) {
  top: 80%;
  left: 80%;
  animation-delay: 6s;
  animation-duration: 25s;
  background-color: rgba(0, 200, 200, 0.2);
}

.particle:nth-child(5) {
  top: 10%;
  left: 90%;
  animation-delay: 8s;
  animation-duration: 19s;
  background-color: rgba(255, 70, 85, 0.2);
}

.particle:nth-child(6) {
  top: 50%;
  left: 20%;
  animation-delay: 10s;
  animation-duration: 21s;
  background-color: rgba(0, 200, 200, 0.2);
}

.particle:nth-child(7) {
  top: 30%;
  left: 50%;
  animation-delay: 12s;
  animation-duration: 23s;
  background-color: rgba(255, 70, 85, 0.2);
}

.particle:nth-child(8) {
  top: 60%;
  left: 70%;
  animation-delay: 14s;
  animation-duration: 24s;
  background-color: rgba(0, 200, 200, 0.2);
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.8;
  }
  25% {
    transform: translateY(-30px) translateX(20px) scale(1.2);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-60px) translateX(-20px) scale(1);
    opacity: 0.4;
  }
  75% {
    transform: translateY(-30px) translateX(-40px) scale(0.8);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.8;
  }
}
