/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-6bpxja66za] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-6bpxja66za] {
    flex: 1;
}

.sidebar[b-6bpxja66za] {
    /* Almond pane — TSC Elementor kit secondary #E2B7AF; gradient in app.css .sidebar */
    background-image: none;
}

.top-row[b-6bpxja66za] {
    background-color: #faf6f5;
    border-bottom: 1px solid rgba(115, 78, 68, 0.15);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-6bpxja66za]  a, .top-row[b-6bpxja66za]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    /* Sidebar brand links: keep heading look (no underline / offset from generic top-row link rules). */
    .top-row[b-6bpxja66za]  a.navbar-brand,
    .top-row[b-6bpxja66za]  a.app-sidebar-brand__tagline {
        margin-left: 0;
        white-space: normal;
    }

    .top-row[b-6bpxja66za]  a:hover, .top-row[b-6bpxja66za]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-6bpxja66za]  a.navbar-brand:hover,
    .top-row[b-6bpxja66za]  a.app-sidebar-brand__tagline:hover {
        text-decoration: none;
    }

    .top-row[b-6bpxja66za]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-6bpxja66za] {
        justify-content: space-between;
    }

    .top-row[b-6bpxja66za]  a, .top-row[b-6bpxja66za]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-6bpxja66za] {
        flex-direction: row;
    }

    .sidebar[b-6bpxja66za] {
        width: 270px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-6bpxja66za] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-6bpxja66za]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-6bpxja66za], article[b-6bpxja66za] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-6bpxja66za] {
    color-scheme: light only;
    background: #faf6e8;
    color: #4a4235;
    bottom: 0;
    box-shadow: 0 -4px 24px rgba(62, 40, 35, 0.08);
    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-6bpxja66za] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-6t9rlc110t] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: var(--tsc-heading, #2a5f7a);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(42, 95, 122, 0.18);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2842, 95, 122, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 252, 252, 0.55);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.navbar-toggler:checked[b-6t9rlc110t] {
    background-color: rgba(42, 95, 122, 0.08);
}

.top-row[b-6t9rlc110t] {
    min-height: auto;
    background-color: transparent;
}

.app-sidebar-brand-block[b-6t9rlc110t] {
    width: 100%;
}

.app-sidebar-brand[b-6t9rlc110t] {
    display: flex;
    justify-content: center;
    line-height: 0;
    width: 100%;
}

.app-sidebar-brand__logo[b-6t9rlc110t] {
    height: auto;
    max-height: 40px;
    width: auto;
    max-width: 168px;
    object-fit: contain;
    margin: 0 auto;
}

/* Match prior heading look; beat Bootstrap reboot `a` + MainLayout `.top-row a:hover` underline. */
.top-row.navbar a.app-sidebar-brand__tagline[b-6t9rlc110t] {
    display: block;
    width: 100%;
    margin-top: 0.95rem;
    font-size: 1.2rem;
    line-height: 1.35;
    color: var(--tsc-brown-muted, #6b534c);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    text-wrap: balance;
    text-decoration: none;
    cursor: pointer;
}

.top-row.navbar a.app-sidebar-brand__tagline:link[b-6t9rlc110t],
.top-row.navbar a.app-sidebar-brand__tagline:visited[b-6t9rlc110t],
.top-row.navbar a.app-sidebar-brand__tagline:hover[b-6t9rlc110t],
.top-row.navbar a.app-sidebar-brand__tagline:active[b-6t9rlc110t],
.top-row.navbar a.app-sidebar-brand__tagline:focus[b-6t9rlc110t],
.top-row.navbar a.app-sidebar-brand__tagline:focus-visible[b-6t9rlc110t] {
    color: var(--tsc-brown-muted, #6b534c);
    text-decoration: none;
    background-color: transparent;
}

.top-row.navbar a.app-sidebar-brand__tagline:focus-visible[b-6t9rlc110t] {
    outline: 2px solid rgba(42, 95, 122, 0.35);
    outline-offset: 2px;
}

.navbar-brand[b-6t9rlc110t] {
    font-size: 1.1rem;
}

.nav-submenu[b-6t9rlc110t] {
    margin-left: 1.5rem;
}

.bi[b-6t9rlc110t] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

/* Icons: softened heading teal */
.bi-list-check-nav-menu[b-6t9rlc110t] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232a5f7a' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM3.146 2.146a.5.5 0 0 1 .708 0l1.5 1.5a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 1 1-.708-.708L4.293 4 3.146 2.854a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-6t9rlc110t] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232a5f7a' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-6t9rlc110t] {
    font-size: 0.95rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-6t9rlc110t] {
        padding-top: 0.65rem;
    }

    .nav-item:last-of-type[b-6t9rlc110t] {
        padding-bottom: 1rem;
    }

    .nav-item[b-6t9rlc110t]  .nav-link {
        color: var(--tsc-text, #1e2a30);
        background: none;
        border: none;
        border-radius: 8px;
        min-height: 3rem;
        padding: 0.5rem 0.75rem;
        display: flex;
        align-items: center;
        line-height: 1.45;
        width: 100%;
        white-space: normal;
        font-size: inherit;
        font-weight: 500;
        transition: background-color 0.25s ease, color 0.25s ease;
    }

.nav-item[b-6t9rlc110t]  a.active {
    background-color: rgba(42, 95, 122, 0.1);
    color: var(--tsc-heading, #2a5f7a);
    font-weight: 600;
}

.nav-item[b-6t9rlc110t]  .nav-link:hover {
    background-color: rgba(255, 252, 252, 0.62);
    color: var(--tsc-heading, #2a5f7a);
}

.nav-item[b-6t9rlc110t]  .nav-link--sub {
    min-height: 2.5rem;
    padding-left: 0.65rem;
    font-size: inherit;
    font-weight: inherit;
}

/* Sub-item row: label + loading orbit (interactive nav) */
.nav-item[b-6t9rlc110t]  .nav-link--sub-with-status {
    padding-right: 0.5rem;
}

.nav-item[b-6t9rlc110t]  .nav-link--sub__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    width: 100%;
    min-width: 0;
}

.nav-item[b-6t9rlc110t]  .nav-link--sub__text {
    flex: 1 1 auto;
    min-width: 0;
}

/* Rotating ring of three dots (theme teal) */
.nav-env-orbit[b-6t9rlc110t] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
}

.nav-env-orbit__track[b-6t9rlc110t] {
    position: relative;
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
    animation: nav-env-orbit-spin-b-6t9rlc110t 0.75s linear infinite;
}

/* Three dots on a small triangle; whole track spins so they orbit together */
.nav-env-orbit__dot[b-6t9rlc110t] {
    position: absolute;
    width: 3.5px;
    height: 3.5px;
    background: var(--tsc-heading, #2a5f7a);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(42, 95, 122, 0.45);
    opacity: 0.95;
}

.nav-env-orbit__dot:nth-child(1)[b-6t9rlc110t] {
    left: 4.5px;
    top: 0.5px;
}

.nav-env-orbit__dot:nth-child(2)[b-6t9rlc110t] {
    left: 0.25px;
    top: 7px;
}

.nav-env-orbit__dot:nth-child(3)[b-6t9rlc110t] {
    left: 8.25px;
    top: 7px;
}

@keyframes nav-env-orbit-spin-b-6t9rlc110t {
    to {
        transform: rotate(360deg);
    }
}

/* Active / hover: keep dots legible on teal tint */
.nav-item[b-6t9rlc110t]  a.active .nav-env-orbit__dot {
    background: var(--tsc-heading, #2a5f7a);
    box-shadow: 0 0 6px rgba(42, 95, 122, 0.55);
}

.nav-scrollable[b-6t9rlc110t] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-6t9rlc110t] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-6t9rlc110t] {
        display: none;
    }

    .nav-scrollable[b-6t9rlc110t] {
        display: block;
        height: calc(100vh - 8.5rem);
        overflow-y: auto;
    }

    .top-row[b-6t9rlc110t] {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-env-orbit__track[b-6t9rlc110t] {
        animation: none;
    }

    .nav-env-orbit__dot:nth-child(1)[b-6t9rlc110t] {
        opacity: 0.4;
    }

    .nav-env-orbit__dot:nth-child(2)[b-6t9rlc110t] {
        opacity: 0.7;
    }

    .nav-env-orbit__dot:nth-child(3)[b-6t9rlc110t] {
        opacity: 1;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-lieo9kjii5],
.components-reconnect-repeated-attempt-visible[b-lieo9kjii5],
.components-reconnect-failed-visible[b-lieo9kjii5],
.components-pause-visible[b-lieo9kjii5],
.components-resume-failed-visible[b-lieo9kjii5],
.components-rejoining-animation[b-lieo9kjii5] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

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