* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}


/* Fondo general de la página */
body {
  background: linear-gradient(135deg, #002982, #c04a2c);
  /*background-color: #002982;*/
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/*Contenedor del logo */
.logo {
  margin-bottom: -20px;
  margin-top: -80px;
  text-align: center;
  margin-left: -10px;
}

.logo img {
  width: 280px;
  height: auto;
}

/* Contenedor del formulario */
.login-container {
  background-color: white;
  width: 350px;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 41, 130, 0.1);
}

/* Título */
.login-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #2d3436;
}

/* Input y etiquetas */
.login-container label {
  display: block;
  margin: 10px 0 5px;
  color: #636e72;
  font-weight: bold;
}

.login-container input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  font-size: 16px;
}

.login-container input:focus {
  border-color: #74b9ff;
  outline: none;
  box-shadow: 0 0 8px rgba(116, 185, 255, 0.3);
}

.password-wrapper {
  position: relative;
  width: 100%;
}

/* Este selector debe ser más específico que .login-container input */
.password-wrapper input[type="password"] {
  padding-right: 40px; /* espacio para el ícono */
}

/* Estilo del ojito */
#togglePassword {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #636e72;
  cursor: pointer;
}



/* Botón */
.login-container button {
  width: 100%;
  padding: 12px;
  background-color: #FF7C00;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;

}

.login-container button:hover {
  background-color: #4b4bfc;
}

/* Enlace de recuperación */
.login-container a {
  display: block;
  text-align: center;
  margin-top: 15px;
  color: #636e72;
  text-decoration: none;
  transition: color 0.3s;
}

.login-container a:hover {
  color: #6c5ce7;
}

/* Diseño responsivo */
@media (max-width: 400px) {
  .login-container {
    width: 90%;
  }
}