@charset "UTF-8";
body {
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fefefe;
  font-family: 微软雅黑,Helvetica Neue,Helvetica,Arial,sans-serif;
  font-size: 14px;
}

@keyframes an-error {
  25% {
    transform: translateX(-6px);
  }
  50% {
    transform: translateX(6px);
  }
  75% {
    transform: translateX(-6px);
  }
  100% {
    transform: translateX(0);
  }
}

.error {
  animation: an-error .2s;
  transition: none;
  border-color: red !important;
  z-index: 1;
  box-shadow: 0 0 4px rgba(255, 0, 0, 0.5) inset !important;
}

.login {
  position: fixed;
  background-color: #fff;
  padding: 60px;
  box-sizing: border-box;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  transform-origin: bottom;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(68, 68, 68, 0.1);
  width: 400px;
  text-align: center;
  opacity: 1;
  transition: all .5s;
}

.login-logo img {
  height: 70px;
}

.login-title {
  font-size: 24px;
  line-height: 2;
  color: #555;
}

.login-input {
  margin-top: 20px;
}

.login-input_row {
  position: relative;
}

.login-input_row .iconfont {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 16px;
  color: #666;
  font-weight: bold;
}

.login-input_row .eye {
  display: none;
  left: initial;
  right: 0;
  width: 45px;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
  font-weight: normal;
}

.login-input_row .verify {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  height: 35px;
  z-index: 2;
}

.login-input_row .verify img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

.login-input_row_input {
  border: solid 1px #aaa;
  height: 48px;
  padding: 0 10px;
  padding-left: 45px;
  box-sizing: border-box;
  width: 100%;
  outline: none;
  margin-top: -1px;
  position: relative;
  transition: all .4s;
  font-size: 14px;
}

.login-input_row_input:focus {
  border-color: #1e9fff;
  box-shadow: 0 0 4px rgba(30, 159, 255, 0.5) inset;
  z-index: 1;
}

.login-input_row:first-child .login-input_row_input {
  border-radius: 6px 6px 0 0;
}

.login-input_row:last-child .login-input_row_input {
  border-radius: 0 0 6px 6px;
}

.login-submit {
  margin-top: 20px;
}

.login-submit_button {
  width: 100%;
  background-color: #1e9fff;
  border-width: 0;
  height: 45px;
  line-height: 45px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.login-submit_button:hover {
  box-shadow: 0 0 4px rgba(30, 159, 255, 0.6);
}

.login-submit_button:active {
  background-color: #058ff8;
}

.copyright {
  position: fixed;
  left: 0;
  text-align: center;
  width: 100%;
  font-size: 13px;
  color: #888;
  bottom: 2em;
  z-index: -1;
}

.copyright p {
  display: inline-block;
  padding: 5px;
  margin: 0;
}

.copyright p a {
  display: inline-block;
  text-decoration: none;
  color: #999;
}

@keyframes loading-animation {
  50% {
    transform: rotate3d(0, 1, 0, 180deg) translateY(10px);
  }
  100% {
    transform: rotate3d(0, 1, 0, 360deg) translateY(0);
  }
}

@keyframes loading-animation-yin {
  50% {
    width: 40px;
    height: 8px;
    box-shadow: 0 0 10px #bbb;
    background-color: #bbb;
  }
  100% {
    width: 10px;
    height: 1px;
    box-shadow: 0 0 2px #eee;
    background-color: #eee;
  }
}

.loading {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(255, 255, 255, 0.8);
  user-select: none;
  z-index: 999;
  display: none;
}

.loading .warp {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.loading .warp .animation {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 10px;
}

.loading .warp .animation img {
  animation: loading-animation 1.6s infinite linear;
  transform-style: preserve-3d;
  width: 50px;
}

.loading .warp .animation::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 1px;
  box-shadow: 0 0 2px #eee;
  background-color: #eee;
  border-radius: 50%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: loading-animation-yin 1.6s infinite linear;
}

.loading .warp .text {
  color: #444;
  font-size: 15px;
}

.msg {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
}

.msg .iconfont {
  font-size: 13px;
  cursor: pointer;
  margin-left: 10px;
}

.msg .iconfont:hover {
  color: red;
}

@media screen and (max-width: 500px) {
  body {
    background-color: #fff !important;
  }
  .login {
    box-shadow: none !important;
  }
  .copyright p {
    display: block;
  }
}
