﻿/* Ensure body and html maintain scroll capability */
html, body {
    overflow-y: auto !important;
    min-height: 100vh;
    height: auto !important;
}

/* Fix MudBlazor main content area */
.mud-main-content {
    overflow-y: visible !important;
    height: auto !important;
    min-height: 100vh;
}

/* Ensure MudContainer doesn't interfere with scrolling */
.mud-container {
    overflow: visible !important;
    height: auto !important;
}

/* Fix MudTabs panel scrolling issues */
.mud-tabs-panels {
    overflow: visible !important;
    height: auto !important;
}

.mud-tabpanel {
    overflow: visible !important;
    height: auto !important;
}

/* Ensure proper grid behavior */
.mud-grid {
    overflow: visible !important;
}

/* Force minimum content height to ensure scrollbar appears */
.page-content {
    min-height: calc(100vh + 1px);
}

/* Specific fix for dynamic content loading */
[data-scrollable="true"] {
    overflow-y: auto !important;
    max-height: 80vh;
}