/* Cookie bar and the "Nastavení cookies" link. Shared by every page, alongside consent.js. */

.footer-link {
  display: inline;
  margin-left: 12px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.footer-link:hover { color: oklch(0.35 0.01 90); }

/* Cookie bar. Both choices share one class on purpose: accepting and
   refusing must look equally easy. */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 22px;
  background: oklch(0.99 0.002 90);
  border: 1px solid oklch(0.85 0.003 90);
  border-radius: 18px;
  box-shadow: 0 8px 24px oklch(0.18 0.005 90 / 0.12);
}

.consent[hidden] { display: none; }

.consent-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
}

.consent-text {
  font-size: 14px;
  line-height: 1.5;
  color: oklch(0.35 0.005 90);
  margin: 0 0 16px;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.consent-btn {
  flex: 1 1 200px;
  padding: 10px 18px;
  background: oklch(0.18 0.005 90);
  border: 1px solid oklch(0.18 0.005 90);
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: oklch(0.99 0.002 90);
  cursor: pointer;
}

.consent-btn:hover { background: oklch(0.35 0.005 90); }

.consent-btn:focus-visible,
.footer-link:focus-visible {
  outline: 2px solid oklch(0.18 0.005 90);
  outline-offset: 3px;
}
