/* The page reset every screen is built on (AI-1825; until then it came with MudBlazor's
   stylesheet): no default margins or padding, borders that only show when a width is set,
   inherited fonts in form controls, and a plain button. Loads first. */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-width: 0;
    border-style: solid;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

strong,
b {
    font-weight: 700;
}

body {
    color: var(--ui-text);
    font-family: var(--ui-font);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.43;
    letter-spacing: 0.01071em;
    background-color: var(--ui-bg-sunken);
}

a {
    color: var(--ui-text);
    text-decoration: none;
}

a:focus-visible {
    outline: none;
}

label {
    display: inline-block;
}

button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background-color: transparent;
    color: inherit;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

button:focus {
    outline: none;
}

input,
button,
select,
optgroup,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

select {
    word-wrap: normal;
}

button,
[type=button],
[type=reset],
[type=submit] {
    appearance: button;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

[hidden] {
    display: none !important;
}

#blazor-error-ui {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    display: none;
    width: 100%;
    padding: 0.6rem 1.75rem 0.7rem 1.25rem;
    background-color: var(--ui-tone-danger);
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    color: #fff;
}

#blazor-error-ui .reload {
    color: inherit;
    text-decoration: underline;
}

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