:root { --elz-green: #05a3a6; }
* { box-sizing: border-box; }
/* Tlačítka mají display: inline-block — bez tohohle by je atribut hidden neskryl. */
[hidden] { display: none !important; }
body {
  font-family: Tahoma, "Gotham Narrow", system-ui, Arial, sans-serif;
  margin: 0; padding: 0; color: #1a1a1a; background: #fff;
}
main { max-width: 680px; margin: 2.5rem auto; padding: 0 1.2rem; }
h1 { font-size: 1.3rem; }
h2 { font-size: 1.05rem; margin-top: 2rem; }
.hint { font-size: 0.85rem; color: #666; }
.status { font-size: 0.9rem; color: #444; line-height: 1.5; }
.error { color: #b3261e; font-size: 0.88rem; }
.note {
  background: #f4fbfb; border-left: 3px solid var(--elz-green);
  padding: 0.7rem 0.9rem; font-size: 0.9rem; white-space: pre-wrap;
}

label { display: block; margin-top: 0.8rem; font-size: 0.9rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], select, textarea {
  width: 100%; padding: 0.55rem; margin-top: 0.25rem;
  font-size: 0.95rem; font-family: inherit; border: 1px solid #8886; border-radius: 6px;
}
label input[type=checkbox] { width: auto; margin-right: 0.4rem; }

button, a.button {
  background: var(--elz-green); color: #fff; border: none; border-radius: 6px;
  padding: 0.6rem 1.2rem; margin-top: 1rem; cursor: pointer; font-family: inherit; font-size: 0.95rem;
  display: inline-block; text-decoration: none;
}
button.secondary { background: #8883; color: #1a1a1a; }
button.link {
  background: none; color: var(--elz-green); padding: 0; margin: 0;
  font-size: 0.85rem; text-decoration: underline;
}
button:disabled { opacity: 0.45; cursor: not-allowed; }

/* Plocha pro přetažení souborů */
.drop-zone {
  margin-top: 1.5rem; padding: 1.6rem 1rem; text-align: center;
  border: 2px dashed #bbb; border-radius: 10px; background: #fafafa;
}
.drop-zone.over { border-color: var(--elz-green); background: #f0fbfb; }
.drop-zone p { margin: 0.3rem 0; }

.files { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.files li {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0.2rem; border-bottom: 1px solid #eee; font-size: 0.9rem;
}
.file-name { flex: 1; overflow-wrap: anywhere; }
.file-size { color: #666; font-size: 0.82rem; white-space: nowrap; }
.files progress { width: 140px; height: 8px; }

.people { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-top: 0.5rem; }
.person { margin: 0; font-size: 0.92rem; }

footer.legal-links {
  max-width: 680px; margin: 2rem auto 1.5rem; padding: 0 1.2rem;
  font-size: 0.8rem; color: #666;
}
footer.legal-links a { color: inherit; }

@media (max-width: 480px) {
  main { margin: 1.5rem auto; }
  .files progress { width: 80px; }
}
