﻿html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-width: 320px;
    min-height: 100vh;
    display: flex;
    padding: 24px 16px 76px;
    background: #71849b url(../images/login_bg.jpg) center center / cover no-repeat;
    color: #24364b;
    font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
}

#form1 {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 480px;
}

* {
    box-sizing: border-box;
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

.title {
    margin-bottom: 18px;
    color: #27466a;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .85);
}

.title span {
    display: inline-block;
    margin-left: 12px;
    padding-left: 13px;
    border-left: 1px solid #8091a4;
    color: #607993;
    font-size: 15px;
    font-weight: normal;
    letter-spacing: 2px;
    vertical-align: 3px;
}

.login {
    width: 460px;
    max-width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 8px;
    box-shadow: 0 20px 48px rgba(31, 52, 76, .3);
}

.login-head {
    min-height: 80px;
    padding: 16px 26px;
    background: #2f5983;
    color: #fff;
}

.login-mark {
    float: left;
    width: 46px;
    height: 46px;
    margin-right: 13px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 16px;
    line-height: 44px;
    text-align: center;
}

.login-head h1, .login-head p {
    margin: 0;
}

.login-head h1 {
    padding-top: 2px;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 2px;
}

.login-head p {
    margin-top: 5px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
}

.login-body {
    padding: 16px 26px 22px;
}

.input, .shortinput {
    margin-top: 12px;
}

.input:first-child {
    margin-top: 0;
}

.input label, .shortinput label {
    display: block;
    margin-bottom: 6px;
    color: #62748a;
    font-size: 13px;
}

.input input, .shortinput input {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    outline: 0;
    background: #f7f9fb;
    border: 1px solid #d7e0e9;
    border-radius: 4px;
    color: #2f4054;
    font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.input input:focus, .shortinput input:focus {
    background: #fff;
    border-color: #477aa9;
    box-shadow: 0 0 0 3px rgba(71, 122, 169, .12);
}

.verify-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shortinput input {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
}

#canvas {
    flex: 0 0 88px;
    width: 88px;
    height: 36px;
    background: #edf2f7;
    border: 1px solid #d7e0e9;
    border-radius: 4px;
    cursor: pointer;
}

.verify-links {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.verify-links a {
    color: #718196;
    font-size: 12px;
}

.verify-links .refresh-code {
    color: #477aa9;
}

.verify-links a:hover {
    color: #1f649b;
    text-decoration: underline;
}

.btn {
    margin-top: 14px;
}

.btn_login {
    width: 100%;
    height: 40px;
    cursor: pointer;
    background: #2f6695;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 5px 12px rgba(47, 102, 149, .22);
    color: #fff;
    font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
    font-size: 16px;
    letter-spacing: 7px;
    text-indent: 7px;
    transition: background .2s, box-shadow .2s, transform .2s;
}

.btn_login:hover {
    background: #245b89;
    box-shadow: 0 7px 16px rgba(47, 102, 149, .3);
}

.btn_login:active {
    background: #1d4e77;
    box-shadow: none;
    transform: translateY(1px);
}

.copyright {
    position: fixed;
    right: 20px;
    bottom: 18px;
    left: 20px;
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(35, 53, 76, .35);
}

.copyright a, .copyright span {
    margin: 0 8px;
    font-size: 12px;
}

.copyright a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 520px) {
    .title {
        margin-bottom: 14px;
        font-size: 20px;
    }

    .title span {
        display: block;
        margin: 6px 0 0;
        padding: 0;
        border: 0;
    }

    .login-head, .login-body {
        padding-right: 20px;
        padding-left: 20px;
    }

    #canvas {
        flex-basis: 76px;
        width: 76px;
    }

    .copyright span {
        display: block;
        margin-top: 4px;
    }
}