/* 微信风格基础样式 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, sans-serif;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 微信风格头部 */
.wechat-header {
    background: #393a3e;
    color: white;
    padding: 44px 16px 12px 16px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    font-size: 17px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wechat-header .back-btn,
.wechat-header .menu-btn {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.wechat-header .back-btn::before {
    content: '‹';
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
    margin-right: 4px;
}

.wechat-header .menu-btn::before {
    content: '☰';
    font-size: 18px;
    font-weight: bold;
}

.wechat-header .new-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    background: none;
    border: none;
}

.wechat-header .title {
    font-size: 17px;
    font-weight: 500;
}

/* 内容区域 */
.content-wrapper {
    margin-top: 73px;
    min-height: calc(100vh - 73px - 60px);
    padding-bottom: 60px;
}

/* 底部导航栏 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
    color: #999;
    text-decoration: none;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.3s;
}

.bottom-nav-item.active {
    color: #07c160;
}

.bottom-nav-item .icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.bottom-nav-item .label {
    font-size: 11px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background: #07c160;
    color: white;
}

.btn-primary:active {
    background: #06ad56;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:active {
    background: #e0e0e0;
}

.btn-block {
    display: block;
    width: 100%;
}

/* 卡片样式 */
.card {
    background: white;
    border-radius: 8px;
    padding: 16px;
    margin: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 输入框样式 */
.input-group {
    margin-bottom: 16px;
}

.input-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.input-field {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 16px;
    background: white;
}

.input-field:focus {
    outline: none;
    border-color: #07c160;
}

/* 列表样式 */
.list-item {
    background: white;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.list-item:active {
    background: #f7f7f7;
}

.list-item:last-child {
    border-bottom: none;
}

/* 徽章样式 */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    background: #ff3b30;
    color: white;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state .icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state .text {
    font-size: 14px;
}

