@import '_content/PSC.Blazor.Components.MarkdownEditor/PSC.Blazor.Components.MarkdownEditor.bundle.scp.css';

/* /Presentation/Components/Classes/ClassesCollection.razor.rz.scp.css */
[b-3x8mfyxr0o] .classes-row {
    padding-bottom: 12px;
}

a.product-class[b-3x8mfyxr0o] {
    cursor: pointer;
}
/* /Presentation/Components/Home/SearchBar.razor.rz.scp.css */
.km-search-wrapper[b-vuimvni4gm] {
    position: relative;
}

/* When open, create a stacking context that sits above all page content.
   The backdrop gets z-index: -1 within this context, placing it behind the
   search input and dropdown but above the rest of the page (via parent z-index). */
.km-search-wrapper-open[b-vuimvni4gm] {
    z-index: 1200;
}

.km-search-backdrop[b-vuimvni4gm] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: -1; /* Behind other children within the wrapper's stacking context */
}

.km-search-inner[b-vuimvni4gm] {
    position: relative;
    /* No explicit z-index needed; auto > -1 in the same stacking context */
}

/* Make the text input opaque white — MudBlazor outlined inputs are transparent by default */
[b-vuimvni4gm] .km-search-bar {
    background-color: #fff;
}

.km-search-dropdown[b-vuimvni4gm] {
    /* position/top/left/width/max-height all set inline via JS (position: fixed) so the
       dropdown escapes any ancestor overflow:hidden constraints */
    background: var(--mud-palette-surface);
    border-radius: 0 0 4px 4px;
    box-shadow: var(--mud-elevation-8);
    overflow-y: auto;
    z-index: 1201; /* above km-search-wrapper-open (1200) */
    max-height: 60vh; /* fallback until JS calculation */
}

/* Two-column layout — plain flex, no MudGrid, so we fully control overflow */
.km-search-columns[b-vuimvni4gm] {
    display: flex;
    align-items: stretch;
    min-height: 0;
}

.km-search-column[b-vuimvni4gm] {
    flex: 1 1 50%;
    min-width: 0;
    border-right: 1px solid var(--mud-palette-divider);
}

.km-search-column-right[b-vuimvni4gm] {
    border-right: none;
}

.km-column-header[b-vuimvni4gm] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px 4px;
}

.km-column-loading[b-vuimvni4gm],
.km-column-empty[b-vuimvni4gm] {
    padding: 16px 12px;
    display: flex;
    justify-content: center;
}

.km-search-loading[b-vuimvni4gm] {
    padding: 8px 0;
}

.km-search-no-results[b-vuimvni4gm] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    color: var(--mud-palette-text-secondary);
}

.km-search-hint[b-vuimvni4gm] {
    padding: 8px 16px;
    border-top: 1px solid var(--mud-palette-divider);
    background: var(--mud-palette-background-grey);
}
/* /Presentation/Components/Home/SearchResultItem.razor.rz.scp.css */
.km-search-result-item[b-ibvv4ane69] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--mud-palette-divider);
    transition: background-color 0.1s ease;
    text-decoration: none; /* reset <a> default underline */
    color: inherit;        /* reset <a> default blue color */
    outline: none;         /* suppress browser default focus ring; we use custom styling */
}

.km-search-result-item:hover[b-ibvv4ane69] {
    /* hover highlight intentionally removed — highlight is driven by km-focused class
       so keyboard and mouse navigation share a single source of truth (_focusedIndex) */
}

.km-search-result-item.km-focused[b-ibvv4ane69],
.km-search-result-item:focus[b-ibvv4ane69],
.km-search-result-item:focus-visible[b-ibvv4ane69] {
    background-color: rgba(16, 117, 18, 0.12);
    outline: none;
    box-shadow: inset 3px 0 0 var(--mud-palette-primary);
}

.km-search-result-item.favourite[b-ibvv4ane69] {
    border-left: 3px solid var(--mud-palette-error);
    padding-left: 9px; /* compensate for border */
}

.km-search-result-image[b-ibvv4ane69] {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.km-search-result-text[b-ibvv4ane69] {
    min-width: 0; /* allow text truncation */
}

.km-search-result-title[b-ibvv4ane69] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3 !important;
    font-size: 0.9rem !important;
}

.km-search-result-meta[b-ibvv4ane69] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.km-search-result-fav-icon[b-ibvv4ane69] {
    flex-shrink: 0;
}
/* /Presentation/Components/Navigation/NavBar.razor.rz.scp.css */
[b-g34dw7pfzd] .mud-nav-link:hover:not(.mud-nav-link-disabled),
[b-g34dw7pfzd] .mud-nav-link:hover:not(.mud-nav-link-disabled) .mud-icon-root {
    color: #003816;
}

[b-g34dw7pfzd] .mud-nav-link:hover:not(.mud-nav-link-disabled) {
    background-color: #ffffff;
}

[b-g34dw7pfzd] .mud-navmenu .mud-nav-link.active:not(.mud-nav-link-disabled),
[b-g34dw7pfzd] .mud-navmenu .mud-nav-link.active:not(.mud-nav-link-disabled):hover:not(.mud-nav-link-disabled),
[b-g34dw7pfzd] .mud-navmenu .mud-nav-link.active:not(.mud-nav-link-disabled):focus-visible:not(.mud-nav-link-disabled) {
    color: #003816;
    background-color: #ffffff;
}

[b-g34dw7pfzd] .mud-navmenu.mud-navmenu-default .mud-nav-link.active:not(.mud-nav-link-disabled),
[b-g34dw7pfzd] .mud-navmenu.mud-navmenu-default .mud-nav-link.active:not(.mud-nav-link-disabled) .mud-icon-root {
    color: #003816;
    font-weight: 700 !important;
}
/* /Presentation/Components/Products/ProductSearchCard.razor.rz.scp.css */
[b-zozjqh5hr7] .favourite {
    background-image: url('/images/favourited.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-clip: padding-box;
}
/* /Presentation/Pages/Store/Search.razor.rz.scp.css */
.facets-container[b-dhw3zqqzue] {
    height: calc(100vh - var(--mud-appbar-dense-height) - 1rem);
    overflow: auto;
    padding: .5rem .5rem .5rem 0;
    margin: -0.5rem 0 -0.5rem 0;
}

[b-dhw3zqqzue] .search-result-container {
    height: calc(100vh - var(--mud-appbar-dense-height) - 48px - 1rem - 1rem);
    overflow: auto;
    padding: 1rem;
}
