/* 基础重置（保留你的原有配置，补充优化） */
* {
    margin: 0;
    padding: 0;
}
*,
::after,
::before {
    box-sizing: border-box;
}
img {
    width: 100%;
    height: 100%;
    /* 图片自适应，避免拉伸变形 */
    object-fit: contain;
}
body {
    font-size: 14px;
    color: #333;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.5;
    background-color: #d5def1;
    /* 防止页面溢出 */
    overflow-x: hidden;
}
a {
    text-decoration: none;
}

/* 背景容器（优化定位和适配） */
.background-container {
    width: 100%;
    height: 100vh;
    background-image: url('../images/bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    /* 防止子元素溢出 */
    overflow: hidden;
} 

/* 系统名称（优化响应式字体） */
.sys_name {
    padding: 50px;
}
.sys_name span {
    font-size: clamp(24px, 2vw, 34px); /* 自适应字体：最小24px，最大34px，按屏幕宽度比例 */
    color: #d5ecff;
}
.background-container h1 {
    font-size: clamp(2.5em, 4vw, 4.5em); /* 自适应标题字体 */
    margin-top: 0px;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 3px 3px 0px #042965;
} 

/* 指南容器（核心优化：抗缩放布局） */
.guide-container {
    display: flex;
    justify-content: space-between; /* 替换space-around，两端对齐更稳定 */
    flex-wrap: wrap; 
/* [SYNC-CSS-5 2026-11-14] sync from fszlnew/WebContent/css/yindaoye.css | change: add padding:0 40px IE11 fallback before clamp() | original: clamp() only | rollback: overwrite this file with .workbuddy/security_fix/backup/WebContent/css/yindaoye.css */
    padding: 0 40px; /* IE11 fallback: clamp() unsupported */
    padding: 0 clamp(20px, 4vw, 60px); /* 自适应内边距：最小20px，最大60px */
    gap: 20px; /* 替代子元素margin，统一间距，避免缩放叠加 */
    width: 100%;
    margin: 0 auto;
} 

/* 指南模块（彻底解决缩放错乱） */
.guide-module {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    flex-direction: column;
    background-color: #ffffff;
    padding: 20px;
    width: 400px;        /* 固定宽度，所有浏览器统一 */
    max-width: 400px;    /* 强制不放大 */
    height: auto;
    min-height: 450px;   /* 统一高度 */
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    box-sizing: border-box;
}
.guide-module:hover {
    background-color: rgba(255, 255, 255, 0.8); /* 修复rgba写法错误：rgb(255,255,255,0.8) → rgba */
    cursor: pointer;
    /* 增加hover过渡，更顺滑 */
    transition: background-color 0.2s ease;
}
.guide-module img {
    width: 210px;
    height: 60px;
    margin: 95px auto 40px;
    display: block;
    object-fit: contain;
    -webkit-object-fit: contain;
}
.guide-module h2 {
    font-size: clamp(20px, 1.5vw, 26px); /* 标题自适应字体 */
    color: #0071fc;
    font-weight: 400;
    margin: 20px auto;
}

/* 箭头样式（自适应字体） */
.pullarrow {
    font-size: 260px;
    line-height: 1;        /* 核心：消除行高偏移 */
    text-align: center;
    display: inline-block;
    vertical-align: middle;/* 核心：垂直对齐 */
    background: -webkit-linear-gradient(left, #00b4ff, #006cff);
    background: linear-gradient(to right, #00b4ff, #006cff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /*margin-top: 30px;      !* 统一上边距 *!*/
    padding: 0;
}

/* 圆形容器（优化定位） */
/* 先确保父容器的定位上下文正确（补充/优化） */
.circle-container {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 40px auto;
    display: block;
    box-sizing: border-box;
}

.circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    -webkit-border-radius: 50%; /* UOS 必加 */

    /* 双渐变写法，UOS + 主流都生效 */
    background: -webkit-linear-gradient(-42deg, #004eff, #00baff);
    background: linear-gradient(-42deg, #004eff, #00baff);

    position: relative;
    z-index: 1;

    /* 修复 UOS 圆形变形 */
    overflow: hidden;
    -webkit-backface-visibility: hidden;
}

/* 修复垂直居中的图标样式 */
.eg_icon {
    /* 固定大小，所有浏览器统一 */
    font-size: 48px;
    color: #ffffff;

    /* 完整兼容前缀：UOS 必须加 */
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;

    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;

    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;

    /* 绝对定位铺满父容器 */
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;

    /* UOS 修复：防止图标抖动/偏移 */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);

    /* 去掉干扰 */
    line-height: 1;
}

/* 页脚（修复定位偏移） */
.footer {
    font-size: clamp(14px, 1.2vw, 18px); /* 自适应字体 */
    color: #ffffff;
    position: absolute;
    bottom: 30px;
    left: 50%; /* 改为50%，配合transform精准居中 */
    transform: translateX(-50%);
    /* 防止页脚溢出 */
    white-space: nowrap;
}

/* 登录容器（优化层级和适配） */
/* 登录弹窗遮罩 */
.login_container {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;

    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    overflow: hidden;
}

/* 登录白色盒子 */
.login_bg {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;

    background-color: #ffffff;
    width: 500px;    /* 固定宽度，UOS 必生效 */
    height: 600px;   /* 固定高度 */
    border-radius: 30px;
    -webkit-border-radius: 30px;
    padding: 50px 30px 30px;
    box-sizing: border-box;
    position: relative;
}

/* 标题 */
.login_bg h3 {
    font-size: 36px;
    color: #313131;
    font-weight: 400;
    margin-bottom: 15px;
}
.name_line {
    width: 120px;
    height: 4px;
    background-color: #3a5ddf;
    margin-bottom: 50px;
}

/* 表单 */
.biaodan {
    width: 100%;
    text-align: center;
}

/* 输入行 */
.input-row {
    position: relative;
    padding: 10px 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
    box-sizing: border-box;
}

/* 输入框 */
.input-row input {
    padding-left: 50px;
    width: 85%;
    height: 50px;
    line-height: 50px;
    border: none;
    border-bottom: 2px solid #d9d9d9;
    font-size: 16px;
    color: #313131;
    outline: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}
.input-row input:focus {
    border-bottom-color: #0060d7;
}

/* 登录图标（用户名、密码、验证码） */
.login_icon {
    position: absolute;
    left: 45px;
    top: 45%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 22px;
    color: #b3b3b3;
    z-index: 9;
}

/* 验证码背景 */
.input_img {
    background: url(../images/yzm.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    -webkit-background-size: contain;
    text-indent: 10px;
}

/* 登录按钮 */
.btn_wrapper {
    margin: 50px auto 0;
    background-color: #0060d7;
    width: 85%;
    height: 55px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    -webkit-transition: background-color 0.2s ease;
}
.btn_wrapper:hover {
    background-color: #004fbb;
}

/* 按钮文字 */
.btn_login {
    font-size: 24px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    width: 100%;
    height: 100%;
    -webkit-appearance: none;
}

/* [SYNC-CSS-6 2026-11-14] sync from fszlnew/WebContent/css/yindaoye.css | change: add IE11 (-ms-high-contrast) overrides | original: no IE11 block | rollback: overwrite this file with .workbuddy/security_fix/backup/WebContent/css/yindaoye.css */
/* IE11 / 360 compat mode does not support background-clip:text or clamp().
   The arrow renders as a blue bar and clamp() font sizes fall back to defaults.
   This media query matches IE10/IE11 only; modern browsers are unaffected. */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .pullarrow {
        background: none;
        -webkit-text-fill-color: #006cff;
        color: #006cff;
    }
    .sys_name span { font-size: 28px; }
    .background-container h1 { font-size: 40px; }
    .guide-module h2 { font-size: 22px; }
    .footer { font-size: 16px; }
}