/* WP Fort Shield — Protection CSS Front-End */

/* ── Bloquer la sélection de texte (en complément du JS) ─── */
body {
  -webkit-user-select: none !important;
  -moz-user-select:    none !important;
  -ms-user-select:     none !important;
  user-select:         none !important;
}

/* ── Bloquer le drag des images ─────────────────────────── */
img {
  -webkit-user-drag: none !important;
  user-drag:         none !important;
  pointer-events:    none !important;
}

/* ── Masquer le contenu si DevTools détecté ─────────────── */
body.wpfs-devtools-open * {
  filter: blur(8px) !important;
  transition: filter 0.3s ease;
}
body.wpfs-devtools-open::after {
  content: "🛡️ Accès non autorisé";
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 20px 40px;
  border-radius: 12px;
  font-size: 22px;
  font-weight: bold;
  z-index: 99999;
  pointer-events: none;
}

/* ── Bloquer l'impression ────────────────────────────────── */
@media print {
  body * {
    display: none !important;
  }
  body::after {
    display: block !important;
    content: "🛡️ Ce contenu est protégé. L'impression est désactivée.";
    text-align: center;
    margin-top: 40vh;
    font-size: 24px;
    font-weight: bold;
    color: #333;
  }
}

/* ── Notification d'alerte ───────────────────────────────── */
#wpfs-alert {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  animation: wpfsSlideIn 0.3s ease;
}
@keyframes wpfsSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.wpfs-alert-inner {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  border-left: 4px solid #e94560;
  max-width: 380px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}
.wpfs-alert-icon { font-size: 20px; flex-shrink: 0; }
.wpfs-alert-text { flex: 1; line-height: 1.4; }
.wpfs-alert-inner button {
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  flex-shrink: 0;
}
.wpfs-alert-inner button:hover { color: #fff; }
