/**
 * HaskHosting Security CSS
 * Proteções visuais e de interação
 */

/* Proteção contra seleção de texto */
* {
    -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;
}

/* Proteção específica para o body */
body {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

/* Proteção para imagens */
img {
    pointer-events: none !important;
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* Proteção contra impressão */
@media print {
    body { 
        display: none !important; 
    }
    * {
        display: none !important;
    }
}

/* Proteção contra highlight */
::selection {
    background: transparent !important;
}

::-moz-selection {
    background: transparent !important;
}

/* Proteção contra outline em elementos focados */
*:focus {
    outline: none !important;
}

/* Proteção adicional para elementos de formulário */
input, textarea, select {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Proteção contra zoom em dispositivos móveis */
@viewport {
    user-zoom: fixed !important;
    zoom: 1.0 !important;
}

/* Proteção contra scrollbar personalizada que pode revelar informações */
::-webkit-scrollbar {
    width: 8px !important;
}

::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}

::-webkit-scrollbar-thumb {
    background: #888 !important;
    border-radius: 4px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #555 !important;
}

/* Proteção contra elementos que podem ser usados para bypass */
iframe, embed, object, applet {
    display: none !important;
    visibility: hidden !important;
}

/* Permitir interação com selects e inputs */
select, input, textarea, button {
    pointer-events: auto !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Configuração correta das famílias de fontes do FontAwesome 6 */
.fa, .fas, .fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.far, .fa-regular {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}

.fab, .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Base comum para todos os ícones */
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands {
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* Proteção contra elementos de debug */
.debug, .console, .devtools {
    display: none !important;
    visibility: hidden !important;
}
