/**
 * Admin Pages Scrolling Fix
 *
 * The Spike Bootstrap Admin theme applies overflow constraints that prevent
 * the main browser scrollbar from appearing. This file overrides those
 * styles to restore natural page scrolling.
 */

/*
 * 1. Restore scrolling on the root elements. The theme sets these to
 *    `overflow: hidden`, which is the primary cause of the issue.
 */
html, body {
    overflow-y: auto !important;
}

/* 2. Ensure the main content wrapper does not have a fixed height. */
.body-wrapper {
    min-height: 100vh; /* Ensure it fills the viewport height */
    height: auto !important; /* Allow it to grow with content */
}

/* 3. Ensure pc-container and pc-content allow scrolling */
.pc-container,
.pc-content {
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
}
