/**
 * WP Content Fortress — Safe Core CSS (Tier 1)
 * Prevents casual text selection and touch callout.
 * Exceptions for input, textarea, code, pre elements.
 */

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

input,
textarea,
code,
pre,
[contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
}

/* Image protection overlay */
.wcf-img-wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.wcf-img-wrap img {
    display: block;
    max-width: 100%;
    height: auto;
}

.wcf-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: transparent;
    cursor: default;
}

/* DevTools detection states — selectores amplios para compatibilidad con múltiples temas */
body.wcf-devtools-blur #page,
body.wcf-devtools-blur #wrapper,
body.wcf-devtools-blur .hfeed,
body.wcf-devtools-blur main,
body.wcf-devtools-blur #main,
body.wcf-devtools-blur #content,
body.wcf-devtools-blur #primary,
body.wcf-devtools-blur .site-content,
body.wcf-devtools-blur .page-content,
body.wcf-devtools-blur .entry-content,
body.wcf-devtools-blur .post-content,
body.wcf-devtools-blur .content-area,
body.wcf-devtools-blur .ast-container,
body.wcf-devtools-blur article,
body.wcf-devtools-blur .elementor,
body.wcf-devtools-blur .wp-block-post-content,
body.wcf-devtools-blur .fl-builder-content {
    filter: blur(10px) !important;
    transition: filter 0.3s ease;
}

body.wcf-devtools-hide #page,
body.wcf-devtools-hide #wrapper,
body.wcf-devtools-hide .hfeed,
body.wcf-devtools-hide main,
body.wcf-devtools-hide #main,
body.wcf-devtools-hide #content,
body.wcf-devtools-hide #primary,
body.wcf-devtools-hide .site-content,
body.wcf-devtools-hide .page-content,
body.wcf-devtools-hide .entry-content,
body.wcf-devtools-hide .post-content,
body.wcf-devtools-hide .content-area,
body.wcf-devtools-hide .ast-container,
body.wcf-devtools-hide article,
body.wcf-devtools-hide .elementor,
body.wcf-devtools-hide .wp-block-post-content,
body.wcf-devtools-hide .fl-builder-content {
    visibility: hidden !important;
}

/* DevTools warning banner */
.wcf-devtools-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #c00;
    color: #fff;
    text-align: center;
    padding: 16px;
    z-index: 999999;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* La marca de agua forense ahora usa fortress-watermark.css y fortress-watermark.js */
