/**
 * GARAPP - Estilos de Protección v3.0
 * @author Gadesplant
 */

/* Desactivar selección global */
* {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Permitir en inputs */
input, textarea, [contenteditable="true"], .editable, .allow-select {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    user-select: text !important;
}

/* Protección de imágenes */
img {
    pointer-events: none !important;
    -webkit-user-drag: none !important;
    user-drag: none !important;
    -webkit-touch-callout: none !important;
}

a img, button img, .btn img, .clickable img, [role="button"] img {
    pointer-events: auto !important;
}

/* Desactivar selección visual */
::selection { background-color: transparent !important; }
::-moz-selection { background-color: transparent !important; }

/* Desactivar arrastre */
* {
    -webkit-user-drag: none !important;
    user-drag: none !important;
}

/* Bloqueo de impresión */
@media print {
    html, body, body * {
        display: none !important;
        visibility: hidden !important;
    }
    html::before {
        content: "© GARAPP - Impresión no autorizada" !important;
        display: block !important;
        visibility: visible !important;
        font-size: 28px;
        text-align: center;
        padding: 100px 40px;
        color: #1a1a2e;
    }
}

/* Prevenir zoom móviles */
html {
    -webkit-text-size-adjust: 100%;
    touch-action: manipulation;
}

/* Transición blur */
body { transition: filter 0.3s ease; }

/* Protección body */
body {
    -webkit-user-modify: read-only !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* Elementos interactivos */
button, .btn, a.btn, [role="button"], .nav-link {
    pointer-events: auto !important;
    cursor: pointer;
}
