/* 全局账号相关页面样式 - 登录/注册/密码重置 通用 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", Arial, sans-serif;
}
body {
    width: 96%;
    max-width: 420px;
    margin: 20px auto;
    padding: 10px;
    font-size: 16px;
    color: #333;
    background: #f7f9fc;
}
/* 返回首页链接 样式 */
.back-home {
    display: block;
    text-align: left;
    margin-bottom: 20px;
    color: #007bff;
    text-decoration: none;
    font-size: 15px;
}
.back-home:hover {
    color: #0056b3;
    text-decoration: underline;
}
/* 标题样式 */
h2 {
    text-align: center;
    margin: 10px 0 25px 0;
    color: #222;
    font-weight: 600;
}
/* 错误提示信息 */
.msg-box {
    text-align: center;
    margin: 10px 0;
    padding: 10px;
    border-radius: 6px;
}
/* 表单样式 */
form {
    background: #fff;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
form p {
    margin-bottom: 18px;
}
form p label {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    color: #555;
}
/* 输入框样式 - 移动端适配 */
form input {
    width: 100%;
    height: 46px;
    padding: 0 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}
form input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}
/* 验证码盒子 弹性布局 完美适配移动端 */
.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.captcha-box input {
    flex: 1;
    margin: 0;
}
.captcha-img {
    width: 120px;
    height: 46px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    object-fit: cover;
}
/* 邮箱验证码按钮 */
.code-btn {
    width: 120px;
    height: 46px;
    border: none;
    border-radius: 8px;
    background: #17a2b8;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}
.code-btn:hover {
    background: #138496;
}
/* 核心按钮高亮样式 - 登录/注册/重置 通用 渐变+阴影+悬浮+点击特效 */
.btn {
    width: 100%;
    height: 50px;
    line-height: 50px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(90deg, #007bff, #0062cc);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
    transition: all 0.3s;
    margin-top: 8px;
}
.btn:hover {
    background: linear-gradient(90deg, #0062cc, #0056b3);
    box-shadow: 0 6px 16px rgba(0,123,255,0.4);
    transform: translateY(-1px);
}
.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}
/* 底部链接样式 */
.link-box {
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
}
.link-box a {
    color: #007bff;
    text-decoration: none;
    margin: 0 5px;
}
.link-box a:hover {
    color: #0056b3;
    text-decoration: underline;
}
/* 媒体查询 - 极致移动端适配 适配小屏手机 */
@media (max-width: 375px) {
    body {
        font-size: 15px;
    }
    form {
        padding: 20px 15px;
    }
    .captcha-img, .code-btn {
        width: 100px;
    }
    .btn {
        height: 46px;
        font-size: 17px;
    }
}