html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

.xaf-nav-menu-item-icon, .xaf-toolbar-item-icon img {
    transform: scale(1.6) translateX(-3px)
}

.header-logo {
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: url('../images/Logo.svg');
    mask: url('../images/Logo.svg');
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 180px;
    height: 24px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

/* Custom styles for the dataset container */
.dataset-container {
    display: flex;
    flex-direction: column;
}

.dataset-header {
    border-bottom: 2px solid #dee2e6;
}

.dataset-body {
    flex: 1;
}

    /* Ensure table headers align with body columns */
    .dataset-header table,
    .dataset-body table {
        width: 100%;
        table-layout: fixed;
    }

    .dataset-header th,
    .dataset-body td {
        padding: 0.5rem;
        vertical-align: middle;
    }

    /* Custom scrollbar styling */
    .dataset-body::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    .dataset-body::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .dataset-body::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 4px;
    }

        .dataset-body::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }

    /* Ensure horizontal scrolling works properly */
    .dataset-body > div {
        min-width: fit-content;
    }

