/* RTT.Kiosk host — minimal boot/splash styles (extracted from the monolith wwwroot\css\app.css + index.html inline style).
   All app styling lives in _content/RTT.UI/css/rtt-theme.css + component-scoped/inline styles. */

html, body {
    font-family: 'cascadiacode', Arial, sans-serif;
    background-color: var(--rtt-bg); /* CLASSIC-UI fidelity: original monolith showed plain black (was var(--rtt-bg, #0a0a14)) */
    margin: 0;
    height: 100%;
}

h1:focus {
    outline: none;
}

/* Monolith splash container (SOURCE css\site.css: #app { display:flex; flex-direction:column; }).
   height:100% chains html/body -> #app -> #divLogo_index so the glowing-logo wobble
   animation (divEffects apply3dGlowingTextEffect) gets the full viewport and is not clipped. */
#app {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.imgOverlay {
    justify-self: center;
    align-self: center;
}

#divLoading {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    justify-content: center;
    align-content: center;
}

#divLogo_index {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100%;
    min-height: 230px;
    padding-top: 60px;
    height: 100%;
    flex-grow: 1;
}

/* Blazor WASM download progress ring (monolith app.css) */
.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: white; /* CLASSIC-UI fidelity: original value (was var(--rtt-text, white)) */
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: var(--color_a, var(--rtt-primary));
            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-family: 'cascadiacode';
    font-size: 20px;
    font-weight: bolder;
    color: var(--rtt-text); /* CLASSIC-UI fidelity: original value (was var(--rtt-text, white)) */
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

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