/* Estilos para la página de login */
body,
html {
  font-family: Arial, sans-serif;
  background-color: #2e2e2e;
  color: white;
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
body {
  flex: 1; /* Hace que el body ocupe el espacio restante */
}

h1 {
  color: white;
  text-align: center;
  margin-bottom: 20px;
}

.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-color: #333;
  padding: 20px;
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  background-color: #000000;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.login-header .logo {
  width: 80%; /* Tamaño del logo */
  border-bottom: 1px solid #fff;
  padding: 12px;
}
.login-header .logo img {
  width: 55%;
}

form input {
  padding: 10px;
  margin: 10px 0;
  border: 2px solid #666;
  border-radius: 5px;
  background-color: #333;
  color: white;
}

form input:focus {
  border-color: #4c64ff;
  outline: none;
}

form button {
  padding: 10px;
  background-color: #2670f1;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #4c64ff;
  scale: 2px;
}

/* Estilos para los mensajes flash */
.flash-messages {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  text-align: left; /* Mensajes alineados a la izquierda */
}

.flash-messages li {
  margin: 5px;
  font-size: 14px;
  color: #e25050; /* Color de texto rojo */
  text-align: center;
}

/* Estilos para el contenedor de la contraseña */
.password-container {
  display: flex;
  width: 100%;
  margin-bottom: 10px;
}

.password-container input {
  width: 100%;
  padding: 10px;
  border: 2px solid #666;
  border-radius: 5px;
  background-color: #333;
  color: white;
}

.password-container button {
  width: 20%;
  padding: 8px;
  margin: 10px;
  background-color: transparent;
  border: 2px solid #666;
  border-radius: 5px;
  color: #4c64ff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.5s ease;
}

.password-container button:hover {
  color: #4c64ff;
}

.password-container input:focus {
  border-color: #4c64ff;
  outline: none;
}

.password-container button:focus {
  outline: none;
}
footer {
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #898989;
  font-size: 13px;
  border-top: 1px solid #5f5f5f;
}
footer img {
  width: 4%;
  margin-right: 5px;
}

@media (max-width: 768px) {
  footer img {
    width: 20%;
    margin-right: 10px;
  }
}
