p {font-family:黑体; font-size:12pt; line-height:12pt; color:black}
td {font-family:黑体;font-size:12pt;}
div {font-family: 黑体;font-size:12pt;}
h1 {font-family: 黑体;font-size:18pt;}
h2 {font-family: 黑体;font-size:16pt;}
h3 {font-family: 黑体;font-size:12pt;}
h4 {font-family: 黑体;font-size:10pt;}
a:hover {background-color:none; color:none}
a:link {color:none; text-decoration:none}
a:visited {color:none; text-decoration:none}
a:active {color:none; text-decoration:none}
a:hover {text-decoration:underline}

.username { width:60%; background:#ffffff  url("../img/username.png") 0px 0px no-repeat; padding-left:40px;BORDER-RIGHT: #3A3632 1px solid; BORDER-TOP: #3A3632 1px solid; FONT-SIZE: 16px; BORDER-LEFT: #3A3632 1px solid; COLOR: #000000; BORDER-BOTTOM: #3A3632 1px solid; HEIGHT: 30px }
.password { width:60%; background:#ffffff  url("../img/password.png") 0px 0px no-repeat; padding-left:40px;BORDER-RIGHT: #3A3632 1px solid; BORDER-TOP: #3A3632 1px solid; FONT-SIZE: 16px; BORDER-LEFT: #3A3632 1px solid; COLOR: #000000; BORDER-BOTTOM: #3A3632 1px solid; HEIGHT: 30px }
.phone { width:60%; background:#ffffff  url("../img/phone.png") 0px 0px no-repeat; padding-left:40px;BORDER-RIGHT: #3A3632 1px solid; BORDER-TOP: #3A3632 1px solid; FONT-SIZE: 16px; BORDER-LEFT: #3A3632 1px solid; COLOR: #000000; BORDER-BOTTOM: #3A3632 1px solid; HEIGHT: 30px }
.mail { width:60%; background:#ffffff  url("../img/mail.png") 0px 0px no-repeat; padding-left:40px;BORDER-RIGHT: #3A3632 1px solid; BORDER-TOP: #3A3632 1px solid; FONT-SIZE: 16px; BORDER-LEFT: #3A3632 1px solid; COLOR: #000000; BORDER-BOTTOM: #3A3632 1px solid; HEIGHT: 30px }
.text { width:60%; background:#ffffff  url("../img/text.png") 0px 0px no-repeat; padding-left:40px;BORDER-RIGHT: #3A3632 1px solid; BORDER-TOP: #3A3632 1px solid; FONT-SIZE: 16px; BORDER-LEFT: #3A3632 1px solid; COLOR: #000000; BORDER-BOTTOM: #3A3632 1px solid; HEIGHT: 30px }
.nbtn { width:60%; background:#3A3632 0px no-repeat; padding-left:0px;BORDER-RIGHT: #3A3632 0px solid; BORDER-TOP: #3A3632 1px solid; FONT-SIZE: 14px; BORDER-LEFT: #3A3632 0px solid; COLOR: #FFFFFF; BORDER-BOTTOM: #3A3632 3px solid; HEIGHT: 30px }
.nbtn1 { width:30%; background:#3A3632 0px no-repeat; padding-left:0px;BORDER-RIGHT: #3A3632 0px solid; BORDER-TOP: #3A3632 1px solid; FONT-SIZE: 14px; BORDER-LEFT: #3A3632 0px solid; COLOR: #FFFFFF; BORDER-BOTTOM: #3A3632 3px solid; HEIGHT: 30px }
.STYLE2 {font-size: 12pt}
.STYLE3 {font-size: 12}

<!--
.Alpha { filter: Alpha(Opacity=0,FinishOpacity=100, Style=1, StartX=0, StartY=0, FinishX=165, FinishY=108)}
.myBlur { filter: Blur(Add=1,Direction=135, Strength=6)}
-->


.mmm {
    display: flex;
    justify-content: center;  /* 水平居中 */
    align-items: center;      /* 垂直居中 */
    /* 如果需要固定高度，可以添加 */
    /* height: 150px;  /* 根据实际需求调整 */

/* ========== 微信登录新增样式 ========== */

/* 微信登录按钮样式 */
.wechat-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background-color: #07c160;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 10px;
    font-family: 黑体, 'Microsoft YaHei', sans-serif;
}

.wechat-login-btn:hover {
    background-color: #06ae56;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.wechat-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* 分隔线样式 */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.divider span {
    padding: 0 10px;
    color: #999;
    font-size: 0.85rem;
    font-family: 黑体, 'Microsoft YaHei', sans-serif;
}

/* 微信登录区域 */
.wechat-login-section {
    margin-top: 20px;
}

.wechat-login-section p {
    font-size: 12px;
    color: #999;
    margin-top: 12px;
    text-align: center;
}

/* ========== 微信绑定页面样式 ========== */

/* 绑定容器 */
.bind-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    margin: 40px 0;
}

/* 绑定卡片 */
.bind-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* 微信信息展示区域 */
.wechat-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.wechat-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.wechat-nickname {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 10px 0;
    font-family: 黑体, 'Microsoft YaHei', sans-serif;
}

/* 绑定页面标题 */
.bind-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 黑体, 'Microsoft YaHei', sans-serif;
}

.bind-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-size: 0.9rem;
    font-family: 黑体, 'Microsoft YaHei', sans-serif;
}

/* 错误信息 */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #f5c6cb;
    font-family: 黑体, 'Microsoft YaHei', sans-serif;
}

/* 表单组 */
.form-group {
    margin-bottom: 20px;
}

/* 表单输入框 */
.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-family: 黑体, 'Microsoft YaHei', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* 提交按钮 */
.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: 黑体, 'Microsoft YaHei', sans-serif;
}

.submit-btn:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

/* 返回链接 */
.back-link {
    text-align: center;
    margin-top: 20px;
}

.back-link a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 黑体, 'Microsoft YaHei', sans-serif;
}

.back-link a:hover {
    text-decoration: underline;
}

/* ========== 密码显示/隐藏相关 ========== */

/* 密码容器 */
.password-container {
    position: relative;
}

/* 密码切换按钮 */
.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 2;
}

.password-icon {
    width: 20px;
    height: 20px;
}

/* 内联错误提示 */
.error-message-inline {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
    font-family: 黑体, 'Microsoft YaHei', sans-serif;
}

/* ========== 响应式设计 ========== */

/* 移动端适配 */
@media (max-width: 768px) {
    .bind-card,
    .login-card {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .container {
        padding: 0 15px;
    }

    .register-link {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .wechat-login-btn {
        padding: 10px;
        font-size: 0.95rem;
    }

    .bind-title,
    .login-title {
        font-size: 1.5rem;
    }
}

/* ========== 登录页面卡片样式 ========== */

/* 登录容器 */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    margin: 40px 0;
}

/* 登录卡片 */
.login-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* 登录标题 */
.login-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 黑体, 'Microsoft YaHei', sans-serif;
}

/* 忘记密码链接 */
.forgot-password {
    text-align: right;
    margin-top: 15px;
    margin-bottom: 20px;
}

.forgot-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 黑体, 'Microsoft YaHei', sans-serif;
}

.forgot-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 注册链接容器 */
.register-link-container {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.register-link {
    display: inline-flex;
    align-items: center;
    color: #3498db;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: rgba(52, 152, 219, 0.05);
    font-family: 黑体, 'Microsoft YaHei', sans-serif;
}

.register-link:hover {
    background-color: rgba(52, 152, 219, 0.1);
    color: #2980b9;
    transform: translateY(-2px);
    text-decoration: none;
}

.register-link img {
    margin-right: 8px;
}

/* ========== 全局容器样式 ========== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 主体背景 */
body {
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    font-family: 黑体, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

/* ==================== 移动端横屏全局优化 ==================== */
@media (orientation: landscape) and (max-width: 896px) {
    /* 确保body和html可以滚动 */
    html, body {
        height: auto !important;
        min-height: 100vh;
        overflow-y: auto !important;
    }

    /* 确保所有div容器可滚动且不截断内容 */
    div {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* 主容器高度自适应 */
    .container {
        height: auto !important;
        min-height: calc(100vh - 60px);
        overflow-y: visible !important;
    }

    /* 主要内容区域 */
    .main-content {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 20px;
    }

    .left-content, .right-content {
        min-width: 0;
        overflow-x: hidden;
    }

    /* 书籍章节横屏优化 */
    .book-section {
        flex-direction: row !important;
    }

    .book-cover {
        flex: 0 0 100px !important;
        margin-right: 15px !important;
        margin-bottom: 0 !important;
    }
}