#wpcg-notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  z-index: 2147483647;
  width: max-content;
  max-width: min(92vw, 520px);
  box-sizing: border-box;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

#wpcg-notice.wpcg-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body.wpcg-no-select,
body.wpcg-no-select * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body.wpcg-no-select input,
body.wpcg-no-select textarea,
body.wpcg-no-select select,
body.wpcg-no-select option,
body.wpcg-no-select [contenteditable="true"],
body.wpcg-no-select [data-wpcg-allow],
body.wpcg-no-select [data-wpcg-allow] * {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

body.wpcg-no-image-drag img:not([data-wpcg-allow]) {
  -webkit-user-drag: none;
  user-drag: none;
}

@media print {
  body.wpcg-print-protected > * {
    display: none !important;
  }

  body.wpcg-print-protected::before {
    content: "Contenuto protetto da copyright.";
    display: block;
    padding: 40px;
    color: #000;
    background: #fff;
    font: 18px/1.4 sans-serif;
  }
}

@media (prefers-reduced-motion: reduce) {
  #wpcg-notice {
    transition: none;
  }
}
