﻿body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Used by Components/Pages/Error.razor (<code>@RequestId</code> inside a <p>) */
p code,
ul code {
    display: inline-block;
}

p code,
ul code,
pre {
    padding: 0 0.25rem;
    font-size: 0.8125em !important;
    line-height: 1.25rem;
    background: var(--rz-base-100);
    color: var(--rz-base-800);
    border-radius: 0.25rem;
}

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

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

/*
 * Smallest input variant for Radzen components
 * Reduces height to 36px and font size to 14px
 * Used in compact lists (ex. RoomList)
 */
.rz-smallest-input {
    --rz-input-height: 36px;
    --rz-input-font-size: 14px;
}

/*
 * Slightly smaller than the surrounding font-size, relative rather than hardcoded
 * (ex. family/sub-family columns, less prominent than the main grid columns)
 */
.rz-smaller-text {
    font-size: calc(1em - 2px);
}

/*
 * Secondary technical info shown alongside a grid's main value (ex. internal Id next to ArtCode)
 */
.technical-info {
    color: green;
    font-style: italic;
    font-size: 10px;
    vertical-align: bottom;
}
