/* ----------------- General ----------------- */

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden; /* Previene scroll horizontal */
}

/* ----------------- Navbar ----------------- */

.custom-navbar {
  height: 100px;
  background-color: #f8f9fa;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-logo {
  height: 130px;
  width: auto;
  object-fit: contain;
  position: relative;
  top: -20px;
}

/* ----------------- Fondo para sección de login ----------------- */

.login-background {
  background-image: url("Imagenes/Fongo_Login.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: calc(100vh - 100px); /* Resta la altura del navbar */
}

/* ----------------- Caja central del formulario ----------------- */

.login-box {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
}

/* ----------------- Imagen central superior ----------------- */

.main-image {
  height: 120px;
  width: auto;
  margin: 0 auto;
  display: block;
}

/* ----------------- Enlace "¿Ha olvidado su contraseña?" ----------------- */

.forgot-link {
  font-size: 0.9rem;
  color: red;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* ----------------- Formulario ----------------- */

.form-line {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.form-label {
  min-width: 80px;
  text-align: right;
  margin-right: 10px;
}

.form-control.flex-fill {
  flex: 1;
}

.icon-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-left: 8px;
}

/* ----------------- Botón "Iniciar Sesión" personalizado ----------------- */

.login-button {
  font-size: 1.1rem;
  padding: 10px;
  background-color: #d3d3d3; /* Gris claro */
  color: #000; /* Texto negro */
  border: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.login-button:hover {
  background-color: #bfbfbf; /* Gris más oscuro al pasar el mouse */
  cursor: pointer;
  text-decoration: none;
}
