/* Baner zgody na pliki cookie — bez zewnętrznych bibliotek */
#cookie-consent-root {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  font-family: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  pointer-events: none;
}
#cookie-consent-root * {
  box-sizing: border-box;
}
.cookie-consent-panel {
  pointer-events: auto;
  max-width: 52rem;
  margin: 0 auto 1rem;
  padding: 1.25rem 1.5rem;
  background: #1a1a1a;
  color: #f5f5f5;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cookie-consent-panel p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.cookie-consent-panel a {
  color: #9ecbff;
  text-decoration: underline;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.cookie-consent-actions button {
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.cookie-btn-accept {
  background: #f55d3e;
  color: #fff;
}
.cookie-btn-reject {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
}
.cookie-btn-settings {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.cookie-settings-block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: none;
}
.cookie-settings-block.is-open {
  display: block;
}
.cookie-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.cookie-setting-row label {
  flex: 1;
}
.cookie-setting-row input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #f55d3e;
}
.cookie-necessary-badge {
  font-size: 0.75rem;
  opacity: 0.75;
}
