#file-upload-widget {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  max-width: 500px;
  margin: 2em auto;
  padding: 1.5em;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

#file-upload-widget h2 {
  margin-top: 0;
  margin-bottom: 1em;
}

#upload-deal-info {
  margin-top: -1em;
  margin-bottom: 1.5em;
  color: #666;
  font-size: 0.9rem;
}

#file-input {
  width: 100%;
  padding: 1em;
  border: 2px dashed #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
#file-input:hover {
  border-color: #0073e6;
  background-color: #f9f9f9;
}

#progress-wrapper {
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 5px;
  margin-top: 1em;
}
#progress-bar {
  width: 0%;
  height: 15px;
  background-color: #0073e6;
  border-radius: 5px;
  text-align: center;
  line-height: 15px;
  color: white;
  font-size: 0.8rem;
  transition: width 0.3s ease;
}

#upload-result {
  margin-top: 1em;
  font-weight: 500;
}
#upload-result.success {
  color: #155724;
}
#upload-result.error {
  color: #721c24;
}

/* === Neue Sektion für vorhandene Dateien === */
#uploaded-files-section {
  margin-top: 2em;
  text-align: left;
}

#uploaded-files-section h3 {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.5em;
}

#uploaded-files {
  list-style: none;
  padding-left: 0;
}
#uploaded-files li {
  margin-bottom: 0.4em;
}
#uploaded-files a {
  color: #0073e6;
  text-decoration: none;
  font-size: 0.9rem;
}
#uploaded-files a:hover {
  text-decoration: underline;
}