/* 登录页面样式 */
.login-page {
    padding: 60px 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 300px);
}

.login-container {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* 登录表单区域 */
.login-box {
    flex: 0 0 480px;
    padding: 40px;
}

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

.login-header h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.login-header p {
    font-size: 16px;
    color: #666;
}

.login-form {
    margin-top: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
}

.input-wrapper:focus-within {
    border-color: #2d85f0;
    box-shadow: 0 0 0 2px rgba(45, 133, 240, 0.2);
}

.input-wrapper i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 100%;
    color: #999;
    font-size: 18px;
}

.input-wrapper input {
    flex: 1;
    padding: 12px 15px 12px 0;
    border: none;
    outline: none;
    font-size: 14px;
}

.toggle-password {
    cursor: pointer;
    padding-right: 15px;
}

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

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input[type="checkbox"] {
    margin-right: 6px;
}

.forgot-password {
    color: #2d85f0;
    font-size: 14px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin-top: 10px;
}

/* 其他登录方式 */
.other-login-options {
    margin-top: 30px;
}

.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider:before,
.divider:after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 60px);
    height: 1px;
    background-color: #e0e0e0;
}

.divider:before {
    left: 0;
}

.divider:after {
    right: 0;
}

.divider span {
    display: inline-block;
    padding: 0 10px;
    background-color: #fff;
    color: #999;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

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

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    transition: all 0.3s;
}

.social-icon.wechat:hover {
    background-color: #09bb07;
    color: #fff;
}

.social-icon.qq:hover {
    background-color: #12b7f5;
    color: #fff;
}

.social-icon.weibo:hover {
    background-color: #e6162d;
    color: #fff;
}

.register-link {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.register-link a {
    color: #2d85f0;
    font-weight: 500;
}

/* 登录页右侧背景区域 */
.login-banner {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0f0ff;
    overflow: hidden;
}

.login-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    max-width: 80%;
    text-align: center;
}

.banner-content h3 {
    font-size: 24px;
    color: #2d85f0;
    margin-bottom: 15px;
}

.banner-content p {
    color: #666;
    margin-bottom: 20px;
}

.feature-list {
    text-align: left;
    padding-left: 10px;
}

.feature-list li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.feature-list .icon-check {
    color: #2d85f0;
    margin-right: 10px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
    }

    .login-box {
        flex: 1;
        width: 100%;
        order: 2;
    }

    .login-banner {
        height: 200px;
        order: 1;
    }
} 