/* 登录页面样式 */
.login-page {
    background-color: #f5f5f5;
    padding: 40px 0;
    min-height: calc(100vh - 300px);
}

.login-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* 登录框样式 */
.login-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    width: 400px;
    padding: 30px;
}

/* 登录标签页 */
.login-tabs {
    display: flex;
    border-bottom: 1px solid #e4e4e4;
    margin-bottom: 24px;
}

.login-tab {
    padding: 12px 24px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    position: relative;
}

.login-tab.active {
    color: #1a6aff;
    font-weight: 500;
}

.login-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1a6aff;
}

/* 登录面板 */
.login-panel {
    display: none;
}

.login-panel.active {
    display: block;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 14px;
}

.form-input:focus {
    border-color: #1a6aff;
    outline: none;
}

/* 验证码组 */
.verify-code {
    display: flex;
    gap: 12px;
}

.verify-code .form-input {
    width: 60%;
}

.captcha-img {
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
}

/* 记住用户名和忘记密码 */
.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.forgot-link {
    color: #1a6aff;
    text-decoration: none;
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    height: 44px;
    background: #1a6aff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 16px;
}

.login-btn:hover {
    background: #0052cc;
}

/* 注册链接 */
.register-link {
    text-align: center;
    color: #666;
}

.register-link a {
    color: #1a6aff;
    text-decoration: none;
}

/* 扫码登录面板 */
.qr-code {
    text-align: center;
    padding: 20px 0;
}

.qr-code img {
    width: 180px;
    height: 180px;
    margin-bottom: 16px;
}

.qr-code p {
    color: #666;
    font-size: 14px;
}

/* 安全提示 */
.security-tips {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    width: 300px;
    height: fit-content;
}

.security-tips__title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 16px;
}

.security-tips__list {
    color: #666;
    font-size: 14px;
}

.security-tips__list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.security-tips__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1a6aff;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
        padding: 0 20px;
    }

    .login-box {
        width: 100%;
    }

    .security-tips {
        width: 100%;
    }
} 