/* 继承端口管理的基础样式 */
.material-type-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
}

.material-type-tab {
    padding: 12px 16px;
    cursor: pointer;
    margin-right: 10px;
    position: relative;
    color: #595959;
}

.material-type-tab:hover {
    color: #1890ff;
}

.material-type-tab.active {
    color: #1890ff;
}

.material-type-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1890ff;
}

/* 搜索和过滤区域样式 */
.filter-section {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.category-select {
    min-width: 150px;
    padding: 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background-color: #fff;
}

/* 日期选择器样式 */
.date-range-picker {
    /* flex: 1; */
}

.date-range-picker input {
    width: 220px;
    padding: 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    display: inline-block;
}

/* 表格样式扩展 */
.table-container {
    margin-top: 10px;
}

#dataTable td {
    max-width: 300px; /* 调整为更宽以容纳40个字 */
    position: relative; /* 为tooltip定位 */
    padding: 8px;
    vertical-align: middle; /* 确保内容垂直居中 */
}

/* 表格内容样式 */
#dataTable td .cell-content {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-width: 100%;
    display: inline-block;
    line-height: 1.4;
}

/* Tooltip样式 */
#dataTable td .cell-tooltip {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 1000;
    max-width: 400px;
    white-space: normal;
    word-wrap: break-word;
    left: 0;
    top: 100%;
}

/* 评论和回复内容的特殊样式 */
.comment-content, .reply-content {
    max-width: 300px;
    position: relative;
}

/* 状态标签样式 */
.status-tag {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.status-pending {
    background-color: #fff7e6;
    color: #fa8c16;
    border: 1px solid #ffd591;
}

.status-completed {
    background-color: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.status-failed {
    background-color: #fff1f0;
    color: #f5222d;
    border: 1px solid #ffa39e;
}

.status-revoke {
    background-color: #fff1f0;
    color: #5328a3;
    border: 1px solid #c39eff;
}

/* 内容预览样式 */
.content-preview-img {
    max-width: 200px;
    max-height: 200px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
}

/* 预览图片悬浮放大效果 */
.content-preview-img:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* 账号筛选器样式 */
.account-filter-container {
    position: relative;
    width: 380px; /* 增加整体宽度 */
}

.account-search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
    background-color: white;
    cursor: pointer;
    position: relative;
}

.account-search-box input {
    border: none;
    outline: none;
    flex: 1;
    padding: 5px 0;
}

.selected-account {
    margin-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    padding-right: 5px; /* 添加右侧内边距 */
}

.dropdown-icon {
    margin-left: 5px;
    font-size: 12px;
    color: #666;
}

.account-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    z-index: 1000;
    display: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.account-item {
    padding: 8px 12px;
    cursor: pointer;
}

.account-item:hover {
    background-color: #f5f5f5;
}

.account-item-content {
    display: flex;
    align-items: center;
}

.account-avatar-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
}

.platform-logo {
    width: 16px;
    height: 16px;
    margin-left: 8px;
}

.no-results {
    padding: 10px;
    text-align: center;
    color: #999;
}
#hotFilter {
    min-width: 100px;
    padding: 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background-color: #fff;
}

#publishState {
    min-width: 100px;
    padding: 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background-color: #fff;
}
.hot-flag-value {
        display: inline-block;
        font-size: 1.3em;
        transition: all 0.3s ease;
    }

    /* 活跃火焰 - 动态燃烧效果 */
    .flame-active {
        animation: flicker 0.6s infinite alternate;
        text-shadow: 0 0 5px #ff5722,
                     0 0 10px #ff9800,
                     0 0 15px #ffc107;
        color: #ff5722;
        transform-origin: center bottom;
    }

    /* 熄灭火焰 - 灰色静态 */
    .flame-inactive {
        filter: grayscale(100%) brightness(0.7);
        opacity: 0.8;
        color: #888;
    }

    /* 火焰闪烁动画 */
    @keyframes flicker {
        0%, 100% {
            transform: scale(1) translateY(0);
            text-shadow: 0 0 5px #ff5722,
                         0 0 10px #ff9800,
                         0 0 15px #ffc107;
        }
        25% {
            transform: scale(1.05) translateY(-1px);
            text-shadow: 0 0 7px #ff5722,
                         0 0 12px #ff9800,
                         0 0 17px #ffc107;
        }
        50% {
            transform: scale(0.98) translateY(1px);
            text-shadow: 0 0 3px #ff5722,
                         0 0 8px #ff9800,
                         0 0 13px #ffc107;
        }
        75% {
            transform: scale(1.03) translateY(-1px);
            text-shadow: 0 0 6px #ff5722,
                         0 0 11px #ff9800,
                         0 0 16px #ffc107;
        }
    }