.container {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--background-secondary, #f5f5f5);
  border-radius: 8px;
  padding: 1rem;
  overflow: hidden;
}

.header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color, #e0e0e0);
}

.title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary, #333);
}

.count {
  font-size: 0.875rem;
  color: var(--text-secondary, #666);
}

.fileList {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  flex: 1;
}

.fileItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: var(--background-primary, #fff);
  border: 1px solid var(--border-color, #e0e0e0);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.fileItem:hover {
  border-color: var(--border-hover, #ccc);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.fileInfo {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}

.fileName {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary, #333);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fileMeta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-secondary, #666);
}

.fileSize {
  font-weight: 400;
}

.fileSource {
  padding: 0.125rem 0.5rem;
  background: var(--background-tertiary, #f0f0f0);
  border-radius: 4px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fileActions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: 0.75rem;
}

.emptyState {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--text-secondary, #666);
  font-size: 0.875rem;
  text-align: center;
  flex: 1;
}

/* Scrollbar styling */
.fileList::-webkit-scrollbar {
  width: 6px;
}

.fileList::-webkit-scrollbar-track {
  background: transparent;
}

.fileList::-webkit-scrollbar-thumb {
  background: var(--border-color, #ccc);
  border-radius: 3px;
}

.fileList::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover, #999);
}




