/* Force scrollable behavior even with browser automation */
html, body {
    overflow: auto !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh !important;
}

body {
    position: relative !important;
}

/* Ensure content is scrollable */
#page {
    overflow: visible !important;
    height: auto !important;
    min-height: 100vh !important;
}

#content {
    overflow: visible !important;
    height: auto !important;
}

/* Override any fixed positioning that might prevent scrolling */
* {
    position: static !important;
}

/* Allow specific elements to have their intended positioning */
#header, #mainmenu {
    position: relative !important;
}

/* Ensure tables and large content are scrollable */
table, .grid-view, .detail-view {
    overflow: auto !important;
}
