/* Fuente institucional */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap');

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  background-color: #f2f2f2; /* Gris claro institucional */
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Tarjeta de login */
.login-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  max-width: 400px;
  width: 100%;
  text-align: center;
  border-top: 6px solid #00b0ab;
  border-bottom: 4px solid #bccf00;
}

/* Logo institucional */
.logo {
  height: 80px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Título */
h1 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #575756;
}

/* Grupo de campos */
.input-group {
  text-align: left;
  margin-bottom: 1.2rem;
}

.input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #617d2e;
}

.input-group input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #bbb;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #f9f9f9;
}

/* Botón institucional */
button {
  background-color: #00b0ab;
  color: white;
  border: none;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 1rem;
  box-shadow: 0 4px 10px rgba(0,176,171,0.3);
}

button:hover {
  background-color: #bccf00;
  color: #575756;
  transform: translateY(-2px);
}

/* Mensaje de error */
.error {
  background-color: #fff3f3;
  color: #a00;
  padding: 0.6rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-weight: 500;
  border-left: 4px solid #a00;
}