﻿@font-face {
    font-family: "GoosafeLogo";
    font-weight: 400;
    src: url(../../font/Bristone.ttf);
}

@font-face {
    font-family: 'Source Han Sans';
    src: url('/font/SourceHanSansSC-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    height: 100%
}

body {
    background: #f5f6fa;
    margin: 0;
    padding: 0;
    font-family: 'Microsoft JhengHei', 'Source Han Sans', Arial, sans-serif;
}

body.login {
    height: 100%;
    background: url(../../image/loginBG.jpg) no-repeat center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: rgba(255,255,255,.95); 
    background-color: rgba(0, 0, 0, .6);
    background-blend-mode: multiply;
}

.login-container {
    display: flex;
    min-height: 100vh;
}

.login-left {
    flex: 1.2;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-left img {
    max-width: 70%;
    max-height: 70vh;
    object-fit: contain;
}

.login-right {
    flex: 1;
    background: #f8f9fb;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 350px;
    box-shadow: -2px 0 16px 0 rgba(0,0,0,0.05);
}

.loginLogo { display: none; }

.login-right form {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 40px 0 rgba(0, 0, 0, 0.123), 0 1.5px 8px 0 rgba(0,0,0,0.10);
    padding: 48px 32px 36px 32px;
    margin-bottom: 1.5rem;
    min-height: 480px;
}

.login-right .title {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #1a3a5d;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 2px;
}

.login-right .titleDetail {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 4rem;
    color: #1a3a5d;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 1px;
}

.login-right .form-control {
    margin-bottom: 1.2rem;
    border-radius: 32px;
    border: 1.5px solid #e0eafc;
    font-size: 1.08rem;
    padding: 22px 22px;
    background: #f7faff;
    color: #222;
    box-shadow: 0 2px 8px rgba(62,198,241,0.06);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.login-right .form-control:focus {
    border-color: #3ec6f1;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 2px #b2e8fa;
}

.login-right .btn {
    background: #1a3a5d;
    color: #fff;
    border: 2px solid #1a3a5d;
    border-radius: 32px;
    font-size: 1.15rem;
    font-weight: bold;
    padding: 14px 0;
    margin-top: 18px;
    width: 100%;
    box-shadow: 0 2px 12px rgba(62,198,241,0.10);
    letter-spacing: 6px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.login-right .btn:hover {
    background: #fff;
    color: #1a3a5d;
    border-color: #1a3a5d;
    box-shadow: 0 4px 24px rgba(62,198,241,0.18);
}

.login-footer {
    text-align: center;
    color: #aaa;
    font-size: 0.95rem;
    margin-top: 1.5rem;
}

@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
    }
    .login-left {
        display: none;
    }
    .login-right {
        flex: none;
        width: 100vw;
        min-width: 0;
        box-shadow: none;
        min-height: 100vh;
        justify-content: center;
        align-items: center;
        background: #f8f9fb;
        display: flex;
    }
    body {
        background: #f8f9fb !important;
    }
}

.logo {
    width: 100%;
    font-size: 24px;
    /*font-family: "GoosafeLogo";*/
    font-weight: bold;
    text-align: center;
}

.title {
    font-weight: bold;
    font-size:20px;
}

.login-panel {
    width: 20%;
    height: 50%;
    margin: 10% auto 0 auto;
    background: rgb(0, 0, 0, 0.68);
    border: 1px solid rgb(65, 6, 62, 0.50);
    -moz-box-shadow: 0 3px 0 rgba(12,12,12,.03);
    -webkit-box-shadow: 0 3px 0 rgba(12,12,12,.03);
    box-shadow: -10px 0 10px 1px rgb(65, 6, 62, 0.50), 10px 0 10px 1px rgb(65, 6, 62, 0.50), 0 10px 10px 1px rgb(65, 6, 62, 0.50), 0 -10px 10px 1px rgb(65, 6, 62, 0.50);
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    padding: 30px
}

    .login-panel .section {
        width: 100%;
        height:90%;
        margin: 0 auto;
    }

    .login-panel .logopanel {
        float: none;
        width: auto;
        padding: 0;
        background: 0 0
    }

    .login-panel .login-info ul {
        list-style: none;
        padding: 0;
        margin: 20px 0
    }

    .login-panel .form-control {
        display: block;
        margin-top: 15px
    }

    .login-panel .uname {
        background: white url(../../image/user.png) no-repeat 95% center;
        font-size: 16px;
        font-weight:bold;
        border-width:2px;
        border-color:black;
        font-family: /*"Source Han Sans", */"Microsoft JhengHei";
        color: #333
    }

    .login-panel .uname:focus {
        border-color: #b943d0;
        outline: 0;
        -webkit-box-shadow: inset 0 3px 3px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
        box-shadow: inset 0 3px 3px rgba(0,0,0,.075),0 0 16px rgba(102,175,233,.6)
    }

    .login-panel .pword {
        background: #fff url(../../image/locked.png) no-repeat 95% center;
        border-width: 2px;
        border-radius: 4px;
        border-color: black;
        font-size: 16px;
        font-weight: bold;
        color: #333
    }
    .login-panel .pword:focus {
        border-color: #b943d0;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)
    }

    .login-panel .code {
        background: #fff no-repeat 95% center;
        color: #333;
        margin: 0 0 15px 0;
    }

    .login-panel .btn {
        margin-top: 15px;
        background-color: #d2a4e5;
        width: 100%;
        padding: 8px 30px;
        color: #fff;
        border:none;
        font-size: 18px;
        font-weight:bold;
        text-transform: uppercase;
        transition: 0.5s;
        letter-spacing: 4px;
        cursor: pointer;
    }

    .login-panel .btn:hover {
        background-color: #b943d0;
        color: #d2a4e5;
        box-shadow: 0 0 5px #b943d0, 0 0 25px #b943d0, 0 0 50px #b943d0, 0 0 200px #b943d0;
    }

    .login-panel form {
        background: #00000000;
        height:80%;
        width:100%;
        -moz-box-shadow: 0 3px 0 rgba(12,12,12,.03);
        -webkit-box-shadow: 0 3px 0 rgba(12,12,12,.03);
        box-shadow: 0 3px 0 rgba(12,12,12,.03);
        -moz-border-radius: 16px;
        -webkit-border-radius: 16px;
        border-radius: 16px;
        padding: 10px
    }

.login-info ul {
    line-height: 25px;
    margin-top: 50px;
    font-size: 26px
}

/*弹出框里面文字的颜色*/
.layui-layer-content {
    color: #676a6c;
}

@media screen and (max-width:768px) {
    .login-panel {
        width: 360px !important;
        padding: 40px
    }

        .login-panel .section {
            width: 100%;
            margin: 0 auto;
        }

        .login-panel form {
            margin-top: 20px
        }

    .login-footer, .form-control {
        margin-bottom: 10px
    }

    .login-panel .login-info ul {
        display: none;
    }
}

@media screen and (max-width:320px) {
    .login-panel {
        margin: 0 20px;
        width: auto
    }

        .login-panel .section {
            width: 100%;
            margin: 0 auto;
        }
}
@media screen and (max-width:1550px) {
    .login-panel {
        width: 30%;
    }

        .login-panel .section {
            width: 100%;
            margin: 0 auto;
        }
}
@media screen and (max-width:1050px) {
    .login-panel {
        width: 35%;
    }

        .login-panel .section {
            width: 100%;
            margin: 0 auto;
        }
}


@media screen and (max-height:1550px) {
    .login-panel {
        height: 50%;
    }
}
@media screen and (max-height:1000px) {
    .login-panel {
        height: 60%;
    }
}
@media screen and (max-height:500px) {
    .login-panel {
        height: 70%;
    }
}

.checkbox-custom {
    position: relative;
    padding: 0 15px 0 25px;
    margin-bottom: 7px;
    margin-top: 0;
    display: inline-block
}

    .checkbox-custom input[type="checkbox"] {
        opacity: 0;
        position: absolute;
        cursor: pointer;
        z-index: 2;
        margin: -6px 0 0 0;
        top: 50%;
        left: 3px
    }

    .checkbox-custom label:before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        margin-top: -9px;
        width: 18px;
        height: 17px;
        display: inline-block;
        border-radius: 2px;
        border: 1px solid #bbb;
        background: #fff
    }

    .checkbox-custom input[type="checkbox"]:checked + label:after {
        position: absolute;
        display: inline-block;
        font-family: 'Glyphicons Halflings';
        content: "\e013";
        top: 42%;
        left: 3px;
        margin-top: -5px;
        font-size: 14px;
        line-height: 1;
        width: 16px;
        height: 16px;
        color: #333
    }

    .checkbox-custom label {
        cursor: pointer;
        line-height: 1.2;
        font-weight: normal;
        margin-bottom: 0;
        text-align: left;
        color: #111;
    }
