/* ============================================
   PROTECTION MODULE - LEXINDEX
   Advanced Anti-Copy Security System
   © 2025 Hakan Zehir - All Rights Reserved
   ============================================ */

/* ANTI-COPY PROTECTION CSS */
* {
    -webkit-user-select: none !important;
    -khtml-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;
    -webkit-drag: none !important;
}

/* Allow text selection only for specific elements */
.selectable {
    -webkit-user-select: text !important;
    -khtml-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    cursor: text;
}

/* Disable image dragging */
img {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    pointer-events: none !important;
}

/* Disable text highlighting except for selectable */
::selection {
    background: transparent !important;
}

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

/* Only allow selection on .selectable elements */
.selectable::selection {
    background: rgba(95, 202, 255, 0.3) !important;
}

.selectable::-moz-selection {
    background: rgba(95, 202, 255, 0.3) !important;
}

/* Disable right-click context menu */
body {
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-context-menu: none !important;
}

/* Block print styles */
@media print {
    body {
        display: none !important;
    }
    
    * {
        display: none !important;
    }
}

/* SECURITY ALERT SCREEN */
.security-alert-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 999999;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.security-alert-content {
    text-align: center;
    max-width: 600px;
    padding: 40px;
}

.security-alert-title {
    color: #ff6b6b;
    margin-bottom: 30px;
    font-size: 48px;
}

.security-alert-message {
    margin-bottom: 20px;
    line-height: 1.6;
}

.security-alert-copyright {
    margin-bottom: 30px;
    color: #5FCAFF;
    font-size: 20px;
}

.security-alert-footer {
    color: #888;
    font-size: 16px;
}
