/* ====== 完全保留您原有的所有样式 ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f4f5fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    height: 100vh;
    display: flex;
    background: #fff;
}

.left-section {
    flex: 1;
    background: linear-gradient(135deg, #f0f2f5 0%, #e8eaf6 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: url("https://fei.feicrm.com/img/purlogo.png") center no-repeat;
    background-size: cover;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    position: relative;
}



.right-section {
    flex: 0 0 650px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-form {
    width: 100%;
    max-width: 360px;
}

.login-header {
    margin-bottom: 30px;
}

.login-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wave {
    font-size: 20px;
}

.login-subtitle {
    font-size: 14px;
    color: #666;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    height: 48px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: none;
}

.form-control:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.password-wrapper {
    position: relative;
}


.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox {
    margin: 0;
}

.checkbox input {
    margin-right: 8px;
}

.checkbox label {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.forgot-link {
    font-size: 14px;
    color: #7c3aed;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    height: 48px;
    background: #7c3aed;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    background: #6d28d9;
}

.signup-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.signup-link {
    color: #7c3aed;
    text-decoration: none;
}

.signup-link:hover {
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #999;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    padding: 0 15px;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.social-btn:hover {
    background: #f5f5f5;
}

.social-icon {
    font-size: 18px;
}

.facebook {
    color: #1877f2;
}

.twitter {
    color: #1da1f2;
}

.github {
    color: #333;
}

.google {
    color: #ea4335;
}

/* ====== 仅添加布局与响应式优化样式 ====== */
/* ====== 不修改您原有的任何元素样式，只增加媒体查询和父容器适配 ====== */

/* 1. 修复img引用——保留您原有的img标签，确保图片显示 */
.left-content img {
    max-width: 90%;
    height: auto;
    object-fit: contain;
}

/* 2. 移动端/平板响应式布局优化（完全保留原有样式，仅增强适配） */
@media (max-width: 1200px) {
    .right-section {
        flex: 0 0 550px;
        padding: 30px;
    }
}

@media (max-width: 1024px) {
    .login-container {
        height: auto;
        min-height: 100vh;
    }

    .right-section {
        flex: 0 0 500px;
        padding: 30px;
    }


}

@media (max-width: 880px) {
    .login-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .left-section {
        flex: none;
        width: 100%;
        min-height: 500px;
        height: auto;
        padding: 20px 0;
    }

    .left-content {
        min-height: 500px;
    }

    .right-section {
        flex: none;
        width: 100%;
        max-width: 100%;
        padding: 40px 20px;
    }

    .login-form {
        max-width: 420px;
        margin: 0 auto;
    }



    .logo {
        top: 20px;
        left: 20px;
        font-size: 22px;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 600px) {
    .left-section {
        min-height: 450px;
    }

    .left-content {
        min-height: 450px;
    }



    .right-section {
        padding: 30px 16px;
    }

    .login-title {
        font-size: 22px;
    }

    .login-subtitle {
        font-size: 13px;
    }

    .form-control {
        height: 44px;
    }

    .btn-login {
        height: 44px;
    }

    .social-btn {
        width: 36px;
        height: 36px;
    }

    .social-icon {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .left-section {
        min-height: 400px;
    }

    .left-content {
        min-height: 400px;
    }



    .logo {
        font-size: 20px;
    }

    .logo-icon {
        width: 24px;
        height: 24px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .login-title {
        font-size: 20px;
    }

    .divider {
        margin: 20px 0;
    }

    .social-login {
        gap: 16px;
    }
}

@media (max-width: 360px) {
    .left-section {
        min-height: 350px;
    }



    .right-section {
        padding: 24px 12px;
    }

    .login-title {
        font-size: 18px;
    }

    .login-subtitle {
        font-size: 12px;
    }
}

/* 横屏模式优化 */
@media (max-height: 700px) and (orientation: landscape) {
    .login-container {
        height: auto;
        min-height: 100vh;
    }

    .left-section {
        min-height: 100vh;
    }

    .right-section {
        min-height: 100vh;
    }


}

/* 确保图片显示正常——保留您原有的img引用 */
.left-content img[src="img/auth-cover-login-illustration-light.png"] {
    max-width: 90%;
    height: auto;
}

.captcha_area{position: absolute;
    display: block;
    width: 120px;
    height: 40px;
    background: #fff;
    border: 1px solid #ccc;
    right: 3px;
    top: 3px;border-radius: 5px}
.captcha_area img{width: 100%;height: 100%;border-radius: 3px}

.resetpass_area{    position: absolute;
    display: block;
    width: 98px;
    height: 34px;
    right: 3px;
    top: 7px;
    border-radius: 5px;}