/* ==========================================================================
   Copy protection (a deterrent only - see README "Security").
   Disables text selection, the iOS long-press menu, dragging and printing.
   Form fields stay fully selectable and typable. Works with js/protect.js.
   ========================================================================== */

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

input,
textarea,
select,
[contenteditable]:not([contenteditable="false"]) {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
}

img,
a {
    -webkit-user-drag: none;
}

@media print {
    body > * {
        display: none !important;
    }

    body::before {
        content: "Printing is disabled. Study online at healthprep.academy";
        display: block;
        padding: 48px 16px;
        font: 16px/1.5 Arial, Helvetica, sans-serif;
        text-align: center;
        color: #000;
    }
}
