@import "reset.css";
.p-login__container {
  min-width: 1280px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  background: url(../images/bg1.png) no-repeat center;
  background-size: cover;
}
.p-login__main {
  position: relative;
  width: 1200px;
  height: 600px;
  z-index: 999;
}
.p-login__main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: url(../images/login-bg.png) no-repeat left;
  opacity: 0.8;
}
.p-login__main-box {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 600px;
  height: 600px;
  padding: 90px 130px;
  z-index: 9999;
  background: #ffffff;
  box-sizing: border-box;
}
.p-login__main .login-box .title {
  color: #418dec;
}
.p-login__main .login-box .container {
  display: flex;
  align-items: center; /* 垂直居中 */
  justify-content: center; /* 水平居中 */
  margin-bottom: 30px;
}
.p-login__main .login-box .container .align-center {
  align-self: center; /* 图片垂直居中 */
  margin-right: 10px; /* 图片和文字之间的间隔 */
}
.p-login__main .login-box .container .text-center {
  align-self: center; /* 文字垂直居中 */
}
.p-login__main .login-box .btn .login {
  background: #418dec;
}
.login-box {
  width: 316px;
  padding: 10px;
  box-sizing: border-box;
  background: #ffffff;
}
.login-box .title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #58b4da;
}
.login-box .code-img {
  flex: none;
  width: 88px;
  height: 40px;
  margin-left: 10px;
  border-radius: 4px;
  background: #f2f2f2;
}
.login-box .send-code {
  width: 88px;
  height: 40px;
  margin-left: 10px;
  border-radius: 4px;
  line-height: 40px;
  text-align: center;
  font-size: 14px;
  color: #ffffff;
  background: #ff9900;
}
.login-box .row {
  overflow: hidden;
}
.login-box .row + .row {
  margin-top: 20px;
}
.login-box .row input {
  width: 100%;
  padding: 14px;
  vertical-align: middle;
  border-radius: 4px;
  font-size: 14px;
  background: #f2f2f2;
}
.login-box .row input::-moz-placeholder {
  color: #999999;
}
.login-box .row input:-ms-input-placeholder {
  color: #999999;
}
.login-box .row input::placeholder {
  color: #999999;
}
.login-box .row input.username,
.login-box .row input.password,
.login-box .row input.tellphone {
  padding-left: 40px;
  background-image: url(../images/username.png);
  background-repeat: no-repeat;
  background-position: 14px;
}
.login-box .row input.password {
  background-image: url(../images/password.png);
}
.login-box .row input.tellphone {
  background-image: url(../images/tellphone.png);
}
.login-box .row input.code {
  width: 190px;
}
.login-box .row.avatar {
  flex-flow: column;
  justify-content: center;
}
.login-box .row.avatar .name {
  margin-top: 20px;
  font-weight: bold;
  font-size: 16px;
  color: #45b4e2;
}
.login-box .row.avatar .welcome {
  margin-top: 20px;
  font-size: 14px;
  color: #666666;
}
.login-box .row.avatar .exit {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 88px;
  height: 30px;
  margin-top: 20px;
  border-radius: 15px;
  color: #ffffff;
  background: #45b4e2;
}
.login-box .refresh-code {
  float: right;
  margin-left: auto;
  font-size: 14px;
  color: #999999;
  text-align: right;
  clear: both;
}
.login-box .refresh-code .link {
  color: #ff0000;
}
.login-box .btn {
  margin-top: 30px;
}
.login-box .btn .login,
.login-box .btn .register {
  display: block;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border: 1px solid #45b4e2;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  background: #45b4e2;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.login-box .btn .register {
  margin-top: 20px;
  border: 1px solid #45b4e2;
  color: #45b4e2;
  background: #ffffff;
}
.login-box .register2 {
  display: inline-block;
  color: #45b4e2;
  font-weight: bold;
  text-decoration: underline;
}
.login-box.hidden {
  display: none;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}
.pagination__prev,
.pagination__next {
  width: 30px;
  height: 30px;
  background: url(../images/pagination__prev.png) no-repeat;
}
.pagination__next {
  transform: rotate(180deg);
}
.pagination a {
  display: inline-block;
  vertical-align: middle;
  line-height: 30px;
  text-align: center;
  flex: none;
  cursor:pointer;
}
.pagination a + a {
  margin-left: 20px;
}
.pagination .num {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.pagination .num.on,
.pagination .num:hover {
  color: #ffffff;
  background: #45b4e2;
}
.pagination .on {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.pagination .on
 {
  color: #ffffff;
  background: #45b4e2;
}
.pagination .home:hover,
.pagination .end:hover {
  color: #45b4e2;
}
