/* Loading overlay shown before Blazor bootstraps */
#loading-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0B2C61;
    z-index: 9999;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* keep the spinner layout centered and compact */
.loading-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* simple CSS spinner */
.spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.12);
    border-top-color: #7DD3E8; /* accent color for motion */
    animation: spin 0.9s linear infinite;
    box-sizing: border-box;
}

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

/* optional: visually hidden accessible text helper */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
