/* Login / Signup pages*/

.login_page h1 {
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  margin-top: 50px;
}
.login_page {
  font-weight: 400;
}
.login_page h2 {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  margin-top: 24px;
  color: #8C8C8C;
}
.login_page img {
  margin: 32px auto 50px;
  display: block;
}
.login_page .link a {
  border-color: #1890FF;
  color: #1890FF;
}
.login_page .link a:hover {
  color: #69C0FF;
  border-color: #69C0FF;
}
.login_page .toggle, .login_page form {
  width: 272px;
  margin: 24px auto;
}
.login_page .toggle {
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: stretch;
}

.login_page .toggle > * {
  flex-grow: 1;
  text-align: center;
  padding: 10px 0;
  text-transform: uppercase;
  font-size: 16px;
  color: #8C8C8C;
  border-top: 2px solid transparent;
}
.login_page .toggle > *.active {
  border-color: #1890FF;
  color: #1890FF;
}
.login_page .toggle > *:hover {
  color: #69C0FF;
  border-color: #69C0FF;
}
.login_page form {
  display: grid;
  flex-direction: column;
  grid-auto-flow: rows;
  grid-gap: 24px;
}
.login_page form > * {
  position: relative;
}
.login_page form p {
  margin: 0;
}
.login_page form .error {
  color: #F5222D;
}
.login_page form input,
.login_page form button {
  width: 100%;
}
.login_page form input::placeholder {
  text-transform: uppercase;
}
.login_page form button {
text-transform: uppercase;
}
.login_page .field_errors {
  position: absolute;
  left: 272px;
  top: 0;
  margin: 0;
  padding: 0;
  padding-left: 16px;
  list-style: none;
  text-align: left;
  font-size: 14px;
  line-height: 16px;
  color: #F5222D;
  width: 300px;
  max-width: calc(50vw - 152px); /* 272/2 + 16 right margin */
}
.login_page .field_errors li {
  margin-top: 12px;
}

.auto-generated form {
  width: 100%;
}
.auto-generated form label {
  display: block;
}
.auto-generated form input {
  height: 40px;
  min-height: 40px;
  background: #fafafa;
  font-size: 16px;
  line-height: 22px;
  border: 1px solid rgba(0,0,0,0.15);
  box-sizing: border-box;
  border-radius: 5px;
  padding: 0 16px;
  transition: box-shadow 80ms ease;
}

.auto-generated p:empty {
  display: none;
}
.auto-generated form ul li:not(:last-child) {
  margin-bottom: 0.5em;
}
.auto-generated form ul {
  margin-bottom: 0;
}