/**
 * NexusPoint Consultants - Content Protection & Anti-Scraping Stylesheet
 * Protects proprietary statutory vacancies, employer profiles, and UI assets.
 */

/* 1. Global Text Selection & Drag-and-Drop Suppression */
body, 
p, 
span, 
h1, h2, h3, h4, h5, h6, 
div, 
table, 
tr, td, th, 
ul, ol, li, 
a, 
article, 
section, 
header, 
footer {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* 2. Explicitly Preserve Usability on Interactive Form Controls */
input, 
textarea, 
select, 
option, 
button, 
.form-control, 
.form-select, 
[contenteditable="true"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    pointer-events: auto !important;
}

/* 3. Image Drag Protection */
img, 
svg, 
video, 
canvas {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
    pointer-events: auto;
}

/* 4. Discrete Security Toast Notification */
#np-security-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999999;
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
    border: 1px solid rgba(212, 160, 84, 0.6);
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.85rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 160, 84, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    backdrop-filter: blur(8px);
}

#np-security-toast.active {
    transform: translateY(0);
    opacity: 1;
}

#np-security-toast .toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(212, 160, 84, 0.2);
    color: #D4A054;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

#np-security-toast .toast-title {
    font-weight: 700;
    color: #D4A054;
    display: block;
    margin-bottom: 2px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#np-security-toast .toast-body {
    color: #E2E8F0;
    font-size: 0.82rem;
    line-height: 1.35;
}

/* 5. Anti-Print & Anti-Markdown Export Protection */
@media print {
    html, body {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
    }
}
