/* The page frame, as the FlexyBox identity pages set it. Everything else comes from the FlexyBox style dictionary
   and the components' own styles. */
html {
    background: var(--fbx-alias-color-background-emphasis-low);
    color: var(--fbx-alias-color-surface-on-low-100);
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
}

.color-subtle {
    color: var(--fbx-alias-color-surface-on-low-25);
}

/* A long secret, a pasted CSV file say, scrolls inside its field instead of pushing the page past the window. The
   field grows with its text up to here. */
.ots-secret-text textarea {
    max-height: 30vh;
    max-height: 30dvh;
    overflow-y: auto;
}

/* Hidden until Blazor shows it; see OneTimeSecretsErrorUi. */
#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--fbx-alias-spacing-4x);
    background: var(--fbx-alias-color-danger-emphasis-high);
    color: var(--fbx-alias-color-danger-on);
    text-align: center;
}

#blazor-error-ui .reload {
    color: inherit;
    font-weight: bold;
}
