/* Reset y configuración base */
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background: #f9f9f9 url('/images/banners/login.png') repeat center center;
  background-size: cover;
  color: #333;
}

/* Contenedor del formulario de login - Invisible */
.login-container {
  position: relative;
  width: 350px;
  margin: 100px auto;
  background: transparent;
  padding: 30px;
  border-radius: 8px;
}

/* Botón "X" */
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: #556B2F;
  text-decoration: none;
  cursor: pointer;
}

/* Título del login */
.login-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}

/* Inputs */
.login-container input[type="text"],
.login-container input[type="email"],
.login-container input[type="password"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Botones generales */
.login-container button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin-top: 10px;
  border: 1px solid white;
}

/* Botón de Iniciar sesión */
.login-container button[type="submit"] {
  background-color: #556B2F;
  color: #fff;
}
.login-container button[type="submit"]:hover {
  background-color: #6B8E23;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Botón Cerrar sesión */
#btn-logout {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background-color: #FFC107;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid white;
}
#btn-logout:hover {
  background-color: #e0a800;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Enlace a registro */
.link {
  position: relative;
  margin-top: 20px;
  text-align: center;
}
.link p {
  margin: 0;
  font-size: 14px;
  color: #fff;
}
.link a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  animation: blink 1s infinite alternate;
}
.link a:hover {
  color: #ddd;
}
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

