/* App loader. Shows before the app code loads. Removed by app-loader.js. */
#app-loader {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    max-width: 28rem;
    margin: 0 auto;
    padding: 0 32px;
    background: #fff;
    color: #222;
    font:
        13px -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

#app-loader b {
    font-size: 15px;
}

#app-loader .bar {
    height: 6px;
    overflow: hidden;
    border-radius: 9px;
    background: #f0f0f0;
}

#app-loader .bar i {
    display: block;
    width: 100%;
    height: 100%;
    background: #1d9e75; /* --color-brand */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

#app-loader ol {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#app-loader li {
    display: flex;
    align-items: center;
    gap: 10px;
}

#app-loader li::before {
    content: "";
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #fff;
    font-size: 11px;
}

#app-loader li.run::before {
    background: #dbeafe;
    animation: app-loader-pulse 1s infinite alternate;
}

#app-loader li.ok::before {
    content: "✓";
    background: #1d9e75;
}

#app-loader p {
    font-size: 12px;
    color: #888;
}

@keyframes app-loader-pulse {
    to {
        opacity: 0.4;
    }
}
