/* ==========================================================================
   GLAP Content Protection Stylesheet
   Include this CSS in any page that needs anti-scraping / copy protection.
   Usage: <link rel="stylesheet" href="protect.css">
   ========================================================================== */

/* --- Global text-selection prevention --- */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* --- Allow selection inside form controls so users can still type/edit --- */
input,
textarea,
select,
[contenteditable="true"],
input *,
textarea *,
select * {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* --- Prevent image dragging --- */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: auto;          /* keep clickable */
  -webkit-touch-callout: none;   /* disable iOS long-press menu */
}

/* --- Honeypot links: invisible to humans, visible to bots/crawlers --- */
.hp-trap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  font-size: 0;
  line-height: 0;
  color: transparent;
}

/* --- Disable printing the page (optional extra layer) --- */
@media print {
  body {
    display: none !important;
  }
  body::after {
    content: "Printing of this content is not permitted.";
    display: block;
    font-size: 24px;
    text-align: center;
    padding: 80px 20px;
  }
}
