img {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
}

body {
    -webkit-touch-callout: none;
}

body:not(.allow-copy-page) :not(input):not(textarea):not(select):not([contenteditable="true"]):not([contenteditable=""]) {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body:not(.allow-copy-page) img,
body:not(.allow-copy-page) picture,
body:not(.allow-copy-page) canvas,
body:not(.allow-copy-page) svg {
    -webkit-user-drag: none;
    user-drag: none;
}

body:not(.allow-copy-page)::after {
    content: "Global Nadar Matrimony";
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    pointer-events: none;
    opacity: 0.055;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 5;
    transform: rotate(-22deg);
    white-space: pre;
    background-image: repeating-linear-gradient(
        0deg,
        transparent 0 86px,
        rgba(17, 24, 39, 0.05) 86px 88px
    );
}

.gn-security-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(17, 24, 39, 0.94);
    color: #fff;
    font: 700 18px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: center;
}

.gn-security-overlay.is-visible,
.gn-screen-protected body::before {
    display: flex;
}

.gn-screen-protected body > *:not(.gn-security-overlay) {
    filter: blur(18px);
    opacity: 0.08;
}

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

    body::before {
        content: "Protected profile content cannot be printed.";
        visibility: visible !important;
        position: fixed;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 32px;
        color: #111827;
        font: 700 20px/1.4 Arial, sans-serif;
        text-align: center;
    }
}
