/* First-paint splash shown until the Blazor app boots and replaces #app. */

#app {
    min-height: 100vh;
}

.ba-splash {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: #f5f5f7;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.ba-splash__mark {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0071E3;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -.02em;
    box-shadow: 0 10px 30px rgba(0, 113, 227, .30);
}

.ba-splash__title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.ba-splash__spinner {
    width: 26px;
    height: 26px;
    margin-top: 4px;
    border: 2.5px solid rgba(60, 60, 67, .18);
    border-top-color: #0071E3;
    border-radius: 50%;
    animation: ba-spin .8s linear infinite;
}

.ba-splash__note {
    font-size: 14px;
    color: #6e6e73;
}

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

@media (prefers-color-scheme: dark) {
    .ba-splash {
        background: #000;
        color: #fff;
    }

    .ba-splash__spinner {
        border-color: rgba(235, 235, 245, .18);
        border-top-color: #0A84FF;
    }

    .ba-splash__note {
        color: rgba(235, 235, 245, .60);
    }
}
