 /* 基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #f6f6f6;
    color: #333;
    font-size: 14px;
    display: flex;
    flex-direction: column;
}

/* 微信小程序风格的顶部安全区域（适配刘海屏） */
.wx-safe-area-top {
    height: 44px;
    background-color: white;
    position: relative;
    z-index: 100;
}

/* 微信小程序风格的状态栏 */
.wx-status-bar {
    height: 44px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    color: #000;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    z-index: 100;
    padding: 0 16px;
}

.wx-status-bar-title {
    font-size: 17px;
    font-weight: 500;
    flex: 1;
    text-align: center;
}

.wx-status-bar-back {
    font-size: 20px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wx-status-bar-action {
    font-size: 18px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 内容区域 - 考虑到顶部和底部导航的高度 */
.content-container {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 68px; /* 底部导航栏高度 */
}

/* 微信小程序风格的底部导航 */
.wx-tabbar {
    height: 60px;
    background-color: white;
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid #f0f0f0;
    padding-bottom: 8px; /* iPhone底部安全区域 */
    z-index: 100;
}

.wx-tabbar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #999;
    padding-top: 8px;
}

.wx-tabbar-item.active {
    color: #07c160;
}

.wx-tabbar-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

/* 按钮样式 */
.btn-primary {
    background-color: #07c160;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    outline: none;
    cursor: pointer;
}

.btn-outline {
    background-color: white;
    color: #07c160;
    border: 1px solid #07c160;
    border-radius: 4px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    outline: none;
    cursor: pointer;
}

/* 卡片样式 */
.card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
}

/* 标签样式 */
.tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    border-radius: 4px;
    margin-right: 4px;
    font-weight: 500;
}

.tag-blue {
    background-color: #4A90E2;
    color: white;
}

.tag-green {
    background-color: #50E3C2;
    color: white;
}

/* 分割线 */
.divider {
    height: 1px;
    background-color: #f0f0f0;
    margin: 12px 0;
}

/* 加载动画 */
.loading {
    text-align: center;
    padding: 24px 0;
    color: #999;
}

/* 空状态提示 */
.empty-state {
    text-align: center;
    padding: 40px 0;
    color: #999;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: #ddd;
}

/* 头像基础样式 */
.member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 多种颜色的头像样式 */
.avatar-1 {
    background-color: #93c5fd; /* 蓝色 */
}

.avatar-2 {
    background-color: #fca5a5; /* 红色 */
}

.avatar-3 {
    background-color: #a7f3d0; /* 绿色 */
}

.avatar-4 {
    background-color: #fdba74; /* 橙色 */
}

.avatar-5 {
    background-color: #c4b5fd; /* 紫色 */
}

.avatar-6 {
    background-color: #fcd34d; /* 黄色 */
}

.avatar-7 {
    background-color: #f9a8d4; /* 粉色 */
}

.avatar-8 {
    background-color: #86efac; /* 亮绿色 */
}

.avatar-9 {
    background-color: #a5b4fc; /* 靛蓝色 */
}

.avatar-10 {
    background-color: #d8b4fe; /* 淡紫色 */
}

.avatar-11 {
    background-color: #6ee7b7; /* 绿松石色 */
}

.avatar-12 {
    background-color: #cbd5e1; /* 灰色 */
}

/* 教师头像样式 */
.avatar-teacher {
    background-color: #fef3c7; /* 淡黄色 */
}