/* The mobile WebView shell shows a blank white page until the first paint, which App Review
   reported as an app that never opens: keep an indigo splash until the Blazor circuit starts. */
html.boot-pending, html.boot-pending body {
    background-color: #4F46E5;
}

#boot-splash {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: #4F46E5;
}

/* Hides itself even if boot.js never runs, so the splash can never mask the page for good. */
html.boot-pending #boot-splash {
    display: flex;
    animation: boot-splash-expire 0s linear 25s forwards;
}

#boot-splash-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: boot-splash-spin 0.8s linear infinite;
}

@keyframes boot-splash-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes boot-splash-expire {
    to {
        visibility: hidden;
    }
}
