html, body {
    font-family: "Source Sans 3", sans-serif;
    /*scrollbar-gutter: stable;*/
}

/* 
    Remove outline from all elements with tabindex -1 when focused
    because it looks ugly on programmatic focus (e.g. Blazor's Selector="h1")
*/
[tabindex="-1"]:focus-visible {
    outline: none;
}

/* Workaround: https://github.com/dotnet/sdk/issues/51825 */
#dotnet-compile-error:empty {
    visibility: hidden;
    display: none;
}

/* Spinner for submit button */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}