
.container {
    display: flex;
    min-height: 100vh;
}

/* 左侧导航栏样式 */
.sidebar {
    width: 240px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.sidebar h2 {
    display: flex;
    align-items: center;
    padding: 0 20px 20px;
    font-size: 18px;
    color: #07C160;
    border-bottom: 1px solid #eee;
}

.sidebar svg {
    margin-right: 10px;
    fill: #07C160;
}

.sidebar ul {
    list-style: none;
    padding: 10px 0;
}

.sidebar li a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.sidebar li a:hover {
    background-color: #f0f0f0;
}

.sidebar li a.active {
    color: #07C160;
    background-color: #e6f7e6;
    border-left: 3px solid #07C160;
}

/* 右侧内容区样式 */
.content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.content h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* 消息卡片样式 */
.message-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    transition: all 0.3s;
}

.message-card.unread {
    background-color: #f5fbff;
    border-left: 3px solid #07C160;
}

.message-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.avatar {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.message-content {
    flex: 1;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.header h3 {
    font-size: 16px;
    font-weight: 500;
}

.header .time {
    font-size: 13px;
    color: #999;
}

.message-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.status.unread {
    background-color: #e6f7e6;
    color: #07C160;
}

.status.replied {
    background-color: #f0f7ff;
    color: #2a6cff;
}

.status.pending {
    background-color: #fff7e6;
    color: #ff9900;
}

/* 福利项目样式 */
.welfare-projects {
    margin-bottom: 30px;
}

.welfare-projects h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.welfare-projects ul {
    list-style: none;
}

.welfare-projects li {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.welfare-projects li:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.welfare-projects .icon {
    width: 48px;
    height: 48px;
    background-color: #e6f7e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.welfare-projects .icon svg {
    fill: #07C160;
    width: 24px;
    height: 24px;
}

.welfare-projects .info h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.welfare-projects .info p {
    font-size: 14px;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        padding: 10px 0;
    }
    
    .sidebar ul {
        display: flex;
        overflow-x: auto;
        padding: 0;
    }
    
    .sidebar li {
        flex-shrink: 0;
    }
    
    .sidebar li a {
        padding: 10px 15px;
    }
}
