/* 后台管理系统全局样式 - 极简中性灰风格 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft Yahei", sans-serif;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
    background-color: #F5F5F5;
    color: #333;
    font-size: 15px;
    max-width: 750px;
    margin: 0 auto;
    padding-bottom: 20px;
}

/* 顶部导航栏 - 参考图片的极简灰白风格 */
.wechat-header {
    background-color: #FFFFFF; /* 纯白背景，和参考图一致 */
    color: #333333;           /* 深灰文字，不刺眼 */
    height: 44px;
    line-height: 44px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08); /* 轻微阴影，和参考图的分隔线效果一致 */
    border-bottom: 1px solid #EEEEEE;      /* 底部细线分隔，还原参考图的质感 */
}

/* 卡片容器 */
.wechat-card {
    background-color: #fff;
    border-radius: 12px;
    margin: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}
.wechat-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 按钮样式 - 中性灰+黑白配色，去掉绿色/蓝色 */
.wechat-btn {
    display: block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 24px;
    border: none;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 10px 0;
}
/* 主按钮：深灰渐变，无彩色 */
.wechat-btn-primary {
    background: linear-gradient(to right, #333333, #555555);
    color: #fff;
}
.wechat-btn-primary:hover {
    background: linear-gradient(to right, #222222, #444444);
    transform: translateY(-1px);
}
/* 默认按钮：白底+深灰边框 */
.wechat-btn-default {
    background-color: #fff;
    color: #333333;
    border: 1px solid #CCCCCC;
}
.wechat-btn-default:hover {
    background-color: #F8F8F8;
    transform: translateY(-1px);
}
/* 危险按钮：保留红色（仅用于删除/取消操作，和中性灰区分） */
.wechat-btn-danger {
    background: linear-gradient(to right, #F53F3F, #F76464);
    color: #fff;
}
.wechat-btn-danger:hover {
    background: linear-gradient(to right, #e03838, #f55858);
    transform: translateY(-1px);
}

/* 表单样式 - 聚焦边框改为中性灰 */
.wechat-form-group {
    margin: 15px 0;
}
.wechat-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    color: #666;
}
.wechat-form-input {
    width: 100%;
    height: 44px;
    padding: 0 15px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    font-size: 15px;
    transition: border 0.2s ease;
}
.wechat-form-input:focus {
    border-color: #666666; /* 深灰边框，无彩色 */
    outline: none;
}
.wechat-form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    font-size: 15px;
    min-height: 100px;
    resize: none;
}
.wechat-form-textarea:focus {
    border-color: #666666;
    outline: none;
}

/* 图片样式 */
.wechat-img {
    width: 100%;
    border-radius: 8px;
    margin: 10px 0;
}

/* 文本样式 - 去掉绿色/蓝色，改用中性色 */
.wechat-text-center {
    text-align: center;
}
.wechat-text-muted {
    color: #999;
    font-size: 14px;
}
.wechat-text-success {
    color: #333333; /* 成功提示用深灰，无彩色 */
}
.wechat-text-danger {
    color: #F53F3F; /* 危险提示保留红色 */
}

/* 表格样式 - 中性灰配色 */
.wechat-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}
.wechat-table th, .wechat-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #F0F0F0;
}
.wechat-table th {
    background-color: #F8F8F8; /* 浅灰表头，无彩色 */
    color: #666;
    font-weight: 500;
}
.wechat-table tr:hover {
    background-color: #FAFAFA; /* 浅灰hover背景 */
}

/* 分页样式 - 中性灰 */
.wechat-pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    list-style: none;
}
.wechat-pagination li {
    margin: 0 5px;
}
.wechat-pagination a {
    display: block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    text-decoration: none;
    color: #666;
    transition: all 0.2s ease;
}
.wechat-pagination .active a {
    background-color: #333333; /* 激活页用深灰 */
    color: #fff;
}
.wechat-pagination a:hover {
    background-color: #F0F0F0;
}

/* 提示框样式 - 中性灰配色 */
.wechat-alert {
    padding: 15px;
    border-radius: 8px;
    margin: 10px;
    font-size: 15px;
}
.wechat-alert-success {
    background-color: #F8F8F8; /* 浅灰背景 */
    color: #333333; /* 深灰文字 */
    border: 1px solid #E5E5E5; /* 浅灰边框 */
}
.wechat-alert-danger {
    background-color: #FFF2F2;
    color: #F53F3F;
    border: 1px solid #FED5D5;
}

/* 适配移动端 */
@media (max-width: 375px) {
    body {
        font-size: 14px;
    }
    .wechat-btn {
        height: 44px;
        line-height: 44px;
        font-size: 16px;
    }
}