/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

.page-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 100vh;
    background-image: url("../images/login-bg.png");
}

.logo {
    position: absolute;
    width: fit-content;
    left: 92px;
    top: 75px;
    font-size: 36px;
    font-weight: bold;
    color: #333;
}

/* 登录容器 */
.login-container {
    display: flex;
    width: 1336px;
    height: 677px;
    margin: auto;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(0.7357593774795532px);
    border-radius: 8px;
    overflow: hidden;
}

/* 左侧品牌区域 */
.brand-section {
    position: relative;
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

/* 品牌内容 */
.brand-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand-slogan {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.brand-desc {
    color: #999;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 48px;
}

/* 品牌图示 */
.brand-iamges {
    display: flex;
    gap: 16px;
}

.brand-image {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.brand-image.image1 {
    margin-top: 72px;
}

.brand-image.image1 img {
    width: 385px;
    height: auto;
}

.brand-image.image2 img {
    width: 126px;
    height: 120px;
}

/* 右侧登录区域 */
.login-section {
    width: 688px;
    padding: 70px 158px 35px 139px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

/* 登录方式切换 */
.login-tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 82px;
}

.tab {
    font-size: 24px;
    color: #999;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
}

.tab.active {
    color: #737DFF;
    font-weight: bold;
}

.tab.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 4px;
    background-color: #737DFF;
}

/* 登录表单 */
.login-form {
    display: none;
    flex-direction: column;
    height: 100%;
}

.login-form.active {
    display: flex;
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-field {
    width: 100%;
    height: 50px;
    border: 1px solid #D2D2D2;
    border-radius: 6px;
    padding: 0 15px;
    font-size: 18px;
    transition: border-color 0.3s;
}

.input-field::placeholder {
    color: #BBBBBB;
}

.input-field:focus {
    border-color: #6c7adb;
    outline: none;
}

/* 密码显示/隐藏切换按钮 */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('../images/eye close-fill.png');
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

/* 登录按钮 */
.login-btn {
    height: 52px;
    background: linear-gradient(90deg, #ABB4FF 0%, #737DFF 100%);
    color: white;
    border: none;
    border-radius: 26px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #5a68c0;
}

/* 表单底部 */
.form-footer {
    display: flex;
    margin-top: 12px;
}

.forgot-password {
    color: #0078FE;
    font-size: 18px;
    text-decoration: none;
}

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

/* 注册链接 */
.register-link {
    text-align: center;
    margin-top: auto;
    font-size: 18px;
    color: #666;
}

.register-link a {
    color: #6c7adb;
    text-decoration: none;
    margin-left: 5px;
}

.register-link a:hover {
    text-decoration: underline;
}

/* 微信登录区域 */
.wechat-login {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.wechat-login.active {
    display: flex;
}

.qrcode-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wechat-qrcode {
    width: 200px;
    height: 200px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.wechat-qrcode::after {
    content: "微信二维码";
    position: absolute;
    color: #999;
    font-size: 16px;
}

.qrcode-tip {
    color: #666;
    font-size: 18px;
    margin-top: 15px;
    text-align: center;
}