.card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 8px;
  margin: 0;
  transition: all 0.2s ease;
  animation: fadeInSlide 0.3s ease;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.iconContainer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.1);
}

.iconNormal {
  color: #8b5cf6;
}

.iconDanger {
  color: #ef4444;
}

.info {
  flex: 1;
  min-width: 0;
}

.filename {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary, #e2e8f0);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.description {
  font-size: 11px;
  color: var(--text-secondary, #94a3b8);
  margin-top: 2px;
}

.meta {
  display: flex;
  gap: 8px;
  font-size: 10px;
  color: var(--text-tertiary, #64748b);
  margin-top: 4px;
}

.source {
  padding: 1px 6px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 4px;
}

.path {
  font-family: monospace;
  opacity: 0.7;
}

.downloadButton {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: transparent;
  color: #8b5cf6;
  cursor: pointer;
  transition: all 0.2s;
}

.downloadButton:hover:not(:disabled) {
  background: #8b5cf6;
  color: white;
  border-color: #8b5cf6;
}

.downloadButton:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.downloaded {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}

.downloaded:hover:not(:disabled) {
  background: #10b981;
  color: white;
  border-color: #10b981;
}

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error {
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #ef4444;
}
