/* Blazor framework chrome only. Site styling lives in site.css. */

.loading-splash {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20vh;
    padding: 0 1rem;
}

.loading-logo {
    width: 18rem;
    max-width: 80vw;
    height: auto;
    margin-bottom: 2rem;
}

.loading-bar {
    position: relative;
    width: 18rem;
    max-width: 80vw;
    height: 0.4rem;
    background: #e0e0e0;
    border-radius: 0.2rem;
    overflow: hidden;
}

.loading-bar-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--blazor-load-percentage, 0%);
    background: #004799;
    transition: width 0.1s ease-in-out;
}

.loading-progress-text {
    margin-top: 0.75rem;
    text-align: center;
    font-weight: bold;
    color: #004799;
}

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

#blazor-error-ui {
    color: #5f676f;
    background: #f7cf00;
    bottom: 0;
    box-shadow: 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;
}
