/* Firebase Proxy Manga - Content Protection Styles */

body.fpm-content-protection-active,
body.fpm-content-protection-active * { /* Apply broadly to text and images */
    -webkit-user-select: none !important; /* Safari */
    -moz-user-select: none !important;    /* Firefox */
    -ms-user-select: none !important;     /* IE10+/Edge */
    user-select: none !important;         /* Standard */
}

body.fpm-content-protection-active img {
    /* Prevent dragging which can lead to saving */
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
    
    /* Optional: If you want to prevent click actions like "Save Image As" on images.
       However, this also prevents images that are links from being clicked.
       Only enable if you are sure this is the desired behavior. */
    /* pointer-events: none !important; */
}

/* Allow selection for input fields and textareas even when protection is active */
body.fpm-content-protection-active input,
body.fpm-content-protection-active textarea,
body.fpm-content-protection-active [contenteditable="true"],
body.fpm-content-protection-active [contenteditable=""] {
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    user-select: auto !important;
}