* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  min-height: 100vh;
}

.scout-colors {
  --scout-orange: #ff6b35;
  --scout-green: #00a651;
  --scout-blue: #004e89;
  --scout-purple: #7b2cbf;
}

.login-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 107, 53, 0.3) 0%,
    rgba(0, 166, 81, 0.1) 100%
  );
  filter: blur(40px);
  animation: float 6s ease-in-out infinite;
}

.floating-orb:nth-child(1) {
  width: 200px;
  height: 200px;
  top: -80px;
  left: -80px;
  animation-delay: 0s;
}

.floating-orb:nth-child(2) {
  width: 250px;
  height: 250px;
  bottom: -100px;
  right: -100px;
  animation-delay: 2s;
}

.floating-orb:nth-child(3) {
  width: 180px;
  height: 180px;
  top: 50%;
  right: 5%;
  animation-delay: 4s;
}

/* Orbes plus grandes sur desktop */
@media (min-width: 768px) {
  .floating-orb:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
  }

  .floating-orb:nth-child(2) {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -150px;
  }

  .floating-orb:nth-child(3) {
    width: 250px;
    height: 250px;
    right: 10%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.input-group {
  position: relative;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  transform: translateY(-1.75rem) scale(0.85);
  color: var(--scout-green);
  background: white;
  padding: 0 0.5rem;
  border-radius: 0.375rem;
  border: 2px solid var(--scout-green);
}

.input-group label {
  position: absolute;
  left: 2.75rem;
  top: 1rem;
  color: #9ca3af;
  transition: all 0.3s;
  pointer-events: none;
  background: transparent;
}

/* Empêcher le scroll sur mobile */
@media (max-width: 767px) {
  html,
  body {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-10px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(10px);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
