
.gpc-cookie-popup {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 99999;
  max-width: 380px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  padding: 14px 16px 16px;
  font-family: inherit;
  color: #111;
  box-sizing: border-box;
  max-width: min(380px, calc(100vw - 24px));
}
@media (prefers-reduced-motion: no-preference) {
  .gpc-cookie-popup.is-open { animation: gpc-cookie-in .16s ease-out; }
}
@keyframes gpc-cookie-in { from { opacity: 0; } to { opacity: 1; } }

/* Visually hidden but available to screen readers */
.gpc-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.gpc-cookie-popup[hidden] { display: none !important; }
.gpc-cookie-popup[dir="ltr"] .gpc-cookie-close { left: auto; right: -6px; }
.gpc-cookie-inner { position: relative; }
.gpc-cookie-close {
  position: absolute;
  top: -4px;
  left: -6px;
  border: none;
  background: transparent;
  color: #111;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  min-width: 32px;
  min-height: 32px;
}
.gcp-cookie-title {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 6px;
  padding-inline-start: 20px; /* keep clear of the close button */
}
.gcp-cookie-content {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 10px;
}
.gcp-cookie-title[hidden], .gcp-cookie-content[hidden], .gpc-cookie-link[hidden] { display: none !important; }
.gcp-cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.gpc-cookie-accept {
  border: none;
  background: #111;
  color: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  min-height: 36px;
  cursor: pointer;
}
.gpc-cookie-accept:hover { background: #333; }
.gpc-cookie-link {
  color: #0b4a8f;
  text-decoration: underline;
}
.gpc-cookie-accept:focus-visible,
.gpc-cookie-close:focus-visible,
.gpc-cookie-link:focus-visible {
  outline: 3px solid #0b57d0;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #fff;
}
@media (max-width: 480px) {
  .gpc-cookie-popup { right: 12px; left: 12px; max-width: none; max-height: calc(100vh - 24px); overflow-y: auto; }
}
