/* Detail souboru (tělesa) — tlačítko a brána k citlivým dokumentům za heslem.
   Barva stínu dědí --akt-c (barva oboru) ze sekce .clanek. */

.soubor-dok-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 4px 0 8px; padding: 14px 24px;
  background: #fff; color: var(--ink); text-decoration: none;
  border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 600; font-size: 15px;
  box-shadow: -4px 4px 0 var(--akt-c, var(--ink));
  transition: transform .15s, box-shadow .15s;
}
.soubor-dok-btn:hover {
  transform: translate(2px, -2px);
  box-shadow: -6px 6px 0 var(--akt-c, var(--ink));
  color: var(--ink);
}

/* Formulář pro zadání hesla */
.soubor-dok-form {
  margin-top: 32px; padding: 28px;
  border: 2px solid var(--ink); border-radius: 18px;
  background: #fff; max-width: 420px;
  box-shadow: -6px 6px 0 var(--akt-c, var(--ink));
}
.soubor-dok-form label {
  display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px;
}
.soubor-dok-form input[type="password"] {
  width: 100%; padding: 12px 16px; font-size: 16px; font-family: inherit;
  border: 2px solid var(--ink); border-radius: 10px; background: var(--bg);
  margin-bottom: 18px;
}
.soubor-dok-form input[type="password"]:focus {
  outline: none; box-shadow: -3px 3px 0 var(--akt-c, var(--ink));
}
.soubor-dok-chyba {
  margin: 0 0 16px; padding: 10px 14px;
  background: #fdecec; color: #b4213e; border-radius: 10px;
  font-size: 14px; font-weight: 600;
}

/* Seznam dokumentů po odemčení */
.soubor-dok-list { list-style: none; padding: 0; margin: 28px 0 0; }
.soubor-dok-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; margin-bottom: 12px;
  border: 2px solid var(--ink); border-radius: 14px; background: #fff;
  box-shadow: -4px 4px 0 var(--akt-c, var(--ink));
}
.soubor-dok-name { font-weight: 600; font-size: 16px; }
.soubor-dok-actions { display: flex; gap: 16px; white-space: nowrap; }
.soubor-dok-actions a {
  font-weight: 600; font-size: 14px; color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px;
}
.soubor-dok-actions a:hover { color: var(--akt-c, var(--ink)); }

@media (max-width: 560px) {
  .soubor-dok-item { flex-direction: column; align-items: flex-start; gap: 10px; }
}
