﻿/* ALLY_CLEANUP_UI_V2 */

/* Compact top area */
#largeFileUploadButton,
.large-upload-button {
  padding: 6px 14px !important;
  min-height: 30px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  margin: 6px 0 4px 0 !important;
}

/* Hide empty/wordy status area if JS blanks text */
#uploadStatus:empty {
  display: none !important;
}

/* Keep upload area tight */
#uploadStatus {
  margin: 2px 0 4px 0 !important;
  font-size: 13px !important;
  min-height: 0 !important;
}

/* Compact scroll area for file list */
#uploadList {
  max-height: 82px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  margin-top: 4px !important;
  padding-right: 3px !important;
}

/* Smaller file cards */
#uploadList .upload-item {
  min-height: 26px !important;
  padding: 4px 10px !important;
  margin-bottom: 4px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#uploadList .upload-name {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 13px !important;
}

#uploadList .upload-size {
  flex: 0 0 auto !important;
  font-size: 12px !important;
  white-space: nowrap !important;
  opacity: 0.85 !important;
}

#uploadList .upload-remove {
  flex: 0 0 auto !important;
  padding: 3px 10px !important;
  min-height: 24px !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  border-radius: 999px !important;
}

#uploadList .upload-empty {
  display: none !important;
}

/* Reduce top whitespace in upload section if present */
.upload-section,
.large-upload-section {
  padding-top: 4px !important;
  padding-bottom: 2px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
