/* 登录/注册页字体与官网首页保持一致 */
body,
button,
input,
select,
textarea {
    font-family: "Segoe UI", Tahoma, Arial, "Noto Sans Arabic", "Microsoft YaHei", sans-serif;
}

body {
    background: url(../images/bg.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

a {
    color: rgba(255, 255, 255, .85);
}

a:hover {
    color: rgba(255, 255, 255, .65);
}

a:active {
    color: rgba(255, 255, 255, .45);
}

.container {
    margin: 0 auto;
    max-width: 1200px;
}

.header {
    padding: 15px;
}

.logo {
    line-height: 1;
}

.logo img {
    width: auto;
    height: 28px;
}

.logo span {
    margin-left: 6px;
    margin-bottom: 2px;
    font-size: 22px;
}

.links>span {
    margin: 0 10px;
    color: rgba(255, 255, 255, .25);
}

.form {
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -188px 0 0 -160px;
    width: 320px;
    height: 376px;
    background-color: #fff;
    overflow: hidden;
    -webkit-box-shadow: 0 2px 4px rgb(0 0 0 / 30%);
    box-shadow: 0 2px 4px rgb(0 0 0 / 30%);
}

.form,
.cells>dl,
.btns>button {
    -webkit-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.title {
    padding: 15px;
    background: -webkit-gradient(linear, left top, left bottom, from(#fefefe), color-stop(#fdfdfd), color-stop(#fcfcfc), color-stop(#fbfbfb), to(#fafafa));
    background: -o-linear-gradient(#fefefe, #fdfdfd, #fcfcfc, #fbfbfb, #fafafa);
    background: linear-gradient(#fefefe, #fdfdfd, #fcfcfc, #fbfbfb, #fafafa);
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

.cells {
    padding: 20px;
}

.cells>dl {
    border: 1px solid #d9d9d9;
    overflow: hidden;
}

.cells>dl:not(:first-child) {
    margin-top: 15px;
}

.cells>dl>dt {
    position: relative;
    width: 80px;
    line-height: 36px;
    text-align: center;
    font-weight: bold;
}

.cells>dl>dt:before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    right: 0;
    width: 0;
    border-left: 1px solid #e5e5e5;
}

.cells>dl>dd {
    position: relative;
}

.cells>dl>dd>input {
    padding: 4px 10px;
    width: 100%;
    height: 36px;
    border: none;
    line-height: 28px;
    font-weight: bold;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.cells>dl>dd>label {
    position: absolute;
    top: 2px;
    right: 0;
    width: 113px;
    height: 32px;
    background-color: #fff;
    cursor: pointer;
}

.cells>dl>dd>label>img {
    display: block;
    width: 100%;
    height: 100%;
}

.remember {
    margin: 0 20px 0 30px;
    cursor: pointer;
}

.remember>span {
    margin-left: 4px;
}

.btns {
    padding: 30px 20px;
}

.btns>button {
    display: block;
    width: 100%;
    height: 40px;
    border: none;
    background-color: #1890ff;
    background-color: var(--primary-color);
    color: #fff;
    -webkit-transition: all .3s cubic-bezier(.645, .045, .355, 1);
    -moz-transition: all .3s cubic-bezier(.645, .045, .355, 1);
    -o-transition: all .3s cubic-bezier(.645, .045, .355, 1);
    transition: all .3s cubic-bezier(.645, .045, .355, 1);
}

.btns>button:hover {
    border: none;
    background-color: #40a9ff;
    background-color: var(--primary-color-hover);
}

.btns>button:active {
    border: none;
    background-color: #096dd9;
    background-color: var(--primary-color-active);
}

.btns>button[disabled],
.btns>button[disabled]:hover,
.btns>button[disabled]:active {
    opacity: .45;
    background-color: #1890ff;
    background-color: var(--primary-color);
    cursor: not-allowed;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, .1);
    line-height: 38px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.footer a {
    color: #666;
}

/*消息提示框*/

.toast-mask {
    z-index: 998;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
}

.toast-panel {
    z-index: 999;
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 10px;
    background-color: rgba(0, 0, 0, .9);
    -webkit-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, .3);
    box-shadow: 0 0 50px rgba(0, 0, 0, .3);
}

.toast-icon-loading,
.toast-icon-success,
.toast-icon-fail {
    width: 100%;
    height: 100%;
    line-height: 1;
    color: #fff;
}

.toast-icon-loading:before,
.toast-icon-success:before,
.toast-icon-fail:before {
    display: block;
    margin-right: 6px;
    width: 14px;
    height: 14px;
    font-family: "iconfont";
    font-size: 14px;
}

.toast-icon-loading:before {
    content: "\e687";
    -webkit-animation: loader .8s linear infinite;
    animation: loader .8s linear infinite;
}

.toast-icon-success:before {
    content: "\e60a";
}

.toast-icon-fail:before {
    content: "\e697";
}

/*动画*/

@-webkit-keyframes loader {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media screen and (min-width: 768px) {
    .form {
        margin-left: -180px;
        width: 360px;
    }
}