/* ============================================================
   登录页 - 分屏品牌化布局
   左：品牌区（靛蓝渐变 + 平台特性） 右：表单区
   与全站 SaaS 现代化极简主题一致：靛蓝 #4f46e5 + 大圆角
   ============================================================ */

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "微软雅黑", "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}

/* 分屏容器 */
.login-wrap{
    width:100%; height:100%;
    display:flex;
}
.login-wrap > *{
    box-sizing:border-box;
}

/* ── 左品牌区（56%） ── */
.login-brand{
    width:56%;
    flex:0 0 56%;
    background:linear-gradient(160deg,#eef2ff 0%,#e0e7ff 50%,#c7d2fe 100%);
    color:#1e1b4b;
    display:flex; flex-direction:column; justify-content:center;
    padding:0 7%;
    position:relative;
    overflow:hidden;
}
/* 背景装饰光晕（克制，非 AI 渐变堆砌） */
.login-brand::before{
    content:""; position:absolute; right:-120px; top:-120px;
    width:420px; height:420px; border-radius:50%;
    background:radial-gradient(circle, rgba(255,255,255,.35), transparent 70%);
    pointer-events:none;
}
.login-brand::after{
    content:""; position:absolute; left:-80px; bottom:-140px;
    width:360px; height:360px; border-radius:50%;
    background:radial-gradient(circle, rgba(79,70,229,.12), transparent 70%);
    pointer-events:none;
}
.login-brand .brand-logo{
    display:flex; align-items:center; gap:12px;
    margin-bottom:42px; position:relative; z-index:1;
}
.login-brand .brand-logo img{width:38px; height:38px;}
.login-brand .brand-logo .brand-name{font-size:24px; font-weight:600; letter-spacing:1px;}
.login-brand h2{
    font-size:34px; font-weight:700; margin:0 0 18px; line-height:1.3;
    position:relative; z-index:1;
}
.login-brand .brand-sub{
    font-size:15px; color:#4338ca; margin-bottom:44px; line-height:1.7;
    max-width:380px; position:relative; z-index:1;
}
.login-brand .brand-features{
    list-style:none; padding:0; margin:0;
    display:flex; flex-direction:column; gap:14px;
    position:relative; z-index:1;
}
.login-brand .brand-features li{
    display:flex; align-items:center; gap:12px;
    font-size:14px; color:#312e81;
}
.login-brand .brand-features li i{
    width:28px; height:28px; border-radius:50%;
    background:#fff;
    display:flex; align-items:center; justify-content:center;
    font-size:14px; color:#4f46e5; flex-shrink:0;
    box-shadow:0 1px 2px rgba(30,27,75,.08);
}
.login-brand .brand-foot{
    position:absolute; bottom:26px; left:9%; right:9%;
    font-size:12px; color:#6366f1; z-index:1;
}

/* ── 右表单区（44%） ── */
.login-form{
    flex:1 1 44%; min-width:0;
    background:#f8fafc;
    display:flex; align-items:center; justify-content:center;
    padding:32px;
}
.login-card{
    width:380px; max-width:100%;
    background:#fff; border-radius:14px;
    box-shadow:0 8px 24px rgba(15,23,42,.10);
    padding:40px 36px 34px;
}
.login-card h1{
    font-size:22px; font-weight:600; color:#262626;
    margin:0 0 6px; text-align:center;
}
.login-card .login-tip{
    font-size:13px; color:#8c8c8c; text-align:center; margin-bottom:32px;
}
.login-card .error{
    font-size:12px; color:#ff4d4f; height:26px; line-height:26px;
    text-align:left; margin:0 0 6px; min-height:26px;
}
.login-field{
    position:relative; margin-bottom:18px;
}
.login-field i{
    position:absolute; left:14px; top:50%; transform:translateY(-50%);
    color:#bfbfbf; font-size:15px; pointer-events:none;
}
.login-card .inputstyle{
    width:100%; height:44px; box-sizing:border-box;
    border:1px solid #e2e8f0; border-radius:10px;
    padding:0 14px 0 40px;
    font-size:14px; color:#262626; background:#fff;
    outline:none; transition:border-color .2s, box-shadow .2s;
}
.login-card .inputstyle:focus{
    border-color:#4f46e5; box-shadow:0 0 0 3px rgba(79,70,229,.12);
}
.login-card .inputstyle::placeholder{color:#bfbfbf;}
.login-card .btn-submit{
    width:100%; height:44px; line-height:44px;
    background:#4f46e5; color:#fff; font-size:15px;
    border:none; border-radius:10px; cursor:pointer;
    text-align:center; display:block; text-decoration:none;
    transition:background .2s; margin-top:8px;
}
.login-card .btn-submit:hover{background:#6366f1;}
.login-card .btn-submit:active{background:#4338ca; transform:translateY(1px);}
.login-card .btn-submit.disabled{opacity:.6; cursor:not-allowed;}
