/* 消息中心页面样式 */
.message-header {
    background: #fff;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.message-title {
    font-size: 18px;
    font-weight: bold;
}

/* 平台消息 */
.platform-message {
    background: #fff;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.message-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff7e6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.message-icon i {
    font-size: 20px;
    color: #fa8c16;
}

.message-content {
    flex: 1;
}

.message-text {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.message-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #f5f5f5;
    color: #666;
    border-radius: 10px;
    font-size: 12px;
}

/* 聊天动态 */
.chat-section {
    margin-top: 15px;
}

.chat-header {
    padding: 10px 15px;
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
}

/* 空状态 */
.empty-state {
    padding: 40px 20px;
    text-align: center;
    color: #999;
}

.empty-state img {
    width: 120px;
    margin-bottom: 15px;
}

.empty-state .title {
    font-size: 16px;
    margin-bottom: 8px;
}

.empty-state .subtitle {
    font-size: 14px;
    color: #999;
}

/* 消息列表 */
.message-list {
    background: #fff;
}

.message-item {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.message-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 12px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-avatar i {
    font-size: 20px;
    color: #999;
}

.message-info {
    flex: 1;
}

.message-name {
    font-size: 15px;
    color: #333;
    margin-bottom: 4px;
}

.message-preview {
    font-size: 13px;
    color: #999;
}

.message-time {
    font-size: 12px;
    color: #999;
}

/* 消息红点 */
.message-badge {
    background: #ff4d4f;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    position: absolute;
    top: -5px;
    right: -5px;
}

/* 消息分类标签 */
.message-tabs {
    display: flex;
    background: #fff;
    padding: 12px 0;
    margin-bottom: 10px;
}

.message-tab {
    flex: 1;
    text-align: center;
    font-size: 14px;
    color: #666;
    position: relative;
}

.message-tab.active {
    color: #1890ff;
}

.message-tab.active:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #1890ff;
}
