#blazor-error-ui {
    background: var(--flow-color-warning-bg, lightyellow);
    bottom: 0;
    box-shadow: var(--flow-shadow-md, 0 -1px 2px rgba(0, 0, 0, 0.2));
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

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

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

.loading-progress circle:last-child {
    stroke: var(--flow-color-primary, #0f9d76);
    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, "Ladataan");
}

.app-topbar__auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-topbar__tenant {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 12rem;
}

.app-topbar__tenant-label {
    font-size: 0.8rem;
    color: var(--flow-color-text-muted);
    white-space: nowrap;
}

.app-topbar__tenant-status {
    font-size: 0.875rem;
    color: var(--flow-color-text-muted);
}

.profile-field,
.profile-tenant {
    max-width: 24rem;
    margin: 1rem 0;
}

.profile-tenant .flow-alert {
    margin-bottom: 1rem;
}

.profile-label {
    display: block;
    font-size: 0.8rem;
    color: var(--flow-color-text-muted);
    margin-bottom: 0.25rem;
}

.auth-test {
    max-width: 40rem;
    margin: 0 auto;
    padding: 1.5rem;
}

.component-library {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 1.5rem;
}

.component-library__intro {
    grid-column: 1 / -1;
}

.component-library__intro h1 {
    margin-bottom: 0.5rem;
}

.component-library__intro p {
    margin-bottom: 0;
    color: var(--flow-color-text-muted);
}

.flow-nav-menu-demo {
    display: flex;
    flex-direction: column;
    max-width: 16rem;
    min-height: 28rem;
    box-sizing: border-box;
    padding: 26px 16px 20px;
    background-color: var(--flow-color-nav-bg);
    border: 1px solid var(--flow-color-nav-border);
    border-radius: var(--flow-radius-card);
}

@media (min-width: 900px) {
    .component-library {
        grid-template-columns: 1fr 1fr;
    }
}
