/* RTT.Customer host, boot/splash styles: EXACT copy of the kiosk host csspp.css so the
   login/boot experience is identical (top glow-logo animation sizing, content placement, spinner),
   plus Blazor-Server-specific rules appended at the end.
   Original kiosk header: 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. */

/* 2026-11-14 skin: the website face. was: font-family: 'cascadiacode', Arial, sans-serif; */
html, body {
    font-family: var(--rtt-font-family);
    background-color: var(--rtt-bg);
    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: var(--rtt-border-strong); /* 2026-11-14 skin: hairline track. was: stroke: white; */
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: var(--rtt-primary); /* 2026-11-14 was: 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;
    /* 2026-11-14 skin. was: font-family: 'cascadiacode'; font-size: 20px; font-weight: bolder; */
    font-family: var(--rtt-font-mono);
    font-size: var(--rtt-font-size-lg);
    font-weight: var(--rtt-font-weight-medium);
    color: var(--rtt-text-secondary);
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "");
    }


/* ===== Blazor Server specific (customer app only) ===== */
/* Blazor Server disconnect overlay (default framework ids), keep it dark/on-brand */
/* 2026-11-14 skin: night glass + Sora. was: background-color: rgba(0, 0, 0, 0.85); font-family: 'cascadiacode', Arial, sans-serif; */
#components-reconnect-modal {
    background-color: var(--rtt-surface-panel);
    color: var(--rtt-text);
    font-family: var(--rtt-font-family);
}

.blazor-error-boundary {
    background: var(--rtt-bg-elevated);
    color: var(--rtt-text);
    border: 1px solid var(--rtt-border-strong);
    border-radius: var(--rtt-radius-lg);
    padding: 1rem;
}

#blazor-error-ui {
    display: none;
    background-color: var(--rtt-bg-elevated);
    color: var(--rtt-text);
    border-top: 1px solid var(--rtt-border-strong);
    bottom: 0;
    box-shadow: var(--rtt-shadow-md); /* 2026-11-14 was: 0 -1px 2px rgba(0, 0, 0, 0.2) */
    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;
    }



/* 2026-11-14: inline stroke icons of the customer pages (replace the legacy PNG glyphs Close.png, Back.png,
   PaperMenu.png, Cart.png, Plus/Minus, Trial.png...): <svg class="cu-ico" viewBox="0 0 24 24" aria-hidden="true">...</svg> */
.cu-ico {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

.cu-ico-lg {
    width: 1.5rem;
    height: 1.5rem;
}
