.startup-loading {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    padding: 1.5rem;
    overflow: auto;
    background-color: #12161e;
    background-image: linear-gradient(180deg, rgba(8, 10, 16, 0.5) 0%, rgba(18, 22, 30, 0.4) 100%), url("../images/background.jpg");
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.startup-loading__panel {
    box-sizing: border-box;
    width: min(100%, 336px);
    padding: 2rem;
    border: 1px solid rgb(200, 200, 200);
    border-radius: 20px;
    background: white;
    color: #334455;
    color-scheme: light;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.40), 0 2px 8px rgba(0, 0, 0, 0.18);
    text-align: center;
}

.startup-loading__brand {
    display: block;
    width: 100%;
    max-width: 224px;
    height: auto;
    margin: 0 auto;
}

.startup-loading__product {
    display: block;
    width: auto;
    height: 24px;
    margin: 0.5rem auto 0;
}

.startup-loading__circle {
    position: relative;
    display: grid;
    place-items: center;
    width: 168px;
    height: 168px;
    margin: 1.75rem auto 0;
    --power-epos-loader-size: 112px;
    --power-epos-loader-color: #14426f;
    --power-epos-loader-bolt-color: #029db9;
}

.startup-loading__circle > .power-epos-loader {
    /* Scale the optical centering adjustment with the icon. */
    transform: translate(5%, 1%);
}

.startup-loading .loading-progress {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.startup-loading .loading-progress circle {
    stroke: #e4edf5;
    stroke-width: 0.35rem;
}

.startup-loading .loading-progress circle:last-child {
    stroke: #029db9;
    stroke-linecap: round;
}

.startup-loading__caption {
    margin: 1.25rem 0 0;
    font-size: 1rem;
    font-weight: 600;
}

.startup-loading .loading-progress-text {
    position: static;
    inset: auto;
    margin-top: 0.5rem;
    color: #637489;
    font-size: 0.875rem;
    font-weight: 400;
}

.startup-loading .loading-progress-text::after {
    content: var(--blazor-load-percentage-text, "Loading...");
}

@media (max-height: 520px) {
    .startup-loading {
        padding: 1rem;
    }

    .startup-loading__panel {
        padding: 1.25rem;
    }

    .startup-loading__circle {
        width: 144px;
        height: 144px;
        margin-top: 1rem;
        --power-epos-loader-size: 96px;
    }
}
