html, body.xl-signin {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #a8d8f0;
}

/* ---------- 纯背景层（只负责大图铺底） ---------- */
.xl-bg {
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
}
.xl-bg-img {
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
    /* 核心三行：等比铺满、居中、不重复 */
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    /* 底色兜底，图片加载前/裁边过渡不突兀 */
    background-color: #a0d4ed;
}

/* ---------- 画布 ---------- */
.xl-wrap {
    position: absolute;
    left: 0; top: 0;
    width: 1920px;
    height: 1080px;
    transform-origin: left top;
    z-index: 10;
    box-sizing: border-box;
}

/* ---------- 画布内装饰小图（随画布等比缩放） ---------- */
.xl-deco {
    position: absolute;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
    border-radius: 4px;
    z-index: 5;
}
.xl-deco-left   { left: 115px;  bottom: 140px; width: 180px; }
.xl-deco-right1 { left: 1250px; bottom: 140px; width: 200px; }
.xl-deco-right2 { right: 155px; bottom: 140px; width: 200px; }

/* ---------- 左侧标语 ---------- */
.xl-left {
    position: absolute;
    left: 80px;
    top: 90px;
    width: 900px;
    color: #fff;
}
.xl-company {
    font-size: 52px;
    font-weight: 700;
    margin: 0 0 100px 0;
    line-height: 1.2;
    letter-spacing: 2px;
    text-shadow: 0 3px 12px rgba(0, 60, 110, .25);
}
.xl-slogan {
    margin-top: 40px;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.55;
    color: #FFEB3B;
    text-shadow: 0 4px 14px rgba(0, 60, 110, .35);
    letter-spacing: 3px;
    text-align: right;
}
.xl-slogan-line { margin-bottom: 24px; }

/* ---------- 右侧登录卡片 ---------- */
.xl-right {
    position: absolute;
    right: 250px;
    top: 15%;
    width: 430px;
    z-index: 15;
}

/* ---------- 右侧登录卡片 ---------- */
.xl-right-register {
    position: absolute;
    right: 250px;
    top: 5%;
    width: 480px;
    z-index: 15;
}
.xl-login-card {
    background: rgba(255, 255, 255, .96);
    border-radius: 24px;
    padding: 30px 36px 26px;
    box-shadow: 0 16px 50px rgba(0, 60, 110, .18);
    text-align: center;
    color: #333;
}
.xl-card-title {
    font-size: 30px;
    font-weight: 700;
    color: #4CAF50;
    letter-spacing: 2px;
    margin: 0 0 16px;
}
.xl-subtitle {
    font-size: 16px;
    color: #333;
    margin: 0 0 14px;
    text-align: left;
    padding-left: 2px;
}
.xl-login-card .form-control {
    height: 46px;
    line-height: 46px;
    border-radius: 8px;
    border: 1px solid #e3edf4;
    background: #f8fbfd;
    color: #333;
    box-shadow: none;
    margin-bottom: 16px;
    padding: 0 14px;
    font-size: 15px;
}
.xl-login-card .form-control:focus {
    border-color: #7fc3e8;
    box-shadow: 0 0 0 3px rgba(127, 195, 232, .18);
    background: #fff;
}
.xl-login-card .btn-success {
    height: 46px;
    line-height: 32px;
    border-radius: 8px;
    background: #8CCFA6;
    border-color: #8CCFA6;
    font-size: 20px;
    letter-spacing: 10px;
    margin-top: 4px;
    font-weight: 600;
    color: #fff;
}
.xl-login-card .btn-success:hover,
.xl-login-card .btn-success:focus {
    background: #7ac096;
    border-color: #7ac096;
    color: #fff;
}
.xl-links {
    text-align: left;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.8;
}
.xl-links a { color: #1F78D1; text-decoration: none; }
.xl-links a:hover { text-decoration: underline; }

/* ---------- 页脚 ---------- */
.signup-footer {
    position: fixed;
    left: 0; bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 20;
    padding: 6px 10px;
    box-sizing: border-box;
}
.xl-footer-p {
    color: #000;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(255,255,255,.8);
}
.xl-footer-p a { color: #000; }
.xl-footer-p a:hover { color: #1F78D1; }

/* ---------- 平板 ---------- */
@media screen and (max-width: 1366px) {
    .xl-company { font-size: 44px; margin-bottom: 80px; }
    .xl-slogan  { font-size: 48px; }
    .xl-right   { right: 160px; top: 120px; width: 410px; }
}

/* ---------- 手机 / 窄屏：退出缩放，流式排布 ---------- */
@media screen and (max-width: 992px) {
    html, body.xl-signin { overflow-y: auto; height: auto; min-height: 100%; }
    .xl-wrap {
        position: relative !important;
        left: 0 !important; top: 0 !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        padding: 40px 20px 80px;
        box-sizing: border-box;
    }
    .xl-deco { display: none; }
    .xl-left, .xl-right {
        position: relative;
        left: auto; right: auto; top: auto;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }
    .xl-left { color: #0b3a55; text-align: center; }
    .xl-company { color: #0b3a55; font-size: 24px; margin-bottom: 24px; text-shadow: none; }
    .xl-slogan  { color: #f5a623; font-size: 22px; text-shadow: none; }
    .xl-right   { margin-top: 30px; }
    .xl-login-card { padding: 24px 22px 18px; border-radius: 16px; }
    .signup-footer { position: static; margin-top: 20px; }
}

@media screen and (max-width: 480px) {
    .xl-card-title { font-size: 24px; }
    .xl-company { font-size: 20px; }
    .xl-slogan  { font-size: 18px; }
}
/* ===== 验证码行 ===== */
.xl-captcha-row {
    margin: 0 -4px 14px;
    display: flex;
    align-items: center;
}
.xl-captcha-row .col-xs-6 {
    padding: 0 4px;
    box-sizing: border-box;
}
.xl-captcha-row .form-control.code {
    height: 42px;
    line-height: 42px;
    border-radius: 8px;
    border: 1px solid #e3edf4;
    background: #f8fbfd;
    font-size: 14px;
    padding: 0 12px;
}
.xl-captcha-row .imgcode {
    height: 42px;
    border-radius: 6px;
    cursor: pointer;
    vertical-align: middle;
    border: 1px solid #e3edf4;
}
.xl-captcha-refresh { display: inline-block; line-height: 0; }

/* ===== 记住我 ===== */
.xl-remember {
    text-align: left;
    margin: 0 0 14px 2px;
    font-size: 13px;
    color: #555;
    line-height: 20px;
}
.xl-remember input[type="checkbox"] {
    vertical-align: -2px;
    margin-right: 4px;
    cursor: pointer;
}
.xl-remember label {
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
}

/* 窄屏流式布局下验证码正常换行 */
@media screen and (max-width: 992px) {
    .xl-captcha-row { flex-direction: column; gap: 8px; }
    .xl-captcha-row .col-xs-6 { width: 100%; text-align: left; }
    .xl-captcha-row .imgcode { height: 38px; }
}