html, body {
    margin: 0;
}

/* Page action ribbon: framed strip for primary page buttons (left → right) */
.page-ribbon {
    margin-bottom: 1rem;
    background: var(--mud-palette-background-gray, rgba(0, 0, 0, 0.02));
    border-radius: var(--mud-default-borderradius, 4px);
}

.page-ribbon__bar {
    min-height: 3rem;
    justify-content: flex-start;
}

.page-ribbon__actions {
    flex-shrink: 0;
}

#blazor-error-ui {
    display: none;
}

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 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");
}
