/* Upload-Feld mit Drag & Drop im Anfrageformular (Form1/PartialsAnfrage/FileUpload.html, js/anfrage-upload.js) */
.anfrage-files { margin-bottom: 1rem; }
.anfrage-files__label { display: block; }
.anfrage-files__hint { display: block; margin-bottom: 6px; font-size: .85rem; color: #666; }
.dropzone {
  position: relative; display: grid; place-items: center; gap: 4px;
  padding: 28px 16px; border: 2px dashed #bdbdbd; border-radius: 6px;
  background: #fafafa; text-align: center; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.dropzone:hover, .dropzone:focus-within { border-color: #d9001a; }
.dropzone.is-dragover { border-style: solid; border-color: #d9001a; background: #fdf0f1; }
.dropzone.is-invalid { border-color: #b00015; }
/* Das Datei-Input deckt die ganze Fläche ab: Klick öffnet die Auswahl, abgelegte Dateien nimmt es direkt an */
.dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone input[type="file"]:focus-visible + .dropzone__title { outline: 2px solid #d9001a; outline-offset: 4px; }
.dropzone__title { font-weight: 600; color: #333; }
.dropzone__sub { font-size: .9rem; color: #666; }
.dropzone__uploaded { display: none; }
.dropzone.has-file { border-style: solid; border-color: #9e9e9e; }
.dropzone-list { display: grid; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.dropzone-list:empty { display: none; }
.dropzone-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: .9rem; }
.dropzone-list__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropzone-list__remove { flex: none; padding: 2px 4px; border: 0; background: none; color: #d9001a; font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }
.dropzone-list li.dropzone-list__note { border-style: dashed; color: #b00015; }
