/* ==========================================================================
   BeeBig Digital Ecosystem - Frontend Protection & Content Security
   ========================================================================== */

/* 1. Prevent Text Selection on General Content */
html,
body {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

/* 2. Prevent Media Dragging & Saving */
img,
svg,
video,
canvas,
picture {
    -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;
}

/* 3. STRICT EXEMPTIONS: Keep all forms, inputs, CRM data entry & editable elements functional */
input,
textarea,
select,
option,
[contenteditable="true"],
.selectable,
.allow-select,
.user-select-text,
.crm-data-selectable,
.invoice-printable,
.invoice-box,
pre,
code {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    -webkit-touch-callout: default !important;
}

/* 4. Ensure Links, Buttons & Interactive Elements Retain Proper Pointers */
a,
button,
.btn,
[role="button"],
summary {
    cursor: pointer;
}

input,
textarea,
select {
    cursor: text;
}

/* 5. Print Layout Preservation */
@media print {
    html,
    body,
    * {
        -webkit-user-select: text !important;
        -moz-user-select: text !important;
        -ms-user-select: text !important;
        user-select: text !important;
    }
}

