@import '_content/PulsarComponents/PulsarComponents.iz3q0qw645.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* PulsarPanel is always display:grid internally — a leaf dock zone holding plain children needs
   its own display overridden (!important, to out-specificity the library's own scoped rule) or its
   content mis-places into the panel's own grid cells instead of flowing normally. Same pattern as
   WindowDashboardDemo.razor's own toolbar/nav zones in the docs site.

   Every rule needs the ".sample-shell" prefix (a real element this component directly renders) for
   ::deep to have anything to anchor on — a root-level PulsarThemeProvider renders no element of its
   own, so a bare "::deep .foo" rule compiles to requiring an ancestor that never exists in the DOM
   and silently matches nothing. */
.sample-shell[b-4kepf8t88m] {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.sample-shell[b-4kepf8t88m]  .sample-shell__brand {
    white-space: nowrap;
}

/* The dock area (nav + splitter + content) fills whatever height the sticky AppBar above it
   doesn't use — min-height:0 is required for a flex child to be allowed to shrink below its
   content's natural height, otherwise it just pushes the page taller instead of scrolling. */
.sample-shell[b-4kepf8t88m]  .sample-shell__body {
    flex: 1 1 auto;
    min-height: 0;
    display: grid !important;
    grid-template-columns: 220px 1fr;
}

.sample-shell[b-4kepf8t88m]  .sample-shell__icon-button {
    width: 36px;
    height: 36px;
    padding: 0 !important;
    justify-content: center;
}

.sample-shell[b-4kepf8t88m]  .sample-shell__avatar-trigger {
    cursor: pointer;
}

.sample-shell[b-4kepf8t88m]  .sample-shell__menu {
    display: flex !important;
    flex-direction: column;
    width: 220px;
    padding: 8px;
}

.sample-shell[b-4kepf8t88m]  .sample-shell__menu-heading {
    padding: 6px 8px 8px;
    color: var(--pulsar-palette-text-secondary, #5B6270);
}

.sample-shell[b-4kepf8t88m]  .sample-shell__menu-note {
    padding: 8px;
    border-radius: var(--pulsar-sizing-border-radius-small, 6px);
}

.sample-shell[b-4kepf8t88m]  .sample-shell__menu-note:hover {
    background: var(--pulsar-palette-divider, #E4E7EC);
}

.sample-shell[b-4kepf8t88m]  .sample-shell__menu-item {
    justify-content: flex-start;
}

.sample-shell[b-4kepf8t88m]  .sample-shell__nav {
    display: flex !important;
    flex-direction: column;
    gap: 4px;
}

.sample-shell[b-4kepf8t88m]  .sample-shell__nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--pulsar-sizing-border-radius-small, 6px);
    color: var(--pulsar-palette-text-secondary, #5B6270);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: background-color 150ms ease, color 150ms ease;
}

.sample-shell[b-4kepf8t88m]  .sample-shell__nav-link:hover {
    background: var(--pulsar-palette-divider, #E4E7EC);
    color: var(--pulsar-palette-text-primary, #1A1D23);
}

.sample-shell[b-4kepf8t88m]  .sample-shell__nav-link.active {
    background: color-mix(in srgb, var(--pulsar-palette-primary, #4C6FFF) 14%, transparent);
    color: var(--pulsar-palette-primary, #4C6FFF);
}

/* The Fill zone (@Body) renders whatever the current page puts there — always more than one
   top-level element (a heading plus content), so it needs the same flex-column override. */
.sample-shell[b-4kepf8t88m]  .sample-shell__content {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
}

/* Without this, flex's default flex-shrink:1 proportionally SQUISHES every child to fit the
   container's own height instead of letting .sample-shell__content's overflow-y:auto actually
   scroll — every child ends up with a near-zero computed height while its content still renders at
   natural size, bleeding into the next sibling (confirmed via getBoundingClientRect: an <h1> was
   computing to ~5px tall). flex-shrink:0 makes children keep their natural height so overflow can
   do its job. */
.sample-shell[b-4kepf8t88m]  .sample-shell__content > * {
    flex-shrink: 0;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-4eu2n0eo8e],
.components-reconnect-repeated-attempt-visible[b-4eu2n0eo8e],
.components-reconnect-failed-visible[b-4eu2n0eo8e],
.components-pause-visible[b-4eu2n0eo8e],
.components-resume-failed-visible[b-4eu2n0eo8e],
.components-rejoining-animation[b-4eu2n0eo8e] {
    display: none;
}

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


#components-reconnect-modal[b-4eu2n0eo8e] {
    background-color: white;
    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-4eu2n0eo8e 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

#components-reconnect-modal button[b-4eu2n0eo8e] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-4eu2n0eo8e] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-4eu2n0eo8e] {
        background-color: #6b9ed2;
    }

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

    .components-rejoining-animation div[b-4eu2n0eo8e] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-4eu2n0eo8e 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

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

@keyframes components-rejoining-animation-b-4eu2n0eo8e {
    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;
    }
}
