﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

/* 科技蓝主色调定义 */
:root {
    --tech-blue-main: #0078d4; /* 主科技蓝 */
    --tech-blue-light: #e6f4ff; /* 浅科技蓝 */
    --tech-blue-dark: #005a9e; /* 深科技蓝 */
    --red-cross: #e53935; /* 红十字主色 */
    --text-color: #333333;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 120, 212, 0.15);
}

/* 背景样式 */
body {
    /* background: linear-gradient(135deg, var(--tech-blue-light) 0%, var(--tech-blue-main) 100%);*/
    background-image: url('../Images/Login2.png') !important;
    background-size: cover; /* 关键：让图片覆盖整个容器 */
    background-position: center center; /*居中显示 */
    background-repeat: no-repeat; /* 不重复 */
    background-attachment: fixed; /*固定背景，不随滚动条滚动 */

    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* 登录容器 */
.login-container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    height: 600px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* 左侧品牌区（科技蓝主色调） */
.brand-side {
    flex: 1;
    background: linear-gradient(180deg, var(--tech-blue-main) 0%, var(--tech-blue-dark) 100%);
    color: var(--white);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    .brand-side .red-cross-icon {
        width: 80px;
        height: 80px;
        border: 3px solid var(--white);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 30px;
    }

        .brand-side .red-cross-icon span {
            display: block;
            width: 40px;
            height: 8px;
            background: var(--red-cross);
            position: relative;
        }

            .brand-side .red-cross-icon span::after {
                content: "";
                position: absolute;
                width: 8px;
                height: 40px;
                background: var(--red-cross);
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }

    .brand-side h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .brand-side .health-psych {
        display: flex;
        gap: 20px;
        margin: 30px 0;
    }

        .brand-side .health-psych .icon {
            width: 60px;
            height: 60px;
            background: var(--white);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--tech-blue-main);
            font-size: 28px;
        }

    .brand-side p {
        font-size: 16px;
        line-height: 1.6;
        opacity: 0.9;
    }

/* 右侧登录区 */
.login-side {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .login-side .title {
        font-size: 24px;
        color: var(--tech-blue-main);
        margin-bottom: 40px;
        text-align: center;
        font-weight: 600;
    }

/* 表单样式 */
.login-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
}

.login-form input {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

    .login-form input:focus {
        outline: none;
        border-color: var(--tech-blue-main);
        box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.2);
    }

/* 图案认证区 */
.pattern-verify {
    margin-bottom: 25px;
}

    .pattern-verify .verify-box {
        width: 100%;
        height: 100px;
        border: 1px solid var(--tech-blue-light);
        border-radius: 8px;
        background: var(--tech-blue-light);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        transition: background 0.3s;
    }

        .pattern-verify .verify-box:hover {
            background: rgba(0, 120, 212, 0.1);
        }

        .pattern-verify .verify-box .dot {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--tech-blue-main);
        }

/* 登录按钮 */
.login-btn {
    width: 100%;
    height: 50px;
    background: var(--tech-blue-main);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

    .login-btn:hover {
        background: var(--tech-blue-dark);
    }

/* 响应式适配 */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        height: auto;
    }

    .brand-side {
        padding: 40px 20px;
    }

    .login-side {
        padding: 40px 20px;
    }
}



.fixedLayerBottom {
    position: fixed;
    /* left: 22px;*/
    /* right: 0px;*/
    bottom: 10px;
    width: 100%;
    color: white;
    /*    padding: 5px 0;*/
    /*  background-color:#c0d7e9 !important;*/
    z-index: 100;
    text-align: center;
}