body {
    color: white;
    --body-font: "Segoe UI Variable", "Segoe UI", sans-serif;
    font-family: var(--body-font);
    font-size: var(--type-ramp-base-font-size);
    line-height: var(--type-ramp-base-line-height);
    margin: 0;
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

/* Reserve space for scrollbars, preventing layout shifts when content changes. */
.scrollbar-gutter-stable {
    scrollbar-gutter: stable both-edges;
}

/* Tweaking SyncFusion components */

/* Make SfDropDownButton transparent including its border */
.e-dropdown-btn {
    background-color: transparent !important;
    border-color: transparent !important;
}

/* Make SfTab content take full height and enable vertical scrolling */
/* https://blazor.syncfusion.com/documentation/datagrid/how-to/render-grid-inside-tab-with-specific-height */
.e-tab > .e-content {
    @media (orientation: portrait) {
        height: calc(100% - 57px); /* content height = full height - tab header height */
    }

    @media (orientation: landscape) {
        height: calc(100% - 49px); /* content height = full height - tab header height */
    }
}

    .e-tab > .e-content .e-item {
        height: 100%;
    }
