/**
 * Disable Text Selection and Interactions
 * Prevents text highlighting and selection on all devices
 */

/* Disable text selection on all elements */
* {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

/* Disable text selection for all common elements */
body,
div,
p,
span,
a,
h1, h2, h3, h4, h5, h6,
img,
button,
input,
textarea,
select {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* Disable dragging of images and links */
img,
a {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
}

/* Ensure cursor doesn't change to text selection cursor */
* {
    cursor: default !important;
}

/* Keep normal cursor for links and buttons */
a,
button,
input[type="submit"],
input[type="button"],
.clickable {
    cursor: pointer !important;
}

/* Keep text cursor for input fields and textareas (but still no selection) */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea {
    cursor: text !important;
}

/* Prevent text highlighting on mobile devices */
body {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
}

/* Disable text selection on iOS */
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

/* Additional protection for all text elements */
p, span, div, li, td, th, label, a {
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* Prevent double-tap zoom which can trigger selection on mobile */
* {
    touch-action: manipulation !important;
}
