div.auth_wrapper.overlay{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 500;
}

div.auth_wrapper.overlay>span.close{
  right: -20px;
  top: -20px;
  background-size: contain;
  width: 15px;
  height: 15px;
}

div.auth_wrapper>form{
  width: 95vw;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  padding: 15px;
  box-sizing: border-box;
  border: 2px rgb(40, 40, 40) solid;
  background-color: #151618;
  box-shadow: 0 0 15px black;
  position: relative;
}

div.auth_wrapper>form:not(.open){
  display: none;
}

div.auth_wrapper>form>div.head{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

div.auth_wrapper>form>div.head>h1{
  color: white;
  font-family: 'montserrat-bold';
  margin: 0;
  font-size: 24px;
}

div.auth_wrapper>form>div.head>span.logo{
  width: 35px;
  height: 35px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url(/images/logo.png);
  margin-left: 10px;
}

div.auth_wrapper>form>label{
  color: white;
  font-family: 'montserrat-regular';
  font-size: 14px;
  margin-top: 10px;
  /* margin-bottom: 5px; */
}

div.auth_wrapper>form input{
  height: 35px !important;
  background-color: transparent !important;
  border-color: rgb(40, 40, 40) !important;
}

div.auth_wrapper>form input:focus{
  box-shadow: none !important;
  border-color: #5383ff !important;
}

div.auth_wrapper>form>p.legal{
  color: white;
  margin: 0;
  margin-top: 15px;
  font-family: 'roboto';
  font-size: 12px;
}

div.auth_wrapper>form>p.legal>a{
  color: white;
}

div.auth_wrapper>form>button[type="submit"]{
  margin-top: 15px;
  height: 35px;
  border-color: transparent;
  background-color: #5383ff;
  font-size: 14px;
}

div.auth_wrapper>form>button[type="submit"]:hover{
  box-shadow: 0 0 1px 2px rgb(83 131 255 / 50%);
}

div.auth_wrapper>form>p.extra{
  position: absolute;
  top: calc(100% + 5px);
  color: white;
  width: 100%;
  text-align: center;
  font-family: 'roboto';
  font-size: 12px;
}

div.auth_wrapper>form>p.extra>span{
  text-decoration: underline;
  cursor: pointer;
}