/* ============================================================
   登录 / 注册 美化管理样式
   - 字体与前台 result() 页一致（bmwTypeNext / Noto Sans SC，正常字号，不放大）
   - 左右分栏卡片：左侧品牌区，右侧表单区
   ============================================================ */

/* 外层容器：覆盖 .m-content 的 1100px 固定宽，改为居中卡片 */
.auth-wrap {
    width: auto;
    max-width: 920px;
    margin: 40px auto 80px;
}

.auth-card {
    display: flex;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(22, 117, 187, .18);
    min-height: 440px;
}

/* ---------- 左侧品牌区 ---------- */
.auth-aside {
    position: relative;
    flex: 0 0 320px;
    padding: 46px 38px;
    color: #fff;
    background-color: #1a3a52;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* 随机图片上压一层半透明深色遮罩，保证白字可读性 */
.auth-aside__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 35, 55, .62);
    z-index: 1;
}
.auth-aside > * {
    position: relative;
    z-index: 2;
}
/* 右侧小三角，衔接表单区（用深色渐变避免露底） */
.auth-aside::after {
    content: "";
    position: absolute;
    right: -1px; top: 0; bottom: 0;
    width: 36px;
    background: linear-gradient(155deg, rgba(26,58,82,.85) 0%, rgba(15,38,58,.95) 100%);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 3;
    pointer-events: none;
}
.auth-aside__logo {
    font-family: 'bmwTypeNext', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}
.auth-aside__title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 10px;
}
.auth-aside__desc {
    font-size: 14px;
    line-height: 1.7;
    opacity: .9;
    margin: 0 0 26px;
}
.auth-aside__points {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13.5px;
    line-height: 2.2;
}
.auth-aside__points li {
    position: relative;
    padding-left: 22px;
    opacity: .92;
}
.auth-aside__points li::before {
    content: "";
    position: absolute;
    left: 0; top: 11px;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
}

/* ---------- 右侧表单区 ---------- */
.auth-main {
    flex: 1 1 auto;
    padding: 40px 46px 46px;
    font-family: 'bmwTypeNext', 'Noto Sans SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
}

/* 复用现有 .login-left 作为表单面板：去掉自带阴影/圆角（由 .auth-card 提供） */
.auth-main.login-left {
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    width: auto;
    height: auto;
    padding: 40px 46px 46px;
}

/* 标题：左侧蓝色竖条，替代原来的灰色整条标题栏 */
.auth-heading,
.login-left > h1 {
    margin: 0 0 22px;
    padding: 0 0 0 14px;
    height: auto;
    line-height: 1.3;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    background: none;
    position: relative;
}
.auth-heading::before,
.login-left > h1::before {
    content: "";
    position: absolute;
    left: 0; top: 4px; bottom: 4px;
    width: 5px;
    border-radius: 3px;
    background: linear-gradient(180deg, #1f8fe0, #1675bb);
}

/* tab 切换：下划线指示，替代原来的顶部粗边框 */
.auth-main .tab {
    margin-left: 0;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #eef1f4;
    margin-bottom: 24px;
}
.auth-main .tab > li {
    padding: 0 4px 12px;
    margin-right: 18px;
    border-top: none;
    font-size: 16px !important;
    color: #8a94a6;
    position: relative;
    cursor: pointer;
}
.auth-main .tab > li.active {
    color: #1675bb;
    border-top: none;
    font-weight: 600;
}
.auth-main .tab > li.active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #1f8fe0, #1675bb);
}

/* 表单字段 */
.auth-main dl.input-list {
    padding-left: 0;
}
/* 覆盖 register 页 .register-dl 的 padding-left:50px !important */
.auth-main dl.input-list.register-dl {
    padding-left: 0 !important;
}
.auth-main dl.input-list > dd {
    margin-top: 18px;
    display: flex;
    align-items: center;
}
.auth-main .form-name {
    width: 92px;
    flex: 0 0 92px;
    color: #4a5568;
    font-size: 14px;
}
.auth-main dl.input-list > dd input[type='text'],
.auth-main dl.input-list > dd input[type='password'],
.auth-main dl.input-list > dd select {
    flex: 1 1 auto;
    width: auto;
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
    color: #2d3748;
    border: 1px solid #d9e0e8;
    border-radius: 8px;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
}
.auth-main dl.input-list > dd input:focus,
.auth-main dl.input-list > dd select:focus {
    border-color: #1675bb;
    box-shadow: 0 0 0 3px rgba(22, 117, 187, .15);
}
.auth-main dl.input-list > dd input::placeholder {
    color: #b6bfca;
}

/* 验证码「获取验证码」小按钮 */
.auth-main dl.input-list > dd .form-sub {
    height: 42px;
    line-height: 42px;
    width: auto;
    padding: 0 16px;
    border-radius: 8px;
    letter-spacing: 0;
    font-size: 13px;
    margin-left: 8px;
    flex: 0 0 auto;
}

/* 提交按钮：整行、品牌渐变、悬浮微浮起 */
.auth-submit {
    width: 100%;
    height: 46px;
    line-height: 46px;
    border-radius: 8px;
    letter-spacing: 6px;
    font-size: 16px;
    margin-top: 8px;
    transition: transform .12s ease, box-shadow .12s ease;
}
.auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(22, 117, 187, .35);
}

/* 自动登录行 */
.auth-main input#auotoLogin {
    width: 15px; height: 15px;
    margin-right: 6px;
    vertical-align: middle;
}
.auth-main label[for="auotoLogin"] {
    color: #4a5568;
    font-size: 14px;
    cursor: pointer;
}
.auth-main .notes {
    font-size: 12px;
    color: #aab2bd;
    margin-left: 4px;
}

/* 滑块验证：填满表单宽度 */
.auth-main .slider-verify {
    max-width: 100%;
    margin-top: 22px;
}

/* 底部链接（忘记密码 / 注册） */
.auth-links {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: #8a94a6;
}
.auth-links > a {
    color: #1675bb;
    padding: 0 6px;
}
.auth-links > a:hover {
    color: #0f5a91;
}
.auth-links .sep {
    color: #d9e0e8;
}

/* 注册提示框宽度适配 */
.auth-main .vendor-tip-box {
    width: auto;
    max-width: 100%;
    font-size: 13.5px;
    box-sizing: border-box;
}

/* ---------- 响应式 ---------- */
@media (max-width: 760px) {
    .auth-card { flex-direction: column; }
    .auth-aside { flex: none; }
    .auth-aside::after { display: none; }
    .auth-main,
    .auth-main.login-left { padding: 28px 22px 32px; }
    .auth-aside__points { display: none; }
}
