/* Security Styles */

/* Disable user selection */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Disable drag and drop for media elements */
img, audio {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Re-enable pointer events for controls */
.audio-player {
    pointer-events: auto;
}

.btn, .close, .upload-area, .nav-links a {
    pointer-events: auto;
}

/* Print protection */
@media print {
    body { 
        display: none !important; 
    }
}

/* Dynamic watermark styles */
.dynamic-watermark {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    pointer-events: none;
    z-index: 100;
}

/* Additional protection overlay */
.media-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 5;
    pointer-events: none;
}

/* Blur effect for screenshots */
.blur-on-screenshot {
    filter: blur(10px);
    transition: filter 0.3s ease;
}

/* Hide scrollbars to prevent screenshot indicators */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* Firefox */
html {
    scrollbar-width: none;
}

/* Additional security for forms */
input[type="password"] {
    -webkit-text-security: disc;
}

/* Disable text highlighting on sensitive content */
.resume-section,
.media-item h3 {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}