.we-protected-content {
    position: relative;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.we-protected-content::before {
    content: "🔒 Protected Content - Admin Only";
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: #0073aa;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.we-pdf-viewer {
    position: relative;
    background-color: #fff;
    border: 2px solid #0073aa;
    border-radius: 8px;
    overflow: hidden;
}

.we-pdf-viewer iframe {
    display: block;
    width: 100%;
    height: 600px;
    border: none;
}

.we-video-player {
    position: relative;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
}

.we-video-player video {
    width: 100%;
    height: auto;
    display: block;
}

.we-video-player video::-webkit-media-controls-download-button {
    display: none !important;
}

.we-video-player video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

.we-video-player video::-webkit-media-controls-picture-in-picture-button {
    display: none !important;
}

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

.we-access-denied {
    text-align: center;
    padding: 50px 20px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    color: #721c24;
    margin: 20px 0;
}

.we-access-denied h2 {
    color: #721c24;
    margin-bottom: 15px;
}

.we-access-denied .icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.we-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.we-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: we-spin 1s linear infinite;
}

@keyframes we-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.we-no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.we-protected-content,
.we-pdf-viewer,
.we-video-player {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.we-protected-content *,
.we-pdf-viewer *,
.we-video-player * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: auto;
}

@media print {
    .we-protected-content,
    .we-pdf-viewer,
    .we-video-player {
        display: none !important;
    }
    
    body::after {
        content: "Printing is not allowed for protected content.";
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 24px;
        color: #dc3232;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .we-protected-content {
        padding: 15px;
        margin: 15px 0;
    }
    
    .we-protected-content::before {
        font-size: 11px;
        padding: 4px 12px;
    }
    
    .we-pdf-viewer iframe {
        height: 400px;
    }
    
    .we-watermark {
        font-size: 10px;
        padding: 3px 8px;
    }
}