@charset "utf-8";

body.page-login {
  min-width: inherit;
  position: relative;
  margin: 0;
  padding: 0;
  background: #f2f2f2;
}

.login-wrap {
  width: calc(100% - 30px);
  max-width: 500px;
  margin: 15px;
}

.login-wrap .login-body {
  padding: 30px 15px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.2);
}

.login-wrap .login-logo {
  text-align: center;
  line-height: 0;
  margin: 15px auto;
}

.login-wrap .login-title {
  margin-bottom: 30px;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  color: #666;
}

.login-form {
  max-width: 315px;
  margin: 0 auto 40px;
}

.login-form .form-text {
  width: 100%;
}

.login-form .form-submit {
  display: block;
  max-width: 245px;
  margin: 0 auto;
}

.login-complete {
  margin-bottom: 20px;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  background: #ebf2f1;
}

.login-error {
  margin-bottom: 20px;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  color: #d83838;
  background: #f3d5d5;
}

.login-footer {
  margin: 15px 0;
  text-align: center;
}

.login-footer .login-copyright {
  font-size: 11px;
  font-style: normal;
  color: #999;
}

@media screen and (min-width: 530px) {
  .login-wrap {
    margin: 15px auto;
  }
}

@media screen and (min-width: 768px), print {
  body.page-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }

  .login-footer .login-copyright {
    font-size: 13px;
  }

}