.form--wrapper{
  max-width:290px;
  margin:0 auto;
}

.form--message{
  padding-top:2rem;
}

#form label{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
}

/* #form{display:flex;} */
input[type="text"], input[type="password"]{
  width:100%;
  border:0;
  background:#ffffff;
  color:var(--color-text-inverted);
  padding: 1rem;
  text-align:center;
  display:block;
  box-sizing:border-box;
  margin:0 auto;
  transition:all .25s ease-in-out;
  -webkit-appearance: none;
  -webkit-border-radius:0;
  appearance: none;
  border-radius: 0;
  min-height:2rem;
  font-size:16px;
  font-weight:var(--font-weight-bold);
}

:is([type="text"], [type="password"]):focus {
  border-color:var(--color-text-inverted);
  outline: none;
  color: var(--color-text-inverted);
  /* outline: solid 2px var(--color--primary-50); */
}

:is([type="text"], [type="password"])::placeholder {
  transition:all .25s ease-in-out;
  color: var(--color-text-inverted);
  font-weight:var(--font-weight-bold);
  font-size:16px;
}

:is([type="text"], [type="password"]):focus::placeholder {
  color: var(--color-text);
}

button[type="submit"]{
  width:100%;
  margin: 1rem auto 0;
  border:0;
  background:var(--color-button);
  color:#ffffff;
  padding:1rem;
  text-align:center;
  display:block;
  box-sizing:border-box;
  border-radius:10rem;
  cursor:pointer;
  transition:all .25s ease-in-out;
  font-weight:var(--font-weight-bold);
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  min-height:2rem;
  font-size:16px;
}

button[type="submit"]:hover{
  scale:.95;
}

@media (hover: none) and (pointer: coarse) {
  button[type="submit"]:hover{
    scale:1;
  }
}

button[type="submit"] .icon--unlock{
	background: #ffffff;
  width:1rem;
  height:1rem;
  display: inline-block;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center center;
	mask-position: center center;
	-webkit-mask-image: url(../../libraries/fontawesome/svgs/solid/unlock-keyhole.svg);
	mask-image: url(../../libraries/fontawesome/svgs/solid/unlock-keyhole.svg);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}

.password-error{
  width:100%;
  margin-top:1rem;
  text-align:center;
  line-height:var(--font-size);
}

@media (min-width: 480px) {
  .form--wrapper{
    max-width: 400px;
    margin:0 auto;
  }
}
