/* הגנה מפני DevTools - CSS */

/* הסתרת אלמנטים כשנפתח DevTools - רק בproduction */
@media screen and (max-width: 1000px) {
    body.devtools-blocked::before {
        content: "DevTools זוהה - האתר נחסם";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.95);
        color: white;
        z-index: 999999;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        font-weight: bold;
        text-align: center;
    }
}

/* הגנה מפני בחירת טקסט */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* הגנה מפני קליק ימני */
body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* הגנה מפני גרירה */
img, a {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

/* הסתרת אלמנטים חשובים */
.devtools-protected {
    display: none !important;
}

/* הגנה מפני inspect element */
* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* הגנה מפני copy/paste */
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* הגנה מפני view source */
@media print {
    body {
        display: none !important;
    }
}

/* הגנה מפני screenshots */
@media screen and (max-width: 1px) {
    body {
        display: none !important;
    }
}
