/* Reset de estilos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden; /* Elimina el scroll */
  background-image: linear-gradient(100deg, rgba(255, 165, 0, 0.8), rgba(255, 223, 186, 0.9)), 
  url("/static/img/Sabrosuras_del_Huila.jpg");
  background-size: cover;
  background-position: center;
  
}

@media (max-width: 468px){
    body {
      height: 91.5vh;  
    }
}

/* Contenedor general */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* Contenedor del formulario */
.login-container {
  width: 420px;
  background: rgba(255, 250, 205, 0.8); /* Transparencia para ver el fondo */
  padding: 50px 40px;
  border-radius: 15px;
  box-shadow: 5px 8px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 2px solid #f4c542;
  backdrop-filter: blur(15px); /* Efecto de difuminado */
}

h1 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #d4a017;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Estilos de los campos del formulario */
.input-box {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 20px;
}

.input-box label {
  font-weight: bold;
  color: #8b6f21;
  margin-bottom: 6px;
}

.input-box input {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #e1b12c;
  font-size: 16px;
  color: black;
  background: #fff8dc;
  transition: all 0.3s ease-in-out;
}

.input-box input:focus {
  border: 1px solid #d4a017;
  outline: none;
  background: #fff2c9;
}

/* Botón de inicio de sesión */
.btn-login {
  width: 100%;
  background: #f4c542;
  border: none;
  padding: 14px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.3s, transform 0.2s;
}

.btn-login:hover {
  background: #d4a017;
  transform: scale(1.05);
}

/* Link de registro */
.register-link {
  margin-top: 20px;
}

.register-link a {
  text-decoration: none;
  color: #d4a017;
  font-weight: bold;
}

.register-link a:hover {
  text-decoration: underline;
}
.remember-forgot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* Espaciado entre elementos */
  margin-bottom: 20px;
}

.remember-me {
  font-size: 14px;
  color: #333;
}

.forgot-password a {
  font-size: 14px;
  color: #d4a017;
  font-weight: bold;
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}

/* Estilo para los mensajes */
.messages {
  margin-bottom: 20px;
}

.error-message {
  background-color: #f8d7da; /* Color pastel rosa claro */
  color: #721c24;
  padding: 15px;
  font-size: 16px;
  border-radius: 8px;
  margin-bottom: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.alert-warning {
  background-color: #fef3b2; /* Color pastel amarillo suave */
  color: #856404;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  margin-bottom: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.alert-success {
  background-color: #a8e6cf; /* Color pastel verde suave */
  color: #4f6d7a;
  padding: 15px 25px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 10px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 60%;
  animation: fadeIn 0.8s ease-in-out;
}

/* Animación de mensaje */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(-10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}



