/* ============================================================================
   DropX — kleine Ergänzungen zum UI-Kit (gleicher Stil, gleiche Tokens)
   ========================================================================== */

/* ============================================================================
   THEME „Orchid" — Akzent von Indigo auf Fuchsia/Magenta umgestellt.
   Sekundärakzent (Teal) bleibt. Verläufe laufen Fuchsia → Violett.
   Alles hier gebündelt; das UI-Kit selbst bleibt unverändert (reversibel).
   ========================================================================== */
:root {
  --accent:      #d946ef;                       /* Primär: Fuchsia/Magenta */
  --accent-soft: rgba(217, 70, 239, 0.15);
  --accent-glow: rgba(217, 70, 239, 0.45);
  --accent-grad: #a855f7;                        /* Verlauf-Partner: Violett */
}

/* App-Hintergrund: oberes Glow in Fuchsia (unteres Teal-Glow bleibt) */
body {
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(217, 70, 239, 0.11), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(40, 224, 200, 0.07), transparent 55%),
    var(--bg);
  background-attachment: fixed;
}

/* Verläufe, die im Kit hartcodiertes Indigo nutzten → Fuchsia → Violett */
.brand__mark { background: linear-gradient(135deg, var(--accent), var(--accent-grad)); }
.btn--primary { background: linear-gradient(135deg, var(--accent), var(--accent-grad)); }
.btn--primary:hover { background: linear-gradient(135deg, var(--accent), var(--accent-grad)); filter: brightness(0.86); }
.switch input:checked + .switch__track { background: linear-gradient(135deg, var(--accent), var(--accent-grad)); }
.check input:checked + .check__box { background: linear-gradient(135deg, var(--accent), var(--accent-grad)); }

/* Akzent-Badge: heller Fuchsia-Text statt Indigo */
.badge--accent { color: #f1c4ff; }

/* --- Login-/Code-Gate: zentrierte Karte über Vollbild --------------------- */
.gate {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(217, 70, 239, 0.13), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(40, 224, 200, 0.08), transparent 55%),
    var(--bg);
}
.gate__card { width: min(420px, 100%); }
.gate__brand {
  display: flex; align-items: center; gap: 12px;
  justify-content: center; margin-bottom: 22px;
}
.gate__brand .brand__name { font-size: 24px; }
.gate__head { text-align: center; margin-bottom: 22px; }
.gate__title {
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: 1px;
  font-size: 18px; font-weight: 700;
}
.gate__sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }

/* --- Read-only Link-Box mit Copy (nutzt .input-group) --------------------- */
.copy-addon { cursor: pointer; transition: color .15s var(--ease), background .15s var(--ease); }
.copy-addon:hover { background: var(--surface); color: var(--accent); }

/* --- Großer Code (Quick-User) -------------------------------------------- */
.code-display {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 22px; letter-spacing: 2px; color: var(--text);
}

/* --- Ergebnis-Box nach erfolgreichem Upload ------------------------------- */
.result-box {
  display: flex; flex-direction: column; gap: 14px;
  padding: 20px; border-radius: var(--r);
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.result-box__head { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.result-box__head i { color: var(--accent-2); font-size: 18px; }

/* --- Diverse Helfer ------------------------------------------------------- */
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.mono { font-family: var(--font-mono); }
.row-end { display: flex; justify-content: flex-end; gap: 10px; }
.nowrap { white-space: nowrap; }
.cell-actions { display: flex; gap: 6px; justify-content: flex-end; }
.cell-strong { font-weight: 500; color: var(--text); }
.cell-sub { font-size: 12px; color: var(--faint); }

/* Status-Punkt in Code-/Upload-Zeilen */
.dot { width: 8px; height: 8px; border-radius: 99px; display: inline-block; flex: none; }
.dot--on { background: var(--success); box-shadow: 0 0 8px var(--success); }
.dot--off { background: var(--faint); }

/* Datei-Liste in der Download-Ansicht */
.file-list { display: flex; flex-direction: column; gap: 8px; }
.file-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px solid var(--border);
  transition: border-color .15s var(--ease);
}
.file-row:hover { border-color: var(--border-2); }
.file-row__icon { color: var(--accent); font-size: 18px; width: 22px; text-align: center; }
.file-row__main { flex: 1; min-width: 0; }
.file-row__name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row__size { font-size: 12px; color: var(--faint); font-family: var(--font-mono); }

/* zentrierte Standalone-Seiten (Quick-Upload / Download) */
.standalone { max-width: 640px; margin: 0 auto; }
.standalone-head {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  padding: 28px 0 22px;
}
.standalone-head .brand__name { font-size: 24px; }
