/* Container de formulario */
.container-form {
  max-width: 500px;
  padding: 0 20px 20px 20px;
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  gap: 40px;
}

/* Legend */
legend {
  font-size: calc(12px + 0.1vw);
  font-weight: 400;
  color: var(--color-white-100);
}

/* Contenedor de inputs */
fieldset {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: none;
}
fieldset div{
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Estilos de todos los inputs */
input {
  font-weight: 600;
  height: calc(40px + 0.4vh);
  width: 100%;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0);
  background-color: var(--bg-white-100);
  font-family: 'Inter';
  box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.205);
  opacity: 0.9;
  transition: all ease .2s;
  color: rgb(53, 53, 53);
}

input:focus {
  background-color: white;
  opacity: 1;
  outline: none;
  box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.247);
  box-shadow: 0 0 0 3px rgba(41, 170, 225, 0.2);
}
/* El agrandado al enfocar es del formulario de login. Antes estaba en el
   `input:focus` de arriba, sin acotar, y alcanzaba a toda la app. */
.container-form input:focus {
  transform: scale(1.04);
}

/* Estilos de cartel de error de inputs*/
.texto-error-input{
  min-height: 16px;
  font-size: calc(9px + 0.2vw);
  color: rgb(248, 100, 100);
}

/* Estilos de error al iniciar sesión */
.texto-error{
  min-height: 16px;
  font-size: calc(9px + 0.2vw);
  color: rgb(248, 100, 100);
  width: 100%;
  text-align: center;
  background-color: rgba(255, 0, 0, 0.082);
  padding: 20px ;
  border: 1px solid rgb(248, 100, 100);
  border-radius: 20px;
}
.input-error{
  border: 1px solid rgb(207, 22, 22);
}

/* Contenedor de botones de abajo */
.form-btns {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  align-items: center;
}

/* Estilos de btn de iniciar sesion */
input[type="submit"] {
  cursor: pointer;
  background-color: var(--bg-blue-400) !important;
  color: white;
  opacity: 1;
  width: 80%;
}

input[type="submit"]:hover {
  transform: scale(1.02);
}

/* Boton de reset password */
.btn-reset-password {
  transition: all ease .2s;
  color: rgb(169, 169, 169);
  background: none;
  border: none;
  cursor: pointer;
}
.btn-reset-password:hover{
  text-decoration: underline;
}