#blazor-error-ui {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1000;
    display: none;
    box-sizing: border-box;
    width: 26rem;
    max-width: calc(100% - 2rem);
    border: 1px solid var(--border, #e4e4e7);
    border-radius: 0.625rem;
    background: var(--background, #fff);
    padding: 1rem;
    color: var(--foreground, #18181b);
    box-shadow: 0 4px 20px rgb(0 0 0 / 0.12);
    font-size: 0.875rem;
    line-height: 1.5;
}

#blazor-error-ui .error-title {
    margin: 0;
    padding-right: 2rem;
    font-size: inherit;
    font-weight: 600;
}

#blazor-error-ui .error-description {
    margin: 0.25rem 0 0.875rem;
    color: var(--muted-foreground, #71717a);
}

#blazor-error-ui .reload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    border-radius: 0.375rem;
    background: var(--foreground, #18181b);
    padding: 0.375rem 0.75rem;
    color: var(--background, #fff);
    font-weight: 500;
    text-decoration: none;
}

#blazor-error-ui .reload:hover {
    opacity: 0.85;
}

#blazor-error-ui .dismiss {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 0.375rem;
    background: transparent;
    padding: 0;
    color: var(--muted-foreground, #71717a);
    cursor: pointer;
}

#blazor-error-ui .dismiss:hover {
    background: var(--muted, #f4f4f5);
    color: var(--foreground, #18181b);
}

#blazor-error-ui :is(.reload, .dismiss):focus-visible {
    outline: 2px solid var(--ring, #71717a);
    outline-offset: 3px;
}
