/* Login / Signup pages*/

@keyframes zoomInOut {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.1);
  }
  100% {
      transform: scale(1);
  }
}

.login_page {
  font-weight: 400;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.login_page:before {
  content: '';
  background: url("/static/images/valley-min.ee31088912b7.jpeg") no-repeat center center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  animation: zoomInOut 50s infinite alternate;
}

.login_wrapper {
  max-width: 300px;
  padding:10px;
  background: #fff;
  margin: 50px auto 0;
}

@media screen and (min-width: 450px) {
  .login_wrapper {
     margin-top: 10%;
  }
}

.login_page h1 {
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 10px;
}

.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 label {
  display: inline;
}

.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;
}
