@charset "utf-8";
/* ============================================================
   登录页高级感皮肤 login_premium.css
   深色沉浸式品牌区 + 悬浮白色登录卡（分屏布局）
   仅覆盖视觉，不改动任何表单 ID / JS 依赖结构
   ============================================================ */

/* ---------- 0. 页面底色：整幅主视觉背景挂在 body 上并 fixed 铺满视口 ----------
   背景不依赖 #login/#main 的盒宽度，任何超宽视口下都不会出现右侧色差带。 */
body{
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='460' height='460' viewBox='0 0 460 460'%3E%3Cg fill='none' stroke='%2300c6ff' stroke-opacity='.16'%3E%3Cpath d='M60 380 L150 290 L128 176 L236 132 L322 196 L392 96'/%3E%3Cpath d='M150 290 L258 330 L322 196'/%3E%3Cpath d='M258 330 L368 352'/%3E%3C/g%3E%3Cg fill='%2300c6ff' fill-opacity='.32'%3E%3Ccircle cx='60' cy='380' r='3'/%3E%3Ccircle cx='150' cy='290' r='4'/%3E%3Ccircle cx='128' cy='176' r='3'/%3E%3Ccircle cx='236' cy='132' r='4'/%3E%3Ccircle cx='322' cy='196' r='3'/%3E%3Ccircle cx='392' cy='96' r='3'/%3E%3Ccircle cx='258' cy='330' r='3'/%3E%3Ccircle cx='368' cy='352' r='3'/%3E%3C/g%3E%3C/svg%3E") left 10% bottom 8% / 460px 460px no-repeat fixed,
        radial-gradient(900px 460px at 30% -6%, rgba(0, 141, 231, .30), transparent 62%) fixed,
        radial-gradient(760px 420px at 72% 108%, rgba(0, 198, 255, .16), transparent 62%) fixed,
        radial-gradient(720px 520px at 70% 24%, rgba(0, 141, 231, .18), transparent 62%) fixed,
        linear-gradient(180deg, rgba(15, 27, 45, 0) 76%, #0f1b2d 100%) fixed,
        linear-gradient(158deg, #01173c 0%, #071c3f 46%, #0a2a5c 100%) fixed #06122b;
}
#main{
    background: transparent;
}
/* 视口级网格纹理层 */
body::before{
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 92% 78% at 50% 44%, #000 0%, transparent 78%);
    mask-image: radial-gradient(ellipse 92% 78% at 50% 44%, #000 0%, transparent 78%);
    pointer-events: none;
    z-index: -1;
}

/* ---------- 1. 顶栏：完全复用首页 .header-nav.home-nav 结构与样式 ----------
   模板已改用与首页一致的 header-nav/home-nav + home-logo + nav + auth 标记，
   此处仅约束 logo 尺寸（与全站 160px logo 惯例一致），其余继承首页同款样式。 */
#header .header-nav.home-nav .home-logo{
    display: block;
}
#header .header-nav.home-nav .home-logo img{
    width: 160px;
    height: auto;
    vertical-align: middle;
}

/* ---------- 2. 主视觉容器：背景已上移至 body（fixed 全铺），此处仅做布局 ---------- */
#login{
    height: auto !important;
    min-height: calc(100vh - 80px);
    background: transparent !important;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}
#login .container{
    position: relative;
    z-index: 2;
    width: 92%;
    max-width: 960px;
    min-width: 0;
    margin: 0 auto;
    /* 超宽屏下 #login 盒宽可能小于视口，改用 vw 相对视口居中，保证舞台始终正中 */
    margin-left: calc(50vw - min(960px, 92vw) / 2);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 80px;
    padding: 70px 0;
}

/* ---------- 3. 左侧品牌区 ---------- */
#login .slogon,
.slogon{
    float: none;
    width: 460px;
    height: auto;
    padding: 0;
    text-align: left;
    flex: 0 0 460px;
    max-width: 460px;
}
#login .slogon.copyright-times{
    padding: 0;
    text-align: left;
}
.login-kicker{
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    color: rgba(0, 198, 255, .85);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
}
.login-kicker::before{
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #008de7, #00c6ff);
}
.slogon h1.copyright-times{
    margin-top: 22px;
    font-size: 64px;
    line-height: 1.12;
    height: auto;
    font-weight: 700;
    letter-spacing: 14px;
    background: linear-gradient(118deg, #ffffff 18%, #bfe6ff 55%, #4db2ff 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}
.slogon h2.copyright-times{
    margin-top: 20px;
    padding-top: 0;
    width: auto;
    height: auto;
    line-height: 2;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(233, 242, 252, .78);
    background: none;
    border-radius: 0;
}

/* ---------- 4. 右侧登录卡 ---------- */
.form{
    float: none;
    position: relative;
    flex: 0 0 420px;
    width: 420px;
    padding: 0;
}
/* 品牌区与登录卡之间的竖向光分隔线，让两区构成一个整体舞台 */
.form::after{
    content: "";
    position: absolute;
    left: -40px;
    top: 6%;
    bottom: 6%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(0, 198, 255, .38) 30%, rgba(0, 141, 231, .38) 70%, transparent);
    pointer-events: none;
}
.form .wechat,
.form .phone,
.form .bind{
    position: relative;
    width: auto;
    height: auto;
    padding: 32px 34px 28px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(2, 10, 30, .50), 0 2px 8px rgba(2, 10, 30, .25);
    overflow: hidden;
    animation: lp-rise .55s ease both;
}
.form .wechat::before,
.form .phone::before,
.form .bind::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #008de7, #00c6ff);
}
@keyframes lp-rise{
    from{ opacity: 0; transform: translateY(16px); }
    to{ opacity: 1; transform: translateY(0); }
}
.form .hd{
    padding: 2px 0 16px;
    height: auto;
    border-bottom: 1px solid #eef2f7;
}
.form .hd h3{
    float: none;
    line-height: 1.3;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #12203a;
}
.form .hd p{
    float: none;
    padding: 4px 0 0;
    line-height: 1.6;
    font-size: 12px;
    color: #8b98ad;
}
.phone .bd,
.bind .bd{
    padding: 8px 0 0;
}
dl.form-group{
    min-height: 0;
    margin-top: 16px;
}
dl.form-group dt{
    float: none;
    width: auto;
    height: auto;
    line-height: 1;
    margin-bottom: 8px;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .5px;
    color: #5a6b85;
}
dl.form-group dd{
    margin-left: 0;
}
dl.form-group dd:not(.error){
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-control{
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 44px;
    line-height: 44px;
    padding: 0 14px;
    border: 1px solid #dfe6f0;
    border-radius: 10px;
    background: #f8fafd;
    color: #1a2233;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.form-control:focus{
    outline: none;
    border-color: #008de7;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 141, 231, .12);
}
.form-control::placeholder{
    color: #9aa7bb;
}
.control-captcha,
.control-code{
    width: auto;
}
img.captcha,
button.btn-code{
    margin: 0;
    vertical-align: top;
    border-radius: 10px;
}
img.captcha{
    flex: 0 0 108px;
    width: 108px;
    height: 44px;
    border: 1px solid #dfe6f0;
    cursor: pointer;
}
button.btn-code{
    flex: 0 0 108px;
    width: 108px;
    height: 44px;
    line-height: 42px;
    border: 1px solid rgba(0, 141, 231, .40);
    background: #e8f4ff;
    color: #0077cc;
    font-size: 13px;
    transition: background-color .2s, border-color .2s;
}
button.btn-code:hover{
    background: #d9edff;
    border-color: rgba(0, 141, 231, .65);
}
dl.form-group dd.error{
    height: auto;
    min-height: 0;
    margin-top: 6px;
    line-height: 1.5;
    font-size: 12px;
    color: #e05656;
}
.form-btn{
    position: relative;
    padding: 0;
    margin-top: 24px;
    height: auto;
}
button.btn-sub{
    width: 100%;
    height: 46px;
    line-height: 46px;
    margin-right: 0;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #008de7 0%, #00c6ff 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 6px;
    text-indent: 6px;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(0, 141, 231, .35);
    transition: transform .15s, box-shadow .2s, filter .2s;
}
button.btn-sub:hover{
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(0, 141, 231, .42);
}
button.btn-sub:disabled,
button.btn-disabled{
    background: #c9d4e2;
    color: #fff;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    filter: none;
}
.btn-loading-img{
    position: absolute;
    top: 13px;
    right: 16px;
    left: auto !important;
    width: 20px;
    height: 20px;
}
.login-agree{
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
    color: #8b98ad;
}
/* 绑定手机号卡片内的双按钮 */
.bind .form-btn{
    display: flex;
    align-items: center;
}
.bind button.btn-sub{
    flex: 1 1 auto;
    width: auto;
}
a.btn-no-bind{
    width: auto;
    height: 46px;
    line-height: 46px;
    margin: 0 0 0 14px;
    font-size: 13px;
    color: #5a6b85;
}
/* 微信扫码卡片（默认隐藏，保留皮肤） */
.wechat .qrcode,
.wechat .scan{
    width: 240px;
}
.wechat .qrcode{
    height: 240px;
    margin-top: 14px;
}

/* ---------- 5. 移动端（320 - 1156）---------- */
@media screen and (min-width: 320px) and (max-width: 1156px){
    html{
        font-size: 16px !important;
    }
    body{
        background:
            radial-gradient(600px 300px at 85% -5%, rgba(0, 198, 255, .25), transparent 60%) fixed,
            radial-gradient(500px 260px at 10% 100%, rgba(0, 141, 231, .22), transparent 60%) fixed,
            linear-gradient(180deg, #071c3f 0%, #0a2a5c 55%, #06122b 100%) fixed #06122b !important;
    }
    body::before{
        display: none;
    }
    #login{
        display: block !important;
        min-height: 100vh;
        background: transparent !important;
    }
    #login .container{
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }
    .form{
        width: 100% !important;
        flex: none !important;
    }
    .form::after{
        display: none;
    }
    .logo_h5_logo{
        width: 92% !important;
    }
    .logo_h5_logo img{
        display: block;
        margin: 0 auto !important;
    }
    .logo_h5_logo img:first-child{
        width: 132px !important;
        margin: 40px auto 14px !important;
    }
    .logo_h5_logo img:last-child{
        width: 70% !important;
        max-width: 420px;
        margin: 0 auto 6px !important;
    }
    .form .wechat,
    .form .phone,
    .form .bind{
        width: 92% !important;
        max-width: 520px;
        margin: 26px auto 48px !important;
        padding: 24px 20px 22px !important;
        background: #fff !important;
        border-radius: 16px;
        box-sizing: border-box;
        box-shadow: 0 24px 60px rgba(2, 10, 30, .45);
    }
    .hd{
        display: block !important;
        height: auto !important;
        padding: 0 0 12px !important;
        border-bottom: 1px solid #eef2f7;
    }
    .form .hd h3{
        font-size: 19px;
    }
    dl.form-group{
        min-height: 0;
        margin-top: 14px;
    }
    dl.form-group dd:not(.error){
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .form-control{
        flex: 1 1 auto;
        min-width: 0;
        width: auto !important;
        height: 44px !important;
        line-height: 44px !important;
        padding: 0 14px !important;
        border: 1px solid #dfe6f0 !important;
        border-radius: 10px !important;
        background: #f8fafd !important;
        color: #1a2233 !important;
        font-size: 14px !important;
    }
    input[type=text]::placeholder{
        color: #9aa7bb !important;
    }
    .control-captcha,
    .control-code{
        width: auto !important;
        flex: 1 1 auto;
    }
    img.captcha{
        flex: 0 0 96px;
        width: 96px !important;
        height: 44px !important;
        border: 1px solid #dfe6f0 !important;
    }
    button.btn-code{
        flex: 0 0 96px;
        width: 96px !important;
        height: 44px !important;
        line-height: 42px !important;
        border: 1px solid rgba(0, 141, 231, .40) !important;
        background: #e8f4ff !important;
        color: #0077cc !important;
        font-size: 12px !important;
    }
    dl.form-group dd.error{
        height: auto;
        margin-top: 6px;
        line-height: 1.5;
        font-size: 12px !important;
    }
    .form-btn{
        margin-top: 20px;
        height: auto;
    }
    button.btn-sub{
        width: 100% !important;
        height: 46px !important;
        line-height: 46px !important;
        border-radius: 10px !important;
        background: linear-gradient(135deg, #008de7 0%, #00c6ff 100%) !important;
        font-size: 15px !important;
        letter-spacing: 4px;
        text-indent: 4px;
        box-shadow: 0 12px 26px rgba(0, 141, 231, .35);
    }
    .btn-loading-img{
        left: auto !important;
        right: 16px;
        top: 13px;
    }
    .login-agree{
        margin-top: 14px;
    }
}
