/* Site-specific additions on top of the Landrick theme (style.css). */

/* Loading indicator shown while Blazor starts */
.ba-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Blazor unhandled-error banner */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Course filter links on /courses */
.course-filter a {
    color: darkviolet !important;
}

/* Typewriter cursor (was injected by the theme's plugins.init.js) */
.typewrite > .wrap {
    border-right: 0.08em solid transparent;
}

/* Cookie consent popup (Components/Shared/CookieBanner.razor) */
.ba-cookie-banner {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: 420px;
    z-index: 1050;
}
