
/* Organized watermark grid - DIAGONAL rotation */
#course-protection-watermark-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.course-protection-watermark-item {
    position: absolute;
    font-weight: 700;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transform: rotate(-45deg);
}

/* Blocking overlay - shows only on screenshot/record attempt */
#course-protection-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.course-protection-modal {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 600px;
    border: 4px solid #d32f2f;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.warning-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.modal-content h2 {
    color: #ff5252;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.user-info {
    background-color: rgba(211, 47, 47, 0.15);
    padding: 20px;
    border-left: 5px solid #d32f2f;
    margin: 25px 0;
    border-radius: 8px;
    text-align: left;
}

.user-info p {
    margin: 8px 0;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

.user-info strong {
    color: #ff5252;
}

.warning-text {
    color: #ffab91;
    font-weight: bold;
    font-size: 14px;
    margin-top: 20px;
}

.modal-content button {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    border: 2px solid #ff5252;
    padding: 14px 40px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.modal-content button:hover {
    background: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%);
    transform: translateY(-3px);
}

.modal-content button:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px;
    }
    
    .modal-content h2 {
        font-size: 26px;
    }
    
    .modal-content p {
        font-size: 14px;
    }
}
