/* ============================================================================
   SD-Link — Einsende-Dialog ("Eigenen Einbau zeigen"), spezifische Blöcke
   Quelle: docs/handoff_einsende_dialog (Abschnitt "community.css" der Demo).
   ----------------------------------------------------------------------------
   Die geteilte Dialog-Hülle (Scrim/Karte/Felder/Consent/Aktionen/Erfolg) kommt
   aus sdlink-dialog.css. Hier nur die Einsende-eigenen Teile:
   Kopf · Badge · Dropzone · Datei-Vorschau · Adapter-Select.
   Markup: inc/einsende.php (wp_footer) · Verhalten: assets/js/sdlink-einsende.js
   ============================================================================ */
.sd-notify.is-submit { max-width: 580px; }
.sd-submit-head { display: flex; gap: 18px; margin-bottom: 22px; padding-right: 28px; }
.sd-submit-badge {
  flex: none; width: 52px; height: 52px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  background: var(--sd-navy-050); color: var(--sd-navy-600); box-shadow: var(--shadow-1);
}
.sd-submit-badge svg { width: 22px; height: 22px; }

/* Dropzone */
.sd-drop {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 22px 18px; cursor: pointer;
  border: 1.5px dashed var(--sd-line); border-radius: var(--r-md); background: var(--sd-navy-050);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.sd-drop:hover { border-color: var(--sd-navy-300); background: var(--sd-navy-100); }
.sd-drop:focus-visible { outline: none; border-color: var(--sd-navy-500); box-shadow: var(--shadow-focus); }
.sd-drop.is-drag { border-color: var(--sd-amber-600); border-style: solid; background: rgba(215,107,20,.06); }
.sd-drop.is-error { border-color: var(--sd-danger); }
.sd-drop > * + * { margin-top: 6px; }
.sd-drop-ic {
  width: 44px; height: 44px; border-radius: 999px; margin-bottom: 2px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--sd-navy-600); box-shadow: var(--shadow-1);
}
.sd-drop-ic svg { width: 24px; height: 24px; }
.sd-drop.is-drag .sd-drop-ic { color: var(--sd-amber-600); }
.sd-drop-txt { font-size: 14.5px; font-weight: 600; color: var(--fg-1); }
.sd-drop-txt .lk { color: var(--sd-amber-600); text-decoration: underline; text-underline-offset: 2px; }
.sd-drop-hint { font-size: 12px; color: var(--fg-3); }

/* Datei-Vorschau */
.sd-files { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.sd-file {
  position: relative; width: 72px; height: 72px; flex: none;
  border-radius: var(--r-md); overflow: hidden; background: var(--sd-navy-050);
  border: 1px solid var(--sd-line); box-shadow: var(--shadow-1);
}
.sd-file img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.sd-file .vid { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--sd-navy-600); background: var(--sd-navy-100); }
.sd-file .vid svg { width: 20px; height: 20px; }
.sd-file-x {
  position: absolute; top: 3px; right: 3px; width: 20px; height: 20px;
  border: 0; border-radius: 999px; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,39,66,.78); color: #fff; transition: background var(--dur-fast);
}
.sd-file-x svg { width: 13px; height: 13px; }
.sd-file-x:hover { background: var(--sd-navy-700); }
.sd-file-sz {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 5px;
  font-family: var(--font-mono); font-size: 10px; color: #fff; text-align: center;
  background: linear-gradient(transparent, rgba(15,39,66,.82));
}
.sd-file-add {
  display: flex; align-items: center; justify-content: center;
  color: var(--sd-navy-600); cursor: pointer;
  border: 1.5px dashed var(--sd-line); background: #fff;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.sd-file-add svg { width: 20px; height: 20px; }
.sd-file-add:hover { border-color: var(--sd-amber-600); color: var(--sd-amber-600); }

/* Select (Adapter) */
.sd-select-wrap { position: relative; display: flex; }
.sd-select-wrap select {
  width: 100%; height: 44px; padding: 0 38px 0 14px; cursor: pointer;
  border: 1px solid var(--sd-line); border-radius: var(--r-md); background: #fff; color: var(--fg-1);
  font-family: var(--font-body); font-size: 15px; outline: none;
  appearance: none; -webkit-appearance: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.sd-select-wrap select:focus-visible { border-color: var(--sd-navy-500); box-shadow: var(--shadow-focus); }
.sd-select-wrap > svg { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--fg-3); width: 16px; height: 16px; }

@media (max-width: 480px) {
  .sd-submit-head { padding-right: 20px; }
}
