/* Content Protection - Prevent copying from website */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow selection in input fields and textareas */
input,
textarea,
select,
button,
a,
[contenteditable="true"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    pointer-events: auto !important;
}

/* Allow clicks on interactive elements */
button,
a,
.btn,
.file-upload-area,
[role="button"],
[onclick] {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Prevent right-click context menu on images but allow clicks */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

/* Allow pointer events on content images (not book content) */
.file-upload-area img,
.card img,
button img,
a img {
    pointer-events: auto !important;
}

/* Prevent text selection on specific elements */
.no-select {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}