        body.disabled {
            pointer-events: none;
            /* Disable click interaction */
        }
        
        body.disabled * {
            pointer-events: none;
            /* Disable child interaction */
        }
        
        body.allow-scroll {
            overflow-y: auto !important;
            /* Allow vertical scroll */
        }
        /* Optional dark overlay for visual block */
        
        #overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0);
            color: white;
            font-size: 24px;
            font-family: sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            pointer-events: none;
            /* Allows scroll through the overlay */
        }
        
        #overlay.hidden {
            display: none;
        }