#file-upload-widget {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  max-width: 480px;
  margin: 2.5em auto;
  padding: 2em 1.5em 2em 1.5em;
  background: #f8fafc;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  text-align: center;
}

#file-upload-widget h2 {
  margin-top: 0;
  margin-bottom: 0.7em;
  font-size: 1.5rem;
  color: #1a237e;
  letter-spacing: 0.5px;
}

#upload-deal-info {
  margin-top: -0.5em;
  margin-bottom: 1.7em;
  color: #374151;
  font-size: 1rem;
  background: #e3e8f0;
  border-radius: 6px;
  padding: 0.7em 1em;
}

.form-group {
  margin-bottom: 1.2em;
  text-align: left;
}

#file-input {
  width: 100%;
  padding: 0.7em;
  border: 2px dashed #90caf9;
  border-radius: 8px;
  cursor: pointer;
  background: #f0f7ff;
  transition: border-color 0.2s, background-color 0.2s;
}
#file-input:hover {
  border-color: #1976d2;
  background-color: #e3f2fd;
}

#progress-wrapper {
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 5px;
  margin-top: 1em;
  margin-bottom: 0.5em;
  height: 18px;
  display: none;
}
#progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
  border-radius: 5px;
  text-align: center;
  line-height: 18px;
  color: white;
  font-size: 0.85rem;
  transition: width 0.3s ease;
}

#upload-result {
  margin-top: 1em;
  font-weight: 500;
  min-height: 1.5em;
}
#upload-result.success {
  color: #155724;
}
#upload-result.error {
  color: #b71c1c;
}

#uploaded-files-section {
  margin-top: 2em;
  text-align: left;
  background: #f0f4f8;
  border-radius: 8px;
  padding: 1em;
}

#uploaded-files-section h3 {
  font-size: 1.05rem;
  color: #1a237e;
  margin-bottom: 0.5em;
}

#uploaded-files {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
#uploaded-files li {
  margin-bottom: 0.4em;
}
#uploaded-files a {
  color: #1976d2;
  text-decoration: none;
  font-size: 0.97rem;
  word-break: break-all;
}
#uploaded-files a:hover {
  text-decoration: underline;
}