﻿@import '/_content/Microsoft.FluentUI.AspNetCore.Components/css/reboot.css';
:root {
    --header-height: 66px;
    --layout-border-color: #d1d1d1;
}

header {
    height: var(--header-height);
    border-bottom: 1px solid var(--layout-border-color);
    position: sticky;
    top: 0;
    z-index: 1001; 
    background-color: var(--neutral-fill-layer-rest);
}

body {
    --body-font: "Lato", "Segoe UI Variable", "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: var(--body-font);
    font-size: var(--type-ramp-base-font-size);
    line-height: var(--type-ramp-base-line-height);
    font-weight: var(--font-weight);
    color: var(--neutral-foreground-rest);
    background: var(--neutral-fill-layer-rest);
}

body #app{
    height: 100%;
}

a:not(.sub-label):not(.btn):hover {
    cursor: pointer;
}

a {
    text-decoration: none;
}

.align-right {
    text-align: right !important;
    justify-content: end;
}

.align-center {
    text-align: center !important;
    justify-content: center;
}

.align-left {
    text-align: left !important;
    justify-content: start;
}

.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");
    }
