/* ===== index.css · 全屏能源图 + 左下标语 + 右登录卡（绿色主题） ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    color: #1b2a4a;
    background: #eef3ee;
}

.login-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4vw;
    padding: 0 16vw 0 7vw;      /* 右侧加大留白：登录卡整体左移 */
    overflow: hidden;
}

/* ===== 整张图铺满全屏 ===== */
.bg-layer {
    position: absolute;
    inset: 0;
    background: url("../img/login_bg.png") center center / cover no-repeat;
}
/* 可读性罩层：左侧略压暗保证白字，右侧淡化让白卡聚焦，渐变过渡 */
.bg-veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgba(6, 26, 16, 0.42) 0%,
        rgba(8, 30, 20, 0.22) 38%,
        rgba(240, 248, 244, 0.06) 100%);
}

/* ===== 左上：企业名 + Logo ===== */
.brand-head {
    position: absolute;
    top: 34px; left: 7vw;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .7rem;
    color: #ffffff;
    animation: rise .8s ease both;
}
.brand-logo {
    flex: none;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .4);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.brand-logo svg { width: 18px; height: 18px; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-name {
    font-size: .98rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-shadow: 0 1px 10px rgba(0, 25, 12, .45);
}

/* ===== 左侧标语（左下角） ===== */
.brand-copy {
    position: relative;
    z-index: 2;
    flex: 0 1 auto;
    align-self: flex-end;       /* 贴底：左下角 */
    padding-bottom: 11vh;       /* 抬离底边，避开备案号 */
    animation: rise .8s ease both .12s;
}
.slogan {
    font-size: clamp(2.1rem, 3.4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .05em;
    color: #ffffff;
    text-shadow: 0 3px 22px rgba(0, 22, 12, .5);
}
.slogan-sub {
    margin-top: 1.3rem;
    font-size: .92rem;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .88);
    text-shadow: 0 1px 12px rgba(0, 22, 12, .5);
}

/* ===== 右侧：白玻璃登录卡（绿色主题） ===== */
.auth-side {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    animation: rise .8s ease both .2s;
}
.auth-box {
    width: min(380px, 88vw);
    padding: 2.7rem 2.7rem 2.3rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
    backdrop-filter: blur(18px) saturate(1.1);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 30px 70px rgba(12, 46, 30, 0.24), inset 0 1px 0 rgba(255, 255, 255, .85);
}

.accent-bar {
    display: block;
    width: 26px; height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #2f9d6a, #57c08d);
    margin-bottom: 1.35rem;
}
.auth-title {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: #16233c;
}
.auth-sub {
    margin-top: .55rem;
    font-size: .86rem;
    color: #7d8798;
}

/* 下划线式输入框 */
.lbl {
    display: block;
    margin: 1.9rem 0 .1rem;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .05em;
    color: #46536b;
}
.field { border-bottom: 1px solid #d8e0ec; transition: border-color .3s, box-shadow .3s; }
.field .inp {
    width: 100%;
    padding: .8em .1em;
    border: none;
    outline: none;
    background: transparent;
    font-size: .95rem;
    color: #1b2a4a;
}
.field .inp::placeholder { color: #a9b3c2; }
.field:focus-within {
    border-bottom-color: #2f9d6a;
    box-shadow: 0 1px 0 0 #2f9d6a;
}

/* 登录按钮：深绿渐变 */
.btn {
    width: 100%;
    margin-top: 2.5rem;
    padding: .92em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: .98rem;
    font-weight: 700;
    letter-spacing: .4em;
    text-indent: .4em;
    color: #fff;
    background: linear-gradient(135deg, #2f9d6a 0%, #1f7a4f 100%);
    box-shadow: 0 12px 26px rgba(31, 122, 79, .32);
    transition: transform .18s, box-shadow .28s, filter .28s;
}
.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
    box-shadow: 0 18px 34px rgba(31, 122, 79, .42);
}
.btn:active { transform: scale(.985); }

.btn-reg {
    display: block;
    margin: 1.3rem auto 0;
    padding: .3em .6em;
    border: none;
    background: none;
    cursor: pointer;
    font-size: .82rem;
    color: #8b95a5;
    transition: color .25s;
}
.btn-reg:hover { color: #2f9d6a; }

/* ===== 底部备案号 ===== */
.site-footer {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 3;
    padding: 20px;
    text-align: center;
    font-size: .75rem;
    color: rgba(255, 255, 255, .85);
    text-shadow: 0 1px 8px rgba(0, 25, 12, .55);
}
.site-footer .divider { margin: 0 .7em; opacity: .6; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #ffffff; }

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
    .login-page { justify-content: center; padding: 0 6vw; }
    .brand-copy { display: none; }
    .bg-veil {
        background: linear-gradient(90deg,
            rgba(6, 26, 16, 0.28) 0%,
            rgba(240, 248, 244, 0.1) 100%);
    }
    .brand-head { left: 6vw; }
}
@media (max-width: 600px) {
    .brand-head { top: 22px; }
    .auth-box { padding: 2rem 1.6rem 1.8rem; }
}


