/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* === Main Wrap (prod: sidebar left, main right) === */
.main-wrap[b-jiz0eo4kwg] {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* === Sidebar (matches prod: fixed, full-height, 220px, #D6D6D4) === */
.sidebar[b-jiz0eo4kwg] {
    width: 220px;
    height: 100%;
    background: #D6D6D4;
    border-right: 1px solid #ccc;
    overflow-y: auto;
    flex-shrink: 0;
    z-index: 6;
    transition: width 250ms ease;
}

/* === Main content area (right of sidebar) === */
.main[b-jiz0eo4kwg] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* === Header Bar (prod: white, border-bottom, right of sidebar) === */
.header-bar[b-jiz0eo4kwg] {
    background: #fff;
    border-bottom: 1px solid #ddd;
    height: 52px;
    flex-shrink: 0;
    z-index: 99;
    display: flex;
    align-items: center;
}

.header-bar-inner[b-jiz0eo4kwg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
}

.header-left[b-jiz0eo4kwg] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-right[b-jiz0eo4kwg] {
    display: flex;
    align-items: center;
}

.site-title[b-jiz0eo4kwg] {
    display: none;
}

.user-info[b-jiz0eo4kwg] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    line-height: 1.3;
}

.user-info .username[b-jiz0eo4kwg] {
    font-weight: 700;
    color: #000;
    font-size: 13px;
    white-space: nowrap;
    text-align: right;
}

.header-bar-navigation[b-jiz0eo4kwg] {
    list-style: none;
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.header-bar-navigation li[b-jiz0eo4kwg] {
    position: relative;
}

.header-bar-navigation li[b-jiz0eo4kwg]::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 1px;
    height: 18px;
    background-color: #4f677f;
}

.header-bar-navigation li:last-child[b-jiz0eo4kwg]::after {
    display: none;
}

.header-bar-navigation[b-jiz0eo4kwg]  a {
    padding: 0 10px;
    display: block;
    color: #006bb7;
    font-size: 14px;
    text-decoration: none;
}

.header-bar-navigation[b-jiz0eo4kwg]  a:hover {
    color: #002868;
    text-decoration: underline;
}

/* === Main content scrollable area === */
main[b-jiz0eo4kwg] {
    flex: 1;
    overflow-y: auto;
    background: #fcfcfc;
}

.content[b-jiz0eo4kwg] {
    padding: 20px 30px;
    max-width: 1550px;
}

/* === Sidebar Collapsed State (desktop) === */
.sidebar.collapsed[b-jiz0eo4kwg] {
    width: 60px;
}

.sidebar.collapsed[b-jiz0eo4kwg]  .logo-container img {
    max-width: 36px;
    padding: 0;
}

.sidebar.collapsed[b-jiz0eo4kwg]  .primary-navigation li a {
    font-size: 0;
    padding: 14px 0;
    text-align: center;
}

.sidebar.collapsed[b-jiz0eo4kwg]  .primary-navigation li a::after {
    display: none;
}

.sidebar.collapsed[b-jiz0eo4kwg]  .collapse-button {
    right: 50%;
    transform: translateX(50%);
}

/* === Tablet: Sidebar off-screen, header full-width === */
@media (max-width: 1023px) {
    .sidebar[b-jiz0eo4kwg] {
        position: fixed;
        top: 0;
        left: -280px;
        bottom: 0;
        width: 280px;
        z-index: 99;
        transition: left 250ms ease-in-out;
        box-shadow: 2px 2px 7px 0 rgba(0, 0, 0, 0.4);
    }

    .sidebar.open[b-jiz0eo4kwg] {
        left: 0;
    }

    .header-bar[b-jiz0eo4kwg] {
        padding-left: 50px;
    }

    .mobile-trigger[b-jiz0eo4kwg] {
        display: block !important;
    }

    .content[b-jiz0eo4kwg] {
        padding: 20px;
    }
}

/* === Mobile: Stacked layout, compact spacing === */
@media (max-width: 767.98px) {
    .sidebar[b-jiz0eo4kwg] {
        position: fixed;
        top: 0;
        left: -280px;
        bottom: 0;
        width: 280px;
        z-index: 99;
        box-shadow: none;
    }

    .sidebar.open[b-jiz0eo4kwg] {
        left: 0;
        box-shadow: 4px 0 12px rgba(0, 0, 0, 0.15);
    }

    .header-bar .username[b-jiz0eo4kwg] {
        font-size: 12px;
    }

    .header-bar-navigation[b-jiz0eo4kwg]  a {
        font-size: 13px;
        padding: 0 5px;
    }

    .content[b-jiz0eo4kwg] {
        padding: 15px;
    }
}

/* === Small mobile: Hide user info, compact buttons === */
@media (max-width: 576px) {
    .user-info[b-jiz0eo4kwg] {
        display: none;
    }

    .header-bar[b-jiz0eo4kwg] {
        min-height: 52px;
    }
}

@media (min-width: 1024px) {
    .mobile-trigger[b-jiz0eo4kwg] {
        display: none;
    }
}

/* === Error UI === */
#blazor-error-ui[b-jiz0eo4kwg] {
    color-scheme: light only;
    background: lightyellow;
    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%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-jiz0eo4kwg] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* === Sidebar Inner Layout === */
.sidebar-inner[b-ktedh1exn3] {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* === Logo (matches prod: .logo-container height:75px, centered, img padded) === */
.logo-container[b-ktedh1exn3] {
    text-align: center;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-container .logo[b-ktedh1exn3] {
    display: inline-block;
    text-align: center;
}

.logo-container img[b-ktedh1exn3] {
    width: 100%;
    max-width: 172px;
    padding: 0 24px;
    transition: all 300ms linear;
}

/* === Navigation (matches prod: margin-top:20px after logo) === */
.primary-navigation[b-ktedh1exn3] {
    flex: 1;
    overflow-y: auto;
    margin-top: 20px;
    transition: all 200ms linear;
}

.primary-navigation ul[b-ktedh1exn3] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.primary-navigation li[b-ktedh1exn3] {
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.primary-navigation li:last-child[b-ktedh1exn3] {
    border: 0;
}

/* Nav links — matches prod: padding 16px 20px 18px, weight 700, spacing 2px */
.primary-navigation li[b-ktedh1exn3]  a {
    position: relative;
    text-transform: uppercase;
    display: inline-block;
    width: 100%;
    padding: 16px 20px 18px;
    transition: all 200ms ease-in;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    color: #303030;
    text-decoration: none;
}

/* Chevron via CSS ::after — matches prod: Font Awesome \f105 equivalent */
.primary-navigation li[b-ktedh1exn3]  a::after {
    content: '\203A';  /* single right-pointing angle quotation mark — close to fa-angle-right */
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: #303030;
    transition: all ease-in-out 250ms;
}

.primary-navigation li[b-ktedh1exn3]  a:hover {
    background: #ccc;
    font-weight: 700;
    text-decoration: none;
}

.primary-navigation li[b-ktedh1exn3]  a.active {
    background: #ccc;
    font-weight: 700;
}

/* === Collapse Button (matches prod: absolute, bottom:80px, right:15px) === */
.collapse-button[b-ktedh1exn3] {
    position: absolute;
    right: 15px;
    bottom: 80px;
    cursor: pointer;
    color: #fff;
    transition: all 350ms ease;
}

.collapse-button .icon-container[b-ktedh1exn3] {
    position: relative;
    padding: 3px 5px;
    width: 30px;
    height: 30px;
    background-color: #9e9e9e;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collapse-button .icon-container:hover[b-ktedh1exn3] {
    background-color: #303030;
}

/* === Tablet: Hide collapse button when sidebar is off-screen === */
@media (max-width: 1023px) {
    .collapse-button[b-ktedh1exn3] {
        display: none;
    }

    .logo-container[b-ktedh1exn3] {
        padding: 20px;
        justify-content: flex-start;
    }

    .logo-container img[b-ktedh1exn3] {
        height: 24px;
        max-width: none;
        width: auto;
        padding: 0;
    }
}

/* === Mobile === */
@media (max-width: 767.98px) {
    .primary-navigation li[b-ktedh1exn3]  a {
        padding: 12px 15px 14px;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-tna42o2vak],
.components-reconnect-repeated-attempt-visible[b-tna42o2vak],
.components-reconnect-failed-visible[b-tna42o2vak],
.components-pause-visible[b-tna42o2vak],
.components-resume-failed-visible[b-tna42o2vak],
.components-rejoining-animation[b-tna42o2vak] {
    display: none;
}

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


#components-reconnect-modal[b-tna42o2vak] {
    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-tna42o2vak 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-tna42o2vak {
    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;
    }
}
/* /Components/Shared/FileSlot.razor.rz.scp.css */
.file-slot-input-hidden[b-p1xeu80n3l] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}

/* Bootstrap's .btn:focus only fires on the label itself, not on a focused
   descendant. The InputFile is nested inside the label, so :has() forwards
   the descendant focus to the wrapper — keyboard users get a visible focus
   ring on the slot's affordance. :focus-visible (not :focus) limits this to
   keyboard navigation; mouse-click focus reuses Bootstrap's default. box-shadow
   inherits the button's border-radius, so the ring hugs the rounded edges
   instead of painting a square outline around them. */
label.btn:has(.file-slot-input-hidden:focus-visible)[b-p1xeu80n3l] {
    box-shadow: 0 0 0 2px var(--bs-primary, #0d6efd);
}
/* /Components/Shared/FileUploadButton.razor.rz.scp.css */
.file-upload-button-hidden[b-gszbi0fe34] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}

label.btn:has(.file-upload-button-hidden:focus-visible)[b-gszbi0fe34] {
    box-shadow: 0 0 0 2px var(--bs-primary, #0d6efd);
}
/* /Components/Shared/ToastContainer.razor.rz.scp.css */
.toast-container-fixed[b-49nx0jbj4p] {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1050;
    max-width: 400px;
}

.toast-item[b-49nx0jbj4p] {
    animation: toast-fade-in-b-49nx0jbj4p 0.3s ease-in;
}

@keyframes toast-fade-in-b-49nx0jbj4p {
    from {
        opacity: 0;
        transform: translateY(-0.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
