:root {
    --animate-duration: 420ms;
}

html:not(.aos-ready) [data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#app {
    height: 100%;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 1.25rem;
    background: #ffe0e0;
    color: #6b0000;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Backs the status bar while content scrolls beneath it on the edge-to-edge iOS host (0 tall
   elsewhere). Under MudBlazor dialogs (z-index 1400), so a sheet's backdrop dims it too. */
.status-bar-safe-area {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: env(safe-area-inset-top);
    z-index: 1250;
    background: var(--mud-palette-background);
}
