﻿@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
#app-splash {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: var(--app-bg, #fff);
    color: #222;
    z-index: 10000;
    transition: opacity .2s ease;
}

    #app-splash.hidden {
        opacity: 0;
        pointer-events: none;
     
    }

.spinner {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: .35rem solid #e5e7eb;
    border-top-color: #2563eb;
    animation: spin 1s linear infinite;
}

.route-loading-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.75);
    display: grid;
    place-items: center;
    z-index: 9999;
}

.route-loading {
    display: flex;
    gap: .75rem;
    align-items: center;
    color: #111;
}

    .route-loading .spinner {
        width: 1.25rem;
        height: 1.25rem;
        border-radius: 50%;
        border: .2rem solid #e5e7eb;
        border-top-color: #2563eb;
        animation: spin 1s linear infinite;
    }