/*!
 * 商家工作台 · 登录页样式（独立页，不依赖 AdminLTE 布局）
 *
 * 设计：左侧品牌区（渐变 + 价值点）+ 右侧登录卡；小屏自动收起品牌区。
 * 全部为纯 CSS，无外部图片依赖。
 */

.console-login-body {
    margin: 0;
    min-height: 100vh;
    background: #f2f5f9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei", Arial, sans-serif;
    color: #22303f;
}

.cl-wrap {
    display: flex;
    min-height: 100vh;
}

/* ==================== 左：品牌区 ==================== */
.cl-brand {
    flex: 0 0 46%;
    max-width: 640px;
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(158deg, #10365c 0%, #1a5b8f 52%, #2a86c4 100%);
    display: flex;
    align-items: center;
}

.cl-brand::before {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    right: -200px;
    top: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 68%);
}

.cl-brand::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -140px;
    bottom: -160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 70%);
}

.cl-brand-inner {
    position: relative;
    z-index: 1;
    padding: 56px 60px;
    width: 100%;
}

.cl-logo {
    width: 56px;
    height: 56px;
    line-height: 56px;
    text-align: center;
    border-radius: 16px;
    font-size: 26px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    margin-bottom: 22px;
}

.cl-brand-title {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: .5px;
}

.cl-brand-sub {
    font-size: 14px;
    opacity: .82;
    margin: 0 0 30px;
    letter-spacing: 3px;
}

.cl-points {
    list-style: none;
    margin: 0 0 34px;
    padding: 0;
}

.cl-points li {
    position: relative;
    padding: 0 0 14px 26px;
    font-size: 14px;
    line-height: 1.75;
    opacity: .95;
}

.cl-points li i {
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 14px;
    color: #9fe0a8;
}

.cl-brand-foot {
    margin: 0;
    font-size: 13px;
    opacity: .78;
    border-top: 1px solid rgba(255, 255, 255, .18);
    padding-top: 18px;
}

/* ==================== 右：登录卡 ==================== */
.cl-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.cl-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(16, 42, 67, .13);
    padding: 34px 34px 26px;
}

.cl-card-head {
    margin-bottom: 22px;
}

.cl-card-head h2 {
    margin: 0 0 6px;
    font-size: 23px;
    font-weight: 700;
    color: #16324f;
}

.cl-card-head p {
    margin: 0;
    font-size: 13px;
    color: #7b8a99;
}

.cl-alert {
    border-radius: 10px;
    font-size: 13px;
    padding: 10px 12px;
    margin-bottom: 16px;
}

.cl-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #46586b;
    margin-bottom: 7px;
}

.cl-input {
    position: relative;
}

.cl-input .form-control {
    height: 46px;
    line-height: 46px;
    border-radius: 10px;
    border: 1px solid #dfe6ee;
    background: #fbfcfe;
    padding-left: 40px;
    font-size: 14px;
    box-shadow: none;
    transition: border-color .18s, box-shadow .18s, background .18s;
}

.cl-input .form-control:focus {
    border-color: #2a86c4;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(42, 134, 196, .14);
}

.cl-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #9aa9b8;
    pointer-events: none;
}

.cl-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #9aa9b8;
    padding: 6px 8px;
    cursor: pointer;
    border-radius: 8px;
}

.cl-eye:hover {
    color: #2a86c4;
    background: rgba(42, 134, 196, .08);
}

.cl-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 20px;
    font-size: 13px;
}

.cl-keep {
    font-weight: 400;
    color: #66788a;
    margin: 0;
    cursor: pointer;
}

.cl-keep input {
    margin-right: 4px;
    vertical-align: -1px;
}

.cl-link {
    color: #2a86c4;
}

.cl-link:hover {
    color: #1a5b8f;
}

.cl-submit {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #2a86c4 0%, #1a5b8f 100%);
    box-shadow: 0 10px 22px rgba(26, 91, 143, .26);
    transition: transform .16s, box-shadow .16s, opacity .16s;
}

.cl-submit:hover,
.cl-submit:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(26, 91, 143, .32);
}

.cl-submit:disabled {
    opacity: .72;
    transform: none;
    box-shadow: none;
}

.cl-submit i {
    margin-left: 6px;
}

.cl-foot {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #eef2f6;
    font-size: 12.5px;
    color: #66788a;
    line-height: 1.85;
}

.cl-foot p {
    margin: 0 0 6px;
}

.cl-copyright {
    margin: 22px 0 0;
    font-size: 12.5px;
    color: #93a2b1;
}

.cl-copyright a {
    color: #7b8a99;
    text-decoration: underline;
}

.cl-noscript {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff8e1;
    color: #7a5c00;
    font-size: 13px;
    padding: 10px 16px;
    text-align: center;
}

/* ==================== 响应式 ==================== */
@media (max-width: 991px) {
    .cl-brand {
        display: none;
    }

    .cl-main {
        padding: 28px 16px;
    }

    .cl-card {
        padding: 26px 22px 20px;
    }
}

@media (max-width: 480px) {
    .cl-card-head h2 {
        font-size: 20px;
    }

    .cl-copyright {
        text-align: center;
    }
}
