/* Fondo general */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #a8e063, #56ab2f);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

/* Contenedor principal */
.wrapper {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  flex-wrap: wrap;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  overflow: hidden;
  max-width: 900px;
  width: 95%;
}

/* Animación lateral */
.animation-box {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  text-align: center;
}

.animation-box h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.slogan {
  font-size: 1rem;
  margin-bottom: 30px;
  font-style: italic;
}

/* Animación botella + hoja */
.animation {
  position: relative;
  width: 100px;
  height: 200px;
  margin: 0 auto;
}

.bottle {
  width: 50px;
  height: 120px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px 10px 40px 40px;
  margin: 0 auto;
  position: relative;
  animation: bounce 2s infinite;
}

.bottle::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 10px;
  width: 30px;
  height: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 5px;
}

.leaf {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #2ecc71;
  transform: translateX(-50%) scale(0);
  animation: grow 2s infinite ease-in-out;
  animation-delay: 1s;
}

/* Animación para la imagen futura del punto ecológico */
.punto-img {
  width: 80px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes grow {
  0% { transform: translateX(-50%) scale(0); opacity: 0; }
  50% { transform: translateX(-50%) scale(1.2); opacity: 1; }
  100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

/* Caja del formulario */
.form-box {
  flex: 1;
  min-width: 300px;
  background: rgba(255,255,255,0.95);
  color: #333;
  padding: 40px;
  position: relative;
}

.form-box h2 {
  text-align: center;
  margin-bottom: 20px;
}

.form-box form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-box input {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 1rem;
}

.form-box input:focus {
  border-color: #56ab2f;
  box-shadow: 0 0 5px rgba(86,171,47,0.5);
}

/* Estilo para el select (carrera) */
.form-box select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 1rem;
  background: white;
  color: #333;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: 0.3s;
  padding-right: 40px; /* espacio para la flecha */
}

.form-box select:hover,
.form-box select:focus {
  border-color: #56ab2f;
  box-shadow: 0 0 5px rgba(86,171,47,0.5);
}

/* Botón */
.btn {
  background: #56ab2f;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn:hover {
  background: #2e7031;
  transform: scale(1.05);
}

.login-link {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
}

.login-link a {
  color: #56ab2f;
  font-weight: bold;
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}