/* 登录页外层容器：背景图 + 居中布局 */
.login-page {
    width: 1920px;
    min-height: 1080px;
    background: url(/new_res/images/login/bg.png) no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 100px 0;
}

/* 登录卡片 */
.login-card {
    width: 960px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 40px 0 rgba(25, 27, 35, 0.06);
    overflow: hidden;
}

/* 卡片内容区：左右两栏 */
.login-content {
    display: flex;
}

/* 左侧扫码登录 */
.qr-login {
    width: 480px;
    padding: 90px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.qr-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.qr-title {
    color: rgba(25, 27, 35, 1);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 32px;
}

.qr-desc {
    color: rgba(67, 70, 84, 1);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-top: 16px;
}

.qr-image {
    width: 204px;
    height: 204px;
}

/* 右侧表单登录 */
.form-login {
    width: 480px;
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #FFFFFF;
}

/* 登录方式切换 Tabs */
.tabs {
    display: flex;
    margin-top: 16px;
    padding: 4px;
    background-color: rgba(247, 247, 247, 1);
    border-radius: 4px;
}

.tab {
    flex: 1;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: rgba(67, 70, 84, 1);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
}

.tab-active {
    background-color: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    color: rgba(29, 133, 255, 1);
    font-weight: 700;
}

/* 表单标签 */
.form-label {
    color: rgba(67, 70, 84, 1);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    line-height: 16px;
    margin-top: 24px;
}

/* 表单输入框 */
.form-input {
    width: 100%;
    height: 51px;
    box-sizing: border-box;
    padding: 0 16px;
    margin-top: 7px;
    background-color: rgba(247, 247, 247, 1);
    border: 1px solid transparent;
    border-radius: 6px;
    color: rgba(25, 27, 35, 1);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: rgba(29, 133, 255, 1);
    background-color: #fff;
}

.form-input::placeholder {
    color: rgba(115, 118, 133, 1);
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
}

/* 表单错误提示（手机号 / 验证码等） */
.error-help-block {
    display: block;
    margin-top: 6px;
    padding-left: 4px;
    color: rgba(245, 63, 63, 1);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}

/* 表单选项行：记住密码 / 忘记密码 / 修改密码 */
.form-options {
    display: flex;
    align-items: center;
    margin-top: 24px;
}

.checkbox {
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1px solid rgba(195, 198, 214, 1);
    border-radius: 2px;
    background-color: #fff;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.checkbox:checked {
    background-color: rgba(29, 133, 255, 1);
    border-color: rgba(29, 133, 255, 1);
}

.checkbox:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.remember-text {
    margin-left: 8px;
    color: rgba(67, 70, 84, 1);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.forgot-text {
    margin-left: auto;
    color: rgba(115, 118, 133, 1);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.modify-text {
    margin-left: 16px;
    color: rgba(115, 118, 133, 1);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

/* 登录按钮 */
.submit-btn {
    width: 100%;
    height: 56px;
    margin-top: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(29, 133, 255, 1);
    border: none;
    border-radius: 6px;
    box-shadow: 0 10px 15px -3px rgba(29, 133, 255, 0.2);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: rgba(20, 110, 230, 1);
}

.submit-text {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

/* 注册引导 */
.register-link {
    margin-top: 32px;
    color: rgba(67, 70, 84, 1);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
}


/* 验证码输入框容器（内含 input + 获取验证码按钮） */
.code-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 7px;
    background-color: rgba(247, 247, 247, 1);
    border-radius: 6px;
    padding-right: 16px;
}

.code-input-wrap .form-input {
    flex: 1;
    margin-top: 0;
}

/* 获取验证码按钮 */
.code-btn {
    flex-shrink: 0;
    height: 36px;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    background-color: rgba(29, 133, 255, 1);
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    cursor: pointer;
    white-space: nowrap;
}

/* 登录提示文案 */
.form-tip {
    margin-top: 32px;
    color: rgba(67, 70, 84, 1);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}


/* 成功修改密码卡片 */
.success-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 480px;
    padding: 32px 40px;
    background-color: rgba(255, 255, 255, 1);
    box-sizing: border-box;
}

.success-title {
    margin: 0;
    color: rgba(25, 27, 35, 1);
    font-size: 24px;
    letter-spacing: -0.6px;
    font-weight: 700;
    line-height: 32px;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin-top: 48px;
}

.login-btn {
    width: 100%;
    height: 56px;
    margin-top: 48px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background-color: rgba(29, 133, 255, 1);
    box-shadow: 0 10px 15px -3px rgba(29, 133, 255, 0.2);
    color: rgba(255, 255, 255, 1);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    cursor: pointer;
}

.home-link {
    margin-top: 32px;
    color: rgba(67, 70, 84, 1);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    cursor: pointer;
}


/* 修改密码卡片标题 */
.card-title {
    margin: 0;
    color: rgba(25, 27, 35, 1);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 32px;
    text-align: center;
}

/* 返回登录链接 */
.back-link {
    margin-top: 32px;
    color: rgba(67, 70, 84, 1);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
}


/* 快捷注册面板 */
.register-panel {
    width: 480px;
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #FFFFFF;
}

.register-title {
    margin: 0;
    color: rgba(25, 27, 35, 1);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 32px;
    text-align: center;
}

.register-tabs {
    display: flex;
    gap: 4px;
    margin-top: 16px;
    padding: 4px;
    background-color: rgba(247, 247, 247, 1);
    border-radius: 4px;
}

.register-tab {
    flex: 1;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: rgba(67, 70, 84, 1);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
}

.register-tab-active {
    background-color: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    color: rgba(29, 133, 255, 1);
    font-weight: 700;
}

.register-tip {
    margin: 0;
    margin-top: 24px;
    color: rgba(67, 70, 84, 1);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.register-label {
    color: rgba(67, 70, 84, 1);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    line-height: 16px;
    margin-top: 24px;
}

.register-input {
    width: 100%;
    height: 51px;
    box-sizing: border-box;
    padding: 0 16px;
    margin-top: 7px;
    background-color: rgba(247, 247, 247, 1);
    border: 1px solid transparent;
    border-radius: 6px;
    color: rgba(25, 27, 35, 1);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    outline: none;
    transition: border-color 0.2s;
}

.register-input:focus {
    border-color: rgba(29, 133, 255, 1);
    background-color: #fff;
}

.register-input::placeholder {
    color: rgba(115, 118, 133, 1);
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
}

/* 快捷注册验证码输入框容器 */
.register-code-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 7px;
}

.register-code-wrap .register-input {
    flex: 1;
    margin-top: 0;
}

.register-code-btn {
    flex-shrink: 0;
    height: 36px;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    background-color: rgba(29, 133, 255, 1);
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    cursor: pointer;
    white-space: nowrap;
}

.register-options {
    display: flex;
    align-items: center;
    margin-top: 24px;
}

.register-checkbox {
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1px solid rgba(195, 198, 214, 1);
    border-radius: 2px;
    background-color: #fff;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.register-checkbox:checked {
    background-color: rgba(29, 133, 255, 1);
    border-color: rgba(29, 133, 255, 1);
}

.register-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.register-remember {
    margin-left: 8px;
    color: rgba(67, 70, 84, 1);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.register-forgot {
    margin-left: auto;
    color: rgba(115, 118, 133, 1);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    cursor: pointer;
}

.register-submit {
    width: 100%;
    height: 56px;
    margin-top: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(29, 133, 255, 1);
    border: none;
    border-radius: 6px;
    box-shadow: 0 10px 15px -3px rgba(29, 133, 255, 0.2);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    cursor: pointer;
}

.register-submit:hover {
    background-color: rgba(20, 110, 230, 1);
}

.register-back {
    margin-top: 32px;
    color: rgba(67, 70, 84, 1);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
}