@import '_content/Roster.UI/Roster.UI.iiw1nd9bqr.bundle.scp.css';

/* /Components/Layout/GlobalSearchBar.razor.rz.scp.css */
.global-search-wrap[b-sw8nnbfln1] {
    position: relative;
    margin-left: 1rem;
    flex: 0 1 320px;
    min-width: 160px;
}

.global-search-box[b-sw8nnbfln1] {
    position: relative;
    z-index: 1400;
    display: flex;
    align-items: center;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--mud-palette-lines-inputs);
    background-color: var(--mud-palette-background);
    padding: 0 6px;
    transition: border-color 0.15s ease;
}

.global-search-box:focus-within[b-sw8nnbfln1] {
    border-color: var(--mud-palette-primary);
}

.global-search-scope-btn[b-sw8nnbfln1] {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
    padding: 2px;
    margin-right: 4px;
    border-radius: 4px;
}

.global-search-scope-btn:hover[b-sw8nnbfln1] {
    background-color: var(--mud-palette-action-default-hover);
}

.global-search-input[b-sw8nnbfln1] {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--mud-palette-text-primary);
    font-size: 0.875rem;
}

.global-search-input[b-sw8nnbfln1]::placeholder {
    color: var(--mud-palette-text-secondary);
}

.global-search-clear-btn[b-sw8nnbfln1] {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
    padding: 2px;
    border-radius: 4px;
}

.global-search-backdrop[b-sw8nnbfln1] {
    position: fixed;
    inset: 0;
    z-index: 1390;
}

.global-search-results[b-sw8nnbfln1] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    min-width: 300px;
    max-height: 420px;
    overflow-y: auto;
    background-color: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    box-shadow: var(--mud-elevation-8);
    z-index: 1400;
    padding: 6px;
}

.global-search-group-label[b-sw8nnbfln1] {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mud-palette-text-secondary);
    padding: 8px 10px 4px;
}

.global-search-hit[b-sw8nnbfln1] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 6px;
    padding: 7px 10px;
    cursor: pointer;
    color: var(--mud-palette-text-primary);
}

.global-search-hit:hover[b-sw8nnbfln1] {
    background-color: var(--mud-palette-action-default-hover);
}

.global-search-hit-text[b-sw8nnbfln1] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.global-search-hit-title[b-sw8nnbfln1] {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.global-search-hit-sub[b-sw8nnbfln1] {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.global-search-empty[b-sw8nnbfln1] {
    padding: 12px 10px;
    font-size: 0.85rem;
    color: var(--mud-palette-text-secondary);
}

@media (max-width: 720px) {
    .global-search-wrap[b-sw8nnbfln1] {
        display: none;
    }
}
/* /Components/Layout/GuidedTourOverlay.razor.rz.scp.css */
.tour-layer[b-r5erir1w1s] {
    position: fixed;
    inset: 0;
    z-index: 1700;
    pointer-events: auto;
}

.tour-backdrop-only[b-r5erir1w1s] {
    position: fixed;
    inset: 0;
    background-color: var(--mud-palette-overlay-dark);
}

.tour-spotlight[b-r5erir1w1s] {
    position: fixed;
    border-radius: 8px;
    border: 2px solid var(--mud-palette-primary);
    box-shadow: 0 0 0 9999px var(--mud-palette-overlay-dark);
    pointer-events: none;
    transition: top 0.2s ease, left 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.tour-card[b-r5erir1w1s] {
    position: fixed;
    width: 340px;
    max-width: calc(100vw - 32px);
    padding: 20px;
    border-radius: 12px;
    background-color: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    border: 1px solid var(--mud-palette-lines-default);
    box-shadow: var(--mud-elevation-12);
    z-index: 1710;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* The shell's geometry, and nothing else.

   This file used to name two colours, in one rule, and they were the navy-to-purple gradient the
   Blazor project template paints its sidebar with. A literal cannot follow a palette, so that
   sidebar was the one surface in the application dark mode could never have reached. It is not
   replaced by a different literal: the drawer and the bar are MudBlazor components, and
   MudBlazor's own rules paint them from --mud-palette-drawer-background,
   --mud-palette-drawer-text and the appbar pair, which the theme provider rewrites whenever the
   palette changes. So the colours are in RosterTheme, where Task 1 put every other colour, and
   what is left here is where things sit and two rules that exist because of defects.

   ::deep throughout, because the drawer, the bar and the main content are rendered by MudBlazor
   rather than by this component, and a scoped stylesheet reaches only its own component's markup.
   The wrapping .shell div in MainLayout.razor is what those selectors hang off. */

.shell[b-k7joa7lijq]  .mud-drawer {
    /* The menu is taller than a short window once a group is expanded, and without a scrollbar
       everything past the bottom of the screen is unreachable: no bar, no way down. That is how
       Rules and Settings went missing for an administrator who had every right to them, with
       Configuration expanded and the two of them below the fold, and it reached the owner as not
       being able to see the settings screen.

       MudBlazor's own .mud-drawer rule already sets overflow-y: auto, and a fixed drawer is
       capped at the window's height, so the scrollbar appears without this. It is restated
       anyway: a library's internal rule is not a promise, and an upgrade that reorganised it
       would take the fix away in silence rather than with a build error. overscroll-behavior is
       ours alone and MudBlazor does not set it, and it is the second half of the same fix: it
       stops a scroll that reaches the end of the menu from carrying on into the page behind it,
       which on a touch screen is how somebody scrolling for Settings ends up moving the roster
       instead. */
    overflow-y: auto;
    overscroll-behavior: contain;

    /* Where the drawer ends. In dark mode the drawer and the page are two near-blacks a shade
       apart, which without a line read as one surface. The theme's own line variable rather than
       a literal, so light and dark each get the right one from a single rule. */
    border-right: 1px solid var(--mud-palette-lines-default);
}

/* The same reasoning for the bar, whose background and the page's are deliberately the same value
   in dark mode. */
.shell[b-k7joa7lijq]  .mud-appbar {
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.shell[b-k7joa7lijq]  .mud-main-content {
    /* Team availability and the roster grid both hold a table set to min-width: max-content
       inside a div set to overflow-x: auto, which is meant to scroll the table and leave the page
       alone. A container that refuses to be narrower than its content takes that scrolling away
       from the div and hands it to the page: the whole page becomes wider than the window, and
       reading a date at the far right of the grid scrolls the menu off the side.

       That happened when the content sat in a flex row beside the sidebar, because a flex item
       defaults to min-width: auto. The structure no longer has that shape, since .mud-layout is a
       plain block and the main content is offset from the drawer by a margin rather than by being
       a flex sibling of it, so a block-level container takes its width from its parent and cannot
       grow to its content. This rule is therefore belt as well as braces, and it is written down
       because the defect reached the owner once and the next person to restructure this shell
       needs to find the reason rather than rediscover it. */
    min-width: 0;
}

/* Breathing room under the bar, and the whole of what is left of a class the Blazor template put
   in a global stylesheet. It lived in app.css, which is now only the Bootstrap the statically
   rendered Identity pages are written in, and "content" is far too general a name to leave in a
   file every page on the site loads. No ::deep, because main.content is the one element in this
   shell that MainLayout renders itself.

   MudMainContent already offsets the fixed bar's own height. This is the gap between that and the
   first line of the page. */
.content[b-k7joa7lijq] {
    padding-top: 1.1rem;
    max-width: 100%;
    overflow-x: clip;
}

@media (max-width: 599px) {
    .content[b-k7joa7lijq] {
        padding-top: 0.75rem;
    }

    .shell[b-k7joa7lijq]  .mud-appbar .mud-toolbar {
        padding-left: 8px;
        padding-right: 8px;
        gap: 2px;
    }
}

.nav-drawer-body[b-k7joa7lijq] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.account-avatar-btn[b-k7joa7lijq] {
    background: transparent;
    border: none;
    padding: 4px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.account-avatar-btn:hover[b-k7joa7lijq] {
    background-color: var(--mud-palette-action-default-hover);
}

#blazor-error-ui[b-k7joa7lijq] {
    /* Deliberately outside the theme. This is what the browser shows once the circuit is gone,
       which is the one moment the application is not in a position to be consistent about
       anything, so it stays the template's plain yellow band in light regardless of the palette.

       The ink is named because the band only named its background. MudBlazor sets
       color: var(--mud-palette-text-primary) on body, so this text was inherited, and in dark mode
       that variable is #E6E9EC: near white on lightyellow, which is 1.19:1 and gone. color-scheme
       does not save it, since that governs what the browser paints for itself rather than what a
       stylesheet inherits. The value is the light palette's own ink rather than a new colour, and
       it is written literally here for the same reason the background is: this band has to read
       correctly when the application behind it has stopped. */
    color-scheme: light only;
    background: lightyellow;
    color: #1A1D21;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;

    /* Above everything MudBlazor draws, whose layers run from the drawer at 1100 to the tooltip
       at 1600. It was 1000, which was above the template's sidebar because that had no layer of
       its own, and would now be underneath the drawer: the banner runs along the foot of the
       window, so the first inch of "An unhandled error has occurred" would sit behind the menu.
       A message saying the application has stopped working is the one thing that must not be
       covered by the application. */
    z-index: 2000;
}

    #blazor-error-ui .dismiss[b-k7joa7lijq] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ejf9rl9r85],
.components-reconnect-repeated-attempt-visible[b-ejf9rl9r85],
.components-reconnect-failed-visible[b-ejf9rl9r85],
.components-pause-visible[b-ejf9rl9r85],
.components-resume-failed-visible[b-ejf9rl9r85],
.components-rejoining-animation[b-ejf9rl9r85] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-ejf9rl9r85],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-ejf9rl9r85],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-ejf9rl9r85],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-ejf9rl9r85],
#components-reconnect-modal.components-reconnect-retrying[b-ejf9rl9r85],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-ejf9rl9r85],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-ejf9rl9r85],
#components-reconnect-modal.components-reconnect-failed[b-ejf9rl9r85],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-ejf9rl9r85] {
    display: block;
}


#components-reconnect-modal[b-ejf9rl9r85] {
    /* Light on purpose and self-contained, for the same reason the disconnection banner in
       MainLayout.razor.css is: this is what somebody sees while the circuit is dropping, so it
       must not depend on the application being in a fit state to colour it.

       The ink is named because the dialog only named its background. MudBlazor sets
       color: var(--mud-palette-text-primary) on body and a dialog inherits from it, so in dark
       mode "Rejoining the server" was #E6E9EC on white, which is 1.22:1 and invisible: a reconnect
       message nobody can read is indistinguishable from the page having simply stopped. */
    color-scheme: light only;
    background-color: white;
    color: #1A1D21;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-ejf9rl9r85 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-ejf9rl9r85 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-ejf9rl9r85 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-ejf9rl9r85]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-ejf9rl9r85 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-ejf9rl9r85 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-ejf9rl9r85 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-ejf9rl9r85 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-ejf9rl9r85] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-ejf9rl9r85] {
    margin: 0;
    text-align: center;
}

/* The Retry button. Still a literal, for the reason the dialog above states: this is drawn while
   the circuit is going, so it cannot depend on a variable the application is no longer in a
   position to have set. What changed is which literal.

   It was the project template's own #6b9ed2, and that was two faults at once. It is a blue that
   appears nowhere else in this application, on the one control somebody presses when things have
   already gone wrong, so the application looked least like itself at the moment it most needed to
   look trustworthy. And its label failed to read: white on #6b9ed2 is 2.82:1, well under the 4.5:1
   text on a control needs. This is the light palette's own accent, written out rather than read
   from --mud-palette-primary, and white on it is 6.75:1. The hover is that accent darkened by a
   quarter, at 9.70:1. */
#components-reconnect-modal button[b-ejf9rl9r85] {
    border: 0;
    background-color: #2C5F8A;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-ejf9rl9r85] {
        background-color: #214768;
    }

    #components-reconnect-modal button:active[b-ejf9rl9r85] {
        background-color: #2C5F8A;
    }

.components-rejoining-animation[b-ejf9rl9r85] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-ejf9rl9r85] {
        position: absolute;
        /* The same accent as the button, for the same reason and with the same caveat about being
           written out rather than read from the palette. The template's #0087ff was a bright blue
           belonging to nothing else in the application. */
        border: 3px solid #2C5F8A;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-ejf9rl9r85 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-ejf9rl9r85] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-ejf9rl9r85 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
