/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
}

/* 登录容器 */
.login-container {
    width: 100%;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 180px); /* 适配导航栏高度 */
}

.login-card {
    width: 100%;
    max-width: 450px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
}

/* 登录头部 */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 24px;
    color: #003366; /* 基金行业主色调 */
    margin-bottom: 8px;
}

.login-header p {
    font-size: 14px;
    color: #666;
}

/* 表单样式 */
.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    height: 45px;
    padding: 0 15px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

/* 验证码区域 */
.verify-wrap {
    display: flex;
    gap: 10px;
}

.verify-wrap input {
    flex: 1;
}

#verify-img {
    width: 120px;
    height: 45px;
    border-radius: 6px;
    cursor: pointer;
    object-fit: cover;
}

/* 记住密码 & 忘记密码 */
.remember-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember-label {
    font-size: 13px;
    color: #666;
    cursor: pointer;
}
#verify-label{
    background-image: url(/images/verify-code.png);
    background-size: cover;
    display: inline-block;

}

.forgot-pwd {
    font-size: 13px;
    color: #0066cc;
    text-decoration: none;
}

.forgot-pwd:hover {
    text-decoration: underline;
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    height: 48px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.login-btn:hover {
    background-color: #0052a3;
}

.login-btn:disabled {
    background-color: #99c2e8;
    cursor: not-allowed;
}

/* 登录底部 */
.login-footer {
    text-align: center;
    margin-top: 25px;
}

.register-link {
    color: #0066cc;
    text-decoration: none;
}

.register-link:hover {
    text-decoration: underline;
}

.risk-tip {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
}

/* 错误提示 */
.error-tip {
    position: absolute;
    left: 0;
    bottom: -20px;
    font-size: 12px;
    color: #ff4d4f;
    display: none;
}

/* 响应式适配 */
@media (max-width: 500px) {
    .login-card {
        padding: 30px 20px;
    }
    
    .verify-wrap {
        flex-direction: column;
    }
    
    #verify-img {
        width: 100%;
        height: 40px;
        margin-top: 5px;
    }
    
    .remember-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}