/* 资料管理页面样式 */
.file-count {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 8px;
}

.batch-actions {
    display: flex;
    gap: 8px;
}

.upload-list {
    margin-top: 16px;
}

.upload-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.upload-item .file-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.upload-item .file-info {
    flex: 1;
}

.upload-item .file-name {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.upload-item .file-size {
    font-size: 12px;
    color: var(--text-muted);
}

.upload-item .upload-progress {
    width: 100px;
}

.upload-item .remove-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-item .remove-btn:hover {
    background: var(--error-color);
    color: white;
}

.preview-placeholder {
    text-align: center;
    padding: 48px;
    color: var(--text-muted);
}

.preview-placeholder i {
    font-size: 64px;
    margin-bottom: 16px;
}

.file-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.file-type-badge.pdf {
    background: #FFEBEE;
    color: #D32F2F;
}

.file-type-badge.word {
    background: #E3F2FD;
    color: #1976D2;
}

.file-type-badge.excel {
    background: #E8F5E9;
    color: #388E3C;
}

.file-type-badge.image {
    background: #FFF3E0;
    color: #F57C00;
}

.source-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

.checkbox-cell {
    width: 40px;
}

.checkbox-cell input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}
