﻿/* ALLY_UPLOAD_LIST_SCROLL_V1 */

/* Keep upload area from consuming main chat space */
#uploadList {
  max-height: 118px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  margin-top: 8px !important;
  padding-right: 4px !important;
}

/* Make file rows compact */
#uploadList .upload-item {
  min-height: 34px !important;
  padding: 6px 10px !important;
  margin-bottom: 6px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* Keep filename readable but prevent row expansion */
#uploadList .upload-name {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Keep size and remove button compact */
#uploadList .upload-size {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  font-size: 13px !important;
}

#uploadList .upload-remove {
  flex: 0 0 auto !important;
  padding: 4px 10px !important;
  line-height: 1.2 !important;
}

/* Hide empty placeholder */
#uploadList .upload-empty {
  display: none !important;
}

/* Compact the upload status */
#uploadStatus {
  margin-top: 6px !important;
  margin-bottom: 6px !important;
  font-size: 14px !important;
}

/* Slightly reduce upload section vertical padding without touching chat layout */
.large-upload-section,
.upload-section {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
