:root {
    --portal-focus: var(--bsc-focus, #0C90D8);
}

html {
    font-size: 16px;
}

body {
    background-color: var(--bsc-bg, #f7f8fa);
}

main a:not(.btn) {
    text-underline-offset: 2px;
}

.btn,
.form-control,
.form-select,
.nav-link {
    min-height: 44px;
}

.btn-sm {
    min-height: 36px;
}

:focus-visible {
    outline: 3px solid var(--portal-focus);
    outline-offset: 2px;
}

.skip-link:focus {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2000;
    padding: 0.5rem 1rem;
    background: #fff;
}

.card {
    border-radius: 0.5rem;
}

.error-page h1 {
    margin-bottom: 1rem;
}

/* Multi-line text from the database (order notes): keep the line breaks, wrap long lines. */
.text-prewrap {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
