.pd-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0 4px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: inherit;
  opacity: 0.92;
}
.pd-consent input { margin-top: 3px; flex: 0 0 auto; }
.pd-consent a { text-decoration: underline; }

/* Privacy policy links — always look like clickable links */
a.legal-link,
a[href*="politika-konfidencialnosti"] {
  color: #fbbf24 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  font-weight: 600;
  cursor: pointer;
}
a.legal-link:hover,
a[href*="politika-konfidencialnosti"]:hover {
  color: #fde68a !important;
  text-decoration-thickness: 2px;
}

html.pd-modal-open { overflow: hidden; }

.pd-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.pd-modal[hidden] { display: none !important; }
.pd-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 22, 0.72);
}
.pd-modal__card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(88vh, 640px);
  overflow: auto;
  padding: 22px 22px 18px;
  border-radius: 16px;
  background: #121826;
  color: #e8eef7;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.pd-modal__card h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.3;
  color: #f8fafc;
}
.pd-modal__body {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #cbd5e1;
}
.pd-modal__body a,
.cookie-banner a,
.pd-consent a {
  color: #fbbf24 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-weight: 600;
}
.pd-modal__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 16px;
  font-size: 0.88rem;
  line-height: 1.4;
  cursor: pointer;
}
.pd-modal__check input { margin-top: 3px; }
.pd-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.pd-modal__btn {
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.pd-modal__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.pd-modal__btn--ghost {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.pd-modal__btn--ok {
  background: #f59e0b;
  color: #111;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 14px;
  background: #121826;
  color: #e8eef7;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  font-size: 0.9rem;
  line-height: 1.4;
}
.cookie-banner__text { margin: 0; }
.cookie-banner__text strong { display: block; margin-bottom: 4px; color: #f8fafc; }
.cookie-banner__text p { margin: 0; color: #cbd5e1; }
.cookie-banner__actions { flex: 0 0 auto; }
.cookie-banner__btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  background: #f59e0b;
  color: #111;
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 72px;
  }
  .pd-modal__actions { flex-direction: column-reverse; }
  .pd-modal__btn { width: 100%; }
}
