﻿.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(3px);
}

.loading-spinner {
    text-align: center;
    color: #0d6efd;
}

.movement-log-filter-menu {
    max-height: 260px;
    overflow-y: auto;
    min-width: 220px;
    z-index: 1051;
}

.movement-log-table {
    overflow: visible;
}

.table-responsive-xl {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}
.table-responsive,
.table-responsive-sm,
.table-responsive-md,
.table-responsive-lg,
.table-responsive-xl,
.table-responsive-xxl,
.default-table-area .table-responsive,
.default-table-area .table-responsive-xl {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

/* Ensure page containers can scroll even with flex layouts */
html, body {
    height: 100%;
}

body {
    overflow-y: auto !important;
}

.container-fluid {
    min-height: 100vh;
}

.main-content {
    min-height: 100vh;
    overflow-y: auto;
}

.main-layout-body {
    min-height: 0;
}

/* Keep listing pages scrollable on shorter viewports */
.main-content-container {
    max-height: calc(100vh - 6.5rem);
    overflow: auto !important;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}
.main-content-container.overflow-hidden {
    overflow: auto !important;
}

@media (max-width: 767.98px) {
    .main-content-container {
        max-height: none;
    }
}
