/* 全局样式重置 */
* {
    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: radial-gradient(circle at 30% 30%,
            #dcefff,
            /* 淡蓝白 */
            #a8cfff 40%,
            /* 浅蓝 */
            #e6e9ff
            /* 淡紫白 */
        );

}

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

/* 登录容器 */
.login-container {
    display: flex;
    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;
}

/* 协议同意区域样式 */
.agree-section {
    margin-bottom: 30px;
}

.agree-container {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.4;
}

.radio-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* 隐藏原生复选框 */
.agree-checkbox {
    width: 18px;
    height: 18px;
    opacity: 0;
    position: absolute;
    cursor: pointer;
}

/* 自定义复选框样式 */
.checkbox-label {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    background-color: white;
    cursor: pointer;
    position: relative;
    display: inline-block;
    transition: all 0.2s ease;
}

/* 复选框选中状态 */
.agree-checkbox:checked+.checkbox-label {
    background-color: #358FFF;
    border-color: #358FFF;
}

/* 复选框选中后的对勾 */
.agree-checkbox:checked+.checkbox-label::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* 提示框样式 */
.tooltip {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip-text {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    position: relative;
}

/* 提示框箭头 */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

/* 当复选框未选中且鼠标悬停时显示提示 */
.radio-wrapper:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* 当复选框已选中时隐藏提示 */
.agree-checkbox:checked~.tooltip {
    visibility: hidden;
    opacity: 0;
}

/* 协议文本样式 */
.agreement-text {
    color: #666;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

/* 协议链接样式 */
.agreement-link {
    color: #358FFF;
    text-decoration: none;
    margin: 0 2px;
    transition: color 0.2s ease;
}

.agreement-link:hover {
    color: #2570d9;
    text-decoration: underline;
}

/* 登录按钮 */
.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;
}

.ft-copyright {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
    color: rgb(152, 162, 180);
    font-size: 12px;
}

.ft-copyright .copyright-item {
    margin: 0;
}

.ft-copyright .copyright-item .gn-pic {
    width: 15px;
    height: 15px;
    margin: 0 5px;
}

.ft-copyright a {
    color: rgb(152, 162, 180);
}


@media screen and (max-width: 720px) {
    body {
        min-width: auto;
    }

    .logo {
        left: auto;
    }

    .brand-section {
        display: none;
    }

    .login-container {
        width: 80%;
        height: auto;
    }

    .login-section {
        width: 100%;
        padding: 40px;
    }

    .login-tabs {
        margin-bottom: 50px;
    }

    .tab {
        font-size: 18px;
    }

    .input-field,
    .forgot-password,
    .register-link,
    .qrcode-tip {
        font-size: 14px;
    }

    .register-link {
        margin-top: 15px;
    }

    .input-group,
    .agree-section {
        margin-bottom: 15px;
    }

    .login-btn {
        font-size: 14px;
        height: 44px;
    }

}