* {
    margin: 0;
    padding: 0;
    word-break: break-all
}

body {
    background-color: #F9FAFB;
    font-family: "SourceHanSans-Regular", sans-serif;
    overflow: auto;
}

/* 登录容器 */
.login-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 顶部导航 */
.top-nav {
    width: 100%;
    height: 80px;
    background-color: white;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
}

.nav-content {
    width: 1280px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-right: 32px;
    padding-left: 32px;
    box-sizing: border-box;
}

.brand-area {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 380px;
    height: 65px;
    border-radius: 8px;
    background-image: url("../../../img/cecLogo.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.org-name {
    display: flex;
    flex-direction: column;
}

.org-name-main {
    font-size: 18px;
    font-family: "SourceHanSansCN";
    color: #1A365D;
}

.org-name-sub {
    font-size: 12px;
    font-family: "SourceHanSansCN";
    color: #64748B;
}

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #64748B;
    text-decoration: none;
    font-family: "SourceHanSans-Regular";
}

.nav-link:hover {
    color: #22C55E;
}

/* 主内容区域 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    box-sizing: border-box;
}

.main-container {
    width: 1152px;
    height: 830px;
    background-color: white;
    box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

/* 跨区域标题 - 优化版本 */
.cross-area-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 50px 0;
    z-index: 10;
    background: transparent;
    pointer-events: none;
}

.title-content {
    display: inline-block;
    position: relative;
    pointer-events: auto;
}

.title-left {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /*padding-right: 8px;*/
    position: relative;
    z-index: 2;
}

.login-title {
    margin-top: 100px;
}

.login-main-title {
    font-size: 40px;
    font-weight: 800;
    font-family: 'Microsoft YaHei', sans-serif;
    color: #1fc26b;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.title-middle {
    background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 10%,
    #22C55E 30%,
    #16A34A 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /*padding-left: 8px;*/
    position: relative;
    z-index: 2;
}

/* 左侧图片区域 */
.left-image-area {
    width: 576px;
    height: 100%;
    /*background-image: linear-gradient(180.0deg, rgba(22, 101, 52, 1) 0%, rgba(15, 118, 110, 1) 100%);*/
    padding: 48px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background-image: url(../img/home_bg_6.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.title-area {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.main-title {
    font-size: 32px;
    font-family: "SourceHanSans-Bold";
    color: white;
    margin-bottom: 12px;
}

.green-slogan {
    border-radius: 8px;
    background-color: #16A34A;
    padding: 12px 20px;
    display: inline-block;
    margin-bottom: 24px;
}

.slogan-text {
    font-size: 26px;
    font-family: "SourceHanSans-Medium",sans-serif;
    color: white;
    font-weight: bold;
    letter-spacing: 10px;
}

.description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.theme-image {
    width: 100%;
    height: 256px;
    background-image: url('../img/home_bg_1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 8px;
    margin-bottom: 30px;
}

.service-features {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.features-text {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
}

.core-values {
    width: 100%;
    height: auto;
    position: relative;
}

.value-item {
    width: 228px;
    height: 48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
}

.value-item:nth-child(1) {
    top: 0;
    left: 0;
}

.value-item:nth-child(2) {
    top: 0;
    left: 252px;
}

.value-item:nth-child(3) {
    top: 71px;
    left: 0;
}

.value-item:nth-child(4) {
    top: 71px;
    left: 252px;
}

.value-icon {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-family: "remixicon";
    font-size: 16px;
    color: white;
}

.value-text {
    display: flex;
    flex-direction: column;
}

.value-title {
    font-size: 16px;
    font-family: "SourceHanSans-Medium";
    color: white;
    margin-bottom: 4px;
}

.value-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* 右侧登录区域 */
.right-login-area {
    width: 576px;
    height: 100%;
    padding: 48px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.right-login-area .login-form {
    margin-top: 100px;
}

.login-form {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-item {
    margin-bottom: 20px;
}

.input-container {
    width: 100%;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.input-container:focus-within {
    border-color: #22C55E;
}

.input-icon {
    font-family: "remixicon";
    color: #9CA3AF;
    margin-right: 12px;
    font-size: 16px;
}

.form-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: #1E293B;
    background: transparent;
    height: 100%;
}

.form-input::placeholder {
    color: #9CA3AF;
}

.captcha-area {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.captcha-input {
    flex: 1;
}

.captcha-image {
    width: 128px;
    height: 48px;
    border-radius: 8px;
    background-color: #f8fafc;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s;
}

.captcha-image:hover {
    opacity: 0.8;
}

.captcha-text {
    font-size: 14px;
    color: #64748B;
}

.register-forget-area {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.register-text {
    font-size: 16px;
    color: #22C55E;
    cursor: pointer;
    font-weight: bold;
}

.register-text:hover {
    text-decoration: underline;
}

.forgot-password {
    font-size: 16px;
    color: #22C55E;
    cursor: pointer;
    font-weight: bold;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-button {
    width: 100%;
    height: 48px;
    border-radius: 8px;
    background-image: linear-gradient(90.0deg, rgba(34, 197, 94, 1) 0%, rgba(20, 184, 166, 1) 100%);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

.login-button:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.login-button-text {
    font-size: 20px;
    font-family: "SourceHanSans-Medium";
    color: white;
}

.help-engineer-area {
    text-align: right;
    margin-top: 20px;
    margin-bottom: 20px;
}

.help-engineer-text {
    font-size: 16px;
    color: #6B7280;
}

.bottom-links {
    margin-top: auto;
}

.security-tip {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 8px;
}

.security-icon {
    font-family: "remixicon";
    font-size: 14px;
    color: #22C55E;
    margin-right: 4px;
}

.security-text {
    font-size: 14px;
    color: #6B7280;
}

/* 页脚区域 */
.footer-area {
    width: 100%;
    padding: 32px 16px;
    box-sizing: border-box;
    background-color: white;
    border-top: 1px solid #E5E7EB;
}

.footer-container {
    width: 1280px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 32px;
}

.footer-column {
    width: 296px;
}

.footer-title {
    font-size: 16px;
    font-family: "SourceHanSans-Medium";
    color: #1E293B;
    margin-bottom: 12px;
}

.footer-area .footer-column .footer-link {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 8px;
    cursor: pointer;
    font-family: "remixicon";
}

.footer-link:hover {
    color: #22C55E;
}

.copyright {
    text-align: center;
}

.copyright-text {
    font-size: 14px;
    color: #94A3B8;
}

/* 验证码画布样式 */
.captcha-canvas {
    width: 128px;
    height: 48px;
    border-radius: 8px;
    cursor: pointer;
}

/* 动画效果 */
@keyframes titleGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}


/* 输入框聚焦动画 */
.form-input:focus {
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}

/* 按钮点击效果 */
.login-button:active {
    transform: translateY(0px);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
}



/* 密码找回弹窗样式 */
.password-recovery-modal {
    background: #fff;
    border-radius: 8px;
    padding: 0;
    font-family: "Microsoft YaHei", sans-serif;
}

.password-recovery-header {
    padding: 20px 24px;
    background: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
    border-radius: 8px 8px 0 0;
}

.password-recovery-title {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.password-recovery-subtitle {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.password-recovery-content {
    padding: 24px;
}

.password-recovery-text {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-indent: 2em;
}

.password-recovery-important {
    color: #ff0000;
    font-weight: bold;
}

.download-section {
    margin: 16px 0;
}

.download-link {
    display: inline-flex;
    align-items: center;
    color: #1890ff;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    background: #f0f7ff;
    border-radius: 4px;
    transition: all 0.3s;
}

.download-link:hover {
    background: #e6f7ff;
    color: #40a9ff;
}

.download-link i {
    margin-right: 8px;
    font-size: 16px;
}

.contact-info {
    background: #f8f9fa;
    border-left: 4px solid #1890ff;
    padding: 16px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

.contact-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

.contact-detail {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.contact-email {
    color: #1890ff;
    font-weight: bold;
    font-size: 15px;
}

.password-recovery-footer {
    display: flex;
    justify-content: flex-end;
    padding: 20px 24px;
    border-top: 1px solid #eaeaea;
    background: #fafafa;
    border-radius: 0 0 8px 8px;
}

.recovery-btn {
    padding: 8px 32px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #333;
}

.recovery-btn:hover {
    background: #f5f5f5;
    border-color: #bfbfbf;
}


/* 响应式设计 */
@media (max-width: 1200px) {
    .nav-content, .footer-container {
        width: 100%;
        padding: 0 20px;
    }

    .main-container {
        width: 90%;
        height: auto;
        flex-direction: column;
    }

    .left-image-area, .right-login-area {
        width: 100%;
        height: auto;
    }

    .left-image-area {
        padding: 32px;
    }

    .cross-area-title {
        position: relative;
        padding: 30px 0;
        background-color: #156535;
    }

    .title-left, .title-middle {
        padding: 4px 0;
    }

    .login-main-title::before {
        display: none;
    }

    .login-main-title::after {
        display: none;
    }

    .right-login-area .login-form {
        margin-top: 0;
    }

    .title-area {
        margin-top: 0;
    }

    .core-values {
        height: auto;
        position: static;
    }

    .value-item {
        position: static;
        margin-bottom: 20px;
    }

    .value-item:nth-child(2), .value-item:nth-child(4) {
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 20px 16px;
    }

    .left-image-area, .right-login-area {
        padding: 24px;
    }

    .login-main-title {
        font-size: 24px;
    }

    .main-title {
        font-size: 24px;
    }

    .slogan-text {
        font-size: 18px;
    }

    .captcha-area {
        flex-direction: column;
        gap: 12px;
    }

    .captcha-image {
        width: 100%;
        height: 44px;
    }

    .register-forget-area {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .help-engineer-area {
        text-align: center;
    }
}

/* 滚动条样式优化 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 选择文本样式 */
::selection {
    background-color: rgba(34, 197, 94, 0.2);
    color: #15803d;
}

/* 打印样式 */
@media print {
    .top-nav, .footer-area {
        display: none;
    }

    .main-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/**
 * 1920 * 1080 分辨率下的登录页面样式
 */
@media (max-width: 1920px) and (max-height: 1080px) {
    body {
        overflow: hidden;
        height: 100vh;
        margin: 0;
        padding: 0;
    }

    .login-container {
        height: 100vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .top-nav {
        height: 70px;
        flex-shrink: 0;
    }

    .main-content {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        overflow: hidden;
        min-height: 0; /* 重要：允许flex项收缩 */
    }

    .main-container {
        /* 不使用transform，直接调整尺寸 */
        width: 1010px;  /* 1152 * 0.875 */
        height: 720px;  /* 720 * 0.875 */
        transform: none; /* 移除transform */
    }

    .left-image-area, .right-login-area {
        width: 50%;
        height: 100%; /* 保持容器高度 */
    }

    .footer-area {
        height: 60px;
        flex-shrink: 0;
        padding: 15px 16px;
    }
    .login-main-title, .login-main-title-sub {
        font-size: 38px;
    }
    .right-login-area .login-form {
        margin-top: 85px;
    }

    .login-title {
        margin-top: 50px;
    }
}
