/* San City — security helpers (honeypot, inspect & copy deterrents) */

.sc-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

body.sc-protected {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

body.sc-protected input:not([type="hidden"]),
body.sc-protected textarea {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

body.sc-protected button,
body.sc-protected a,
body.sc-protected label,
body.sc-protected select,
body.sc-protected [role="button"],
body.sc-protected .proj-row,
body.sc-protected .sidebar-nav a,
body.sc-protected .mob,
body.sc-protected .projects-status-tab,
body.sc-protected .float-contact-btn,
body.sc-protected .chatbot-chip {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

.sc-security-notice {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10050;
  max-width: min(92vw, 420px);
  padding: 12px 40px 12px 16px;
  border-radius: 10px;
  background: rgba(10, 21, 32, 0.94);
  color: #e8f4fc;
  font-size: 0.82rem;
  line-height: 1.45;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(110, 200, 232, 0.35);
  animation: sc-notice-in 0.35s ease;
}

.sc-security-notice__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #9ecae8;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.sc-security-notice__close:hover {
  background: rgba(255, 255, 255, 0.08);
}

@keyframes sc-notice-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-security-notice {
    animation: none;
  }
}
