/* A failed load's retry button: the error colour's alert icon, with no box of its own, lit on
   hover, brighter while pressed, with the site's focus ring. Its size is set with
   --retry-icon-button-size and --retry-icon-button-icon-size where it sits on a smaller line; by default it is
   as large as Product Maintainability's icon buttons, which it replaced. */
.retry-icon-button
{
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: var(--retry-icon-button-size, 1.75rem);
    height: var(--retry-icon-button-size, 1.75rem);
    padding: 0;
    border: none;
    border-radius: 0.25rem;
    color: var(--error-higher-emphasis-color);
    background: none;
    font-size: var(--retry-icon-button-icon-size, 1.5rem);
    cursor: pointer;

    &:hover
    {
        background: var(--neutral-medium-emphasis-surface-color);
    }

    &:active
    {
        filter: brightness(130%);
    }

    &:focus-visible
    {
        outline: 2px solid var(--primary-higher-emphasis-color);
        outline-offset: 1px;
    }
}
