/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fondo Cyberpunk Verde */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(ellipse at center, #6ee73e 0%, #08110a 100%);
  color: #d0f5d3;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contenedor del login */
.login-container {
  background: rgba(14, 40, 10, 0.85);
  border: 1px solid #00ff88;
  border-radius: 15px;
  padding: 40px 30px;
  width: 360px;
  box-shadow: 0 0 15px #00ff88;
  backdrop-filter: blur(5px);
  transition: 0.3s ease-in-out;
}

.login-container:hover {
  box-shadow: 0 0 25px #00ff88, 0 0 5px #00ff88 inset;
}

/* Logo SVG */
.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Título */
.login-container h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 28px;
  color: #aaffaa;
  text-shadow: 0 0 5px #00ff88;
}

/* Formulario */
form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 20px;
}

/* Etiquetas */
label {
  display: block;
  margin-bottom: 8px;
  color: #afffaf;
  font-weight: bold;
}

/* Inputs */
input[type="email"],
.password-container input {
  width: 100%;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #00ff88;
  border-radius: 8px;
  color: #0a1e13;
  font-size: 15px;
  outline: none;
  box-shadow: 0 0 5px #00ff88 inset;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
.password-container input:focus {
  border-color: #00ffaa;
  box-shadow: 0 0 10px #00ffaa;
}

/* Contraseña + ojito */
.password-container {
  position: relative;
}

.password-container input {
  padding-right: 40px; /* espacio para el ojito */
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #00ff88;
  cursor: pointer;
  transition: color 0.3s ease;
}

.toggle-password:hover {
  color: #aaffaa;
}

/* Botón con pulsación */
button {
  background: linear-gradient(90deg, #00ff88, #22ffbb);
  color: #0a1e13;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  animation: pulse 2s infinite;
  transition: background 0.3s, box-shadow 0.3s;
}

button:hover {
  background: linear-gradient(90deg, #00ffaa, #33ffcc);
  box-shadow: 0 0 10px #00ffaa;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0px #00ff88;
  }
  50% {
    box-shadow: 0 0 10px #00ffaa;
  }
  100% {
    box-shadow: 0 0 0px #00ff88;
  }
}

/* Responsive */
@media (max-width: 480px) {
  .login-container {
    width: 90%;
    padding: 30px 20px;
  }

  .login-container h2 {
    font-size: 24px;
  }

  input[type="email"],
  .password-container input {
    font-size: 14px;
  }

  button {
    font-size: 15px;
  }

  .toggle-password {
    font-size: 18px;
    right: 10px;
  }
}
