html.cgp-no-select,
html.cgp-no-select body,
html.cgp-no-select * {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

html.cgp-no-select input,
html.cgp-no-select textarea,
html.cgp-no-select [contenteditable="true"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

.cgp-protected-img {
    -webkit-user-drag: none !important;
    user-drag: none !important;
    pointer-events: auto;
}

#cgp-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    color: #fff;
    font: 700 28px/1.3 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: center;
    padding: 24px;
}

html.cgp-screen-guard body > *:not(#cgp-overlay) {
    filter: blur(18px) !important;
}

html.cgp-screen-guard #cgp-overlay {
    display: flex;
}

@media print {
    body * {
        visibility: hidden !important;
    }

    body::before {
        content: "Conținut protejat";
        visibility: visible !important;
        display: block;
        margin: 20vh auto;
        text-align: center;
        font: 700 28px/1.4 system-ui, sans-serif;
    }
}
