.quote-dropzone-files {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  width: 100%;
}

.quote-dropzone-files span {
  width: auto !important;
}

.quote-dropzone-files:empty {
  display: none;
}

.qf-file-wrap .quote-dropzone-files {
  margin-top: 12px;
}

.qf-file-wrap > .quote-field-error {
  display: block;
  margin-top: 8px;
}

.quote-file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: none;
  font-size: 13px;
  color: #1d2327;
  line-height: 1.4;
  transition: background 0.2s;
}

.quote-file-item:first-child {
  border-top: 1px solid #e5e7eb;
  border-radius: 6px 6px 0 0;
}

.quote-file-item:last-child {
  border-radius: 0 0 6px 6px;
}

.quote-file-item:only-child {
  border-radius: 6px;
}

.quote-file-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.quote-file-size {
  flex-shrink: 0;
  color: #6b7280;
  font-size: 12px;
}

.quote-file-progress {
  flex: 0 0 80px;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
}

.quote-file-progress-bar {
  height: 100%;
  background: #6c5ce7;
  border-radius: 2px;
  transition: width 0.15s ease;
}

.quote-file-item--uploading .quote-file-progress-bar {
  animation: quoteProgressPulse 1.5s ease-in-out infinite;
}

@keyframes quoteProgressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.quote-file-status {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 0;
}

.quote-file-remove {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  background: none;
  color: #9ca3af;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s;
}

.quote-file-remove:hover {
  color: #d63031;
  background: rgba(214, 48, 49, 0.08);
}

.quote-file-item--error {
  background: #fff5f5;
}

.quote-file-error-text {
  color: #d63031;
  font-size: 12px;
  font-weight: 500;
}

.quote-file-retry {
  border: none;
  background: none;
  color: #6c5ce7;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quote-file-retry:hover {
  filter: brightness(0.82);
}

.quote-file-item--done {
  background: #f0fdf4;
}

.quote-btn--uploading {
  opacity: 0.6;
  cursor: wait;
}
