/* =============================================================
 *  Upload-Komponente (Drag-and-drop, Fortschrittsbalken)
 *  Wird per app.js aufgebaut. Siehe data-uploader.
 * ============================================================= */

.up-input { display:none; }

.up-zone {
  border:1.5px dashed var(--line-2);
  border-radius:var(--r-lg);
  padding:26px 18px;
  text-align:center;
  background:#fff;
  cursor:pointer;
  transition:border-color .15s, background .15s;
}
.up-zone:hover,
.up-zone:focus-visible {
  border-color:var(--accent);
  background:var(--surface-2);
  outline:none;
}
.up-zone-over {
  border-color:var(--accent);
  background:#EAF2FA;
}
.up-zone-icon {
  font-size:22px;
  color:var(--accent);
  line-height:1;
  margin-bottom:8px;
}
.up-zone-label {
  font-size:12.5px;
  font-weight:500;
  color:var(--text-2);
}
.up-zone-hint {
  font-size:11px;
  color:var(--text-3);
  margin-top:3px;
}

.up-list {
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:12px;
}
.up-row {
  border:.5px solid var(--line);
  border-radius:var(--r);
  padding:9px 11px;
  background:var(--paper);
}
.up-row-head {
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:7px;
}
.up-row-name {
  font-size:11.5px;
  font-weight:500;
  color:var(--ink);
  flex:1;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.up-row-meta {
  font-size:10.5px;
  color:var(--text-3);
  flex-shrink:0;
}
.up-bar {
  height:5px;
  border-radius:3px;
  background:var(--surface);
  overflow:hidden;
}
.up-bar-fill {
  height:100%;
  width:0;
  background:var(--accent);
  border-radius:3px;
  transition:width .2s ease;
}
.up-row-done .up-bar-fill { background:#3F9D5A; }
.up-row-done .up-row-meta { color:#3F9D5A; }
.up-row-error .up-bar-fill { background:#C2453C; width:100%; }
.up-row-error .up-row-meta { color:#C2453C; }

/* Inline-Fortschrittsbalken fuer Datei-Auswahl-Uploads (Titelbild,
   Hintergrund, Vorschaubild, Datei ersetzen). Nutzt den up-row-Look
   (wie die Datei-Upload-Liste); .up-inline positioniert ihn direkt
   unter der jeweiligen Zeile. Aufgebaut von progressUpload() in app.js. */
.up-inline {
  margin:4px 0 12px;
}

/* =============================================================
 *  Klickbare Zeilen und Karten (data-rowlink)
 *  Dezenter Hover-Hinweis, dass das Element anklickbar ist.
 * ============================================================= */

.row-clickable { transition:background .12s; }
.row-clickable:hover { background:var(--surface-2); }

.card-clickable { transition:border-color .12s, box-shadow .12s; }
.card-clickable:hover {
  border-color:var(--line-2);
  box-shadow:0 2px 10px rgba(26,26,46,.06);
}

