/* Enhanced Image Protection CSS */

/* Overlay invisible layer over images */
.protected-image-container {
    position: relative;
    display: inline-block;
}

.protected-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 999;
    pointer-events: auto;
}

/* Additional protection styles */
img.protected-image {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: auto;
}

/* Canvas container styles */
.canvas-image-container {
    position: relative;
    display: inline-block;
}

/* Legal notice styles */
.legal-notice {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
    z-index: 1000;
    pointer-events: none;
}

/* Print protection */
@media print {
    img {
        display: none !important;
    }
    .protected-image {
        display: none !important;
    }
    .protected-image-container {
        display: none !important;
    }
}

/* Additional protection for all images */
img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Disable selection for all protected elements */
.protected-image, .protected-image-container {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}