/* Security and Obfuscation Layer */
/* Prevents inspection and copying */

/* Disable text selection */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow selection for inputs and text areas */
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Disable right click */
body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Disable drag and drop */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Hide scrollbars but keep functionality */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

/* Disable print */
@media print {
    body {
        display: none !important;
    }
}

/* Disable devtools detection */
.console {
    display: none;
}

/* Obfuscated critical styles */
[data-protected] {
    position: relative;
}

[data-protected]:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

/* Watermark overlay */
.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 200px;
    color: rgba(220, 38, 38, 0.03);
    font-weight: 900;
    pointer-events: none;
    z-index: 9999;
    white-space: nowrap;
    opacity: 0.5;
}

/* Anti-inspection overlay */
.inspection-guard {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    background: transparent;
}

/* Disable copy events */
.no-copy {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* Hidden debug info */
.debug-info {
    display: none;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: -9999px;
}

/* Anti-screenshot protection */
@media screen {
    .screenshot-guard {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 9997;
        background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z/C/HgAGgwJ/lK3Q6wAAAABJRU5ErkJggg==') repeat;
        opacity: 0.1;
    }
}
