/* Shahid Anwar University — content & source deterrence (client layer) */

html.su-protect-active {
  -webkit-tap-highlight-color: transparent;
}

html.su-protect-active body {
  -webkit-user-select: none;
  user-select: none;
}

html.su-protect-active input,
html.su-protect-active textarea,
html.su-protect-active select,
html.su-protect-active [contenteditable="true"],
html.su-protect-active .allow-copy,
html.su-protect-active .allow-copy * {
  -webkit-user-select: text;
  user-select: text;
}

html.su-protect-active img,
html.su-protect-active video,
html.su-protect-active audio,
html.su-protect-active canvas,
html.su-protect-active svg:not(.fa):not([class*="fa-"]) {
  -webkit-user-drag: none;
  user-drag: none;
  drag: none;
}

html.su-devtools-shield body > :not(.su-protect-shield):not(script):not(link):not(style) {
  filter: blur(14px) grayscale(0.35);
  pointer-events: none !important;
}

.su-protect-shield {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f8fafc;
  text-align: center;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

.su-protect-shield__panel {
  max-width: 420px;
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.su-protect-shield__panel i {
  font-size: 2rem;
  color: #f5c842;
  margin-bottom: 12px;
}

.su-protect-shield__panel h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
}

.su-protect-shield__panel p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.su-protect-toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(16px);
  z-index: 2147483645;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  font: 600 0.82rem/1.3 Roboto, Arial, Helvetica, sans-serif;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.su-protect-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media print {
  html.su-protect-active body {
    display: none !important;
  }

  html.su-protect-active::after {
    content: "Printing is disabled on Shahid Anwar University.";
    display: block;
    padding: 48px;
    font: 600 18px/1.5 Roboto, Arial, sans-serif;
    color: #0f172a;
  }
}
