/* /Components/Layout/AdminLayout.razor.rz.scp.css */
.page[b-tcs1fzhqwo] {
    display: flex;
    min-height: 100vh;
}

main[b-tcs1fzhqwo] {
    background: var(--app-bg);
    flex: 1;
    min-width: 0;
}

.sidebar[b-tcs1fzhqwo] {
    background: var(--sidebar-bg);
    border-right: 1px solid var(--sidebar-line);
    box-shadow: 18px 0 40px rgba(17, 24, 39, .1);
}

.admin-brand[b-tcs1fzhqwo] {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: grid;
    gap: .2rem;
    padding: 1.2rem 1rem;
}

.admin-brand a[b-tcs1fzhqwo] {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
}

.admin-brand__title[b-tcs1fzhqwo] {
    display: grid;
    gap: .2rem;
}

.admin-nav-hamburger[b-tcs1fzhqwo] {
    display: none;
}

/* Theme switch + hamburger grouped in the brand bar; shown only on mobile, where the brand bar
   is the single header. On desktop the topbar carries the theme switch instead. */
.admin-brand__actions[b-tcs1fzhqwo] {
    align-items: center;
    display: none;
    gap: .4rem;
}

/* The brand bar is always dark, so give its theme switch light colors regardless of theme. */
.admin-brand[b-tcs1fzhqwo]  .theme-toggle {
    border-color: rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .72);
}

.admin-brand[b-tcs1fzhqwo]  .theme-toggle:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .32);
    color: #fff;
}

.admin-brand span[b-tcs1fzhqwo],
.admin-nav__label[b-tcs1fzhqwo] {
    color: rgba(255, 255, 255, .52);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-nav[b-tcs1fzhqwo] {
    display: grid;
    gap: .18rem;
    padding: .8rem .65rem 1.5rem;
}

.admin-nav__label[b-tcs1fzhqwo] {
    margin: .9rem .7rem .25rem;
}

.admin-nav[b-tcs1fzhqwo]  a,
.admin-nav summary[b-tcs1fzhqwo] {
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgba(255, 255, 255, .72);
    cursor: pointer;
    display: block;
    font-weight: 750;
    padding: .68rem .85rem;
    text-decoration: none;
}

.admin-nav[b-tcs1fzhqwo]  a:hover,
.admin-nav summary:hover[b-tcs1fzhqwo] {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.admin-nav[b-tcs1fzhqwo]  a.active {
    background: rgba(79, 211, 184, .18);
    border-color: rgba(79, 211, 184, .35);
    color: #fff;
}

.admin-home-link[b-tcs1fzhqwo] {
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 0 !important;
    margin-bottom: .15rem;
}

.admin-nav details[b-tcs1fzhqwo] {
    margin: .1rem 0;
}

.admin-nav summary[b-tcs1fzhqwo] {
    align-items: center;
    display: flex;
    justify-content: space-between;
    list-style: none;
}

.admin-nav summary[b-tcs1fzhqwo]::-webkit-details-marker {
    display: none;
}

.admin-nav summary[b-tcs1fzhqwo]::after {
    color: rgba(255, 255, 255, .5);
    content: "\203A";
    font-size: 1.25rem;
    line-height: .8;
    transform: rotate(0);
    transition: transform .14s ease;
}

.admin-nav details[open] summary[b-tcs1fzhqwo]::after {
    transform: rotate(90deg);
}

.admin-nav details[open] summary[b-tcs1fzhqwo] {
    color: #fff;
}

.admin-nav__children[b-tcs1fzhqwo] {
    border-left: 1px solid rgba(255, 255, 255, .12);
    display: grid;
    gap: .1rem;
    margin: .1rem 0 .35rem 1rem;
    padding-left: .45rem;
}

.admin-nav__children[b-tcs1fzhqwo]  a {
    font-size: .86rem;
    font-weight: 680;
    padding: .55rem .75rem;
}

.top-row[b-tcs1fzhqwo] {
    align-items: center;
    background: var(--topbar-bg);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 1rem;
    height: 4.25rem;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.app-topbar[b-tcs1fzhqwo] {
    backdrop-filter: blur(14px);
}

.topbar-title[b-tcs1fzhqwo] {
    display: grid;
    gap: .1rem;
}

.topbar-title span[b-tcs1fzhqwo] {
    color: var(--muted);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.topbar-title strong[b-tcs1fzhqwo] {
    color: var(--text);
    font-size: .98rem;
}

.topbar-right[b-tcs1fzhqwo] {
    align-items: center;
    display: flex;
    gap: .5rem;
    margin-left: auto;
}

.topbar-actions[b-tcs1fzhqwo] {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: flex-end;
}

.topbar-actions a[b-tcs1fzhqwo] {
    border: 1px solid transparent;
    border-radius: 7px;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
    padding: .45rem .65rem;
    text-decoration: none;
}

.topbar-actions a:hover[b-tcs1fzhqwo] {
    background: var(--surface-soft);
    border-color: var(--line);
    color: var(--primary);
}

.content[b-tcs1fzhqwo] {
    margin: 0 auto;
    max-width: 1400px;
    padding: 2rem;
}

.admin-content[b-tcs1fzhqwo] {
    max-width: 1500px;
}

@media (max-width: 820px) {
    .page[b-tcs1fzhqwo] {
        flex-direction: column;
    }

    .admin-sidebar[b-tcs1fzhqwo] {
        position: static;
    }

    .admin-brand[b-tcs1fzhqwo] {
        align-items: center;
        display: flex;
        justify-content: space-between;
    }

    .admin-nav-hamburger[b-tcs1fzhqwo] {
        cursor: pointer;
        display: inline-flex;
        flex-direction: column;
        gap: 5px;
        padding: .4rem;
    }

    .admin-nav-hamburger span[b-tcs1fzhqwo] {
        background: rgba(255, 255, 255, .85);
        border-radius: 2px;
        height: 2px;
        transition: transform .18s ease, opacity .18s ease;
        width: 24px;
    }

    .admin-nav[b-tcs1fzhqwo] {
        display: none;
    }

    .admin-nav-toggle:checked ~ .admin-nav[b-tcs1fzhqwo] {
        display: grid;
    }

    .admin-nav-toggle:checked ~ .admin-brand .admin-nav-hamburger span:nth-child(1)[b-tcs1fzhqwo] {
        transform: translateY(7px) rotate(45deg);
    }

    .admin-nav-toggle:checked ~ .admin-brand .admin-nav-hamburger span:nth-child(2)[b-tcs1fzhqwo] {
        opacity: 0;
    }

    .admin-nav-toggle:checked ~ .admin-brand .admin-nav-hamburger span:nth-child(3)[b-tcs1fzhqwo] {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* The brand bar is the single header on mobile; it now carries the theme switch, so the
       separate topbar (which otherwise held only the theme switch) is hidden. */
    .app-topbar[b-tcs1fzhqwo] {
        display: none;
    }

    .admin-brand__actions[b-tcs1fzhqwo] {
        display: flex;
    }

    .content[b-tcs1fzhqwo] {
        padding: 1rem;
    }
}

@media (min-width: 821px) {
    .sidebar[b-tcs1fzhqwo] {
        flex: 0 0 276px;
        height: 100vh;
        overflow-y: auto;
        position: sticky;
        top: 0;
    }
}
/* /Components/Layout/HelpLayout.razor.rz.scp.css */
/* Help layout styles now live in wwwroot/app.css under .help-shell / .help-sidebar / .help-nav
   so they can be shared with AdminHelpLayout. */
/* /Components/Layout/MainLayout.razor.rz.scp.css */
main[b-v228b3j87v] {
    background: var(--app-bg);
    display: block;
    min-height: 70vh;
}

.content[b-v228b3j87v] {
    margin: 0 auto;
    max-width: 1400px;
    padding: 2rem;
}

#blazor-error-ui[b-v228b3j87v] {
    background: #fff8e6;
    border-top: 1px solid #f0c15a;
    bottom: 0;
    box-shadow: 0 -10px 30px rgba(17, 24, 39, .12);
    box-sizing: border-box;
    color: #513a06;
    display: none;
    left: 0;
    padding: .85rem 3rem .85rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .reload[b-v228b3j87v] {
    color: #285f92;
    font-weight: 800;
    margin-left: .5rem;
}

#blazor-error-ui .dismiss[b-v228b3j87v] {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: .7rem;
}

@media (max-width: 820px) {
    .content[b-v228b3j87v] {
        padding: 1rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-r1wdncnth0],
.components-reconnect-repeated-attempt-visible[b-r1wdncnth0],
.components-reconnect-failed-visible[b-r1wdncnth0],
.components-pause-visible[b-r1wdncnth0],
.components-resume-failed-visible[b-r1wdncnth0],
.components-rejoining-animation[b-r1wdncnth0] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-r1wdncnth0],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-r1wdncnth0],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-r1wdncnth0],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-r1wdncnth0],
#components-reconnect-modal.components-reconnect-retrying[b-r1wdncnth0],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-r1wdncnth0],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-r1wdncnth0],
#components-reconnect-modal.components-reconnect-failed[b-r1wdncnth0],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-r1wdncnth0] {
    display: block;
}


#components-reconnect-modal[b-r1wdncnth0] {
    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-r1wdncnth0 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-r1wdncnth0 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-r1wdncnth0 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-r1wdncnth0]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-r1wdncnth0 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-r1wdncnth0 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-r1wdncnth0 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-r1wdncnth0 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-r1wdncnth0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-r1wdncnth0] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-r1wdncnth0] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-r1wdncnth0] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-r1wdncnth0] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-r1wdncnth0] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-r1wdncnth0] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-r1wdncnth0 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-r1wdncnth0] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-r1wdncnth0 {
    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/Pages/AdminNotifications.razor.rz.scp.css */
.notif-feed__toolbar[b-clxgkmxp0u] {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.notif-feed__filter[b-clxgkmxp0u] {
    display: flex;
    flex-direction: column;
    font-size: .8rem;
    font-weight: 600;
    gap: .25rem;
}

.notif-feed__filter .form-select[b-clxgkmxp0u] {
    min-width: 14rem;
}

.notif-feed__pager[b-clxgkmxp0u] {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.notif-feed__pageinfo[b-clxgkmxp0u] {
    color: var(--muted);
    font-size: .85rem;
}
/* /Components/Pages/AdminNotificationSettings.razor.rz.scp.css */
.notif-cat__grid[b-hfwyj5g0qh] {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.notif-cat__row[b-hfwyj5g0qh] {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: .75rem;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    padding: .55rem .25rem;
}

.notif-cat__row--head[b-hfwyj5g0qh] {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.notif-cat__label[b-hfwyj5g0qh] {
    font-weight: 600;
}

.notif-settings__grid[b-hfwyj5g0qh] {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    margin: 1rem 0;
}

.notif-settings__grid label[b-hfwyj5g0qh] {
    display: flex;
    flex-direction: column;
    font-size: .82rem;
    font-weight: 600;
    gap: .3rem;
}

@media (max-width: 36rem) {
    .notif-cat__row[b-hfwyj5g0qh] {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    /* Stack the timing select under the row on narrow screens. */
    .notif-cat__row > :nth-child(4)[b-hfwyj5g0qh] {
        grid-column: 1 / -1;
    }
}
/* /Components/Shared/AdminNotificationBell.razor.rz.scp.css */
.admin-bell[b-xkrjdvg1nk] {
    position: relative;
}

/* Matches the .theme-toggle button so the two sit together in the topbar. */
.admin-bell__trigger[b-xkrjdvg1nk] {
    align-items: center;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
    height: 2.1rem;
    justify-content: center;
    padding: 0;
    position: relative;
    width: 2.1rem;
}

.admin-bell__trigger:hover[b-xkrjdvg1nk] {
    background: var(--surface-soft);
    border-color: var(--line-strong);
    color: var(--text);
}

.admin-bell__trigger svg[b-xkrjdvg1nk] {
    height: 18px;
    width: 18px;
}

/* Red unread indicator dot in the corner of the bell. */
.admin-bell__dot[b-xkrjdvg1nk] {
    background: #dc2626;
    border: 2px solid var(--surface);
    border-radius: 50%;
    height: .7rem;
    position: absolute;
    right: -.15rem;
    top: -.15rem;
    width: .7rem;
}

/* Click-away catcher behind the panel. */
.admin-bell__backdrop[b-xkrjdvg1nk] {
    background: transparent;
    border: 0;
    cursor: default;
    inset: 0;
    position: fixed;
    z-index: 40;
}

.admin-bell__panel[b-xkrjdvg1nk] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
    display: flex;
    flex-direction: column;
    max-height: min(70vh, 32rem);
    position: absolute;
    right: 0;
    top: calc(100% + .5rem);
    width: 22rem;
    z-index: 50;
}

.admin-bell__panel-head[b-xkrjdvg1nk],
.admin-bell__panel-foot[b-xkrjdvg1nk] {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    padding: .75rem 1rem;
}

.admin-bell__panel-head[b-xkrjdvg1nk] {
    border-bottom: 1px solid var(--line);
}

.admin-bell__panel-foot[b-xkrjdvg1nk] {
    border-top: 1px solid var(--line);
}

.admin-bell__panel-body[b-xkrjdvg1nk] {
    overflow-y: auto;
    padding: .25rem .5rem;
}

.admin-bell__link[b-xkrjdvg1nk] {
    color: var(--brand);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
}

.admin-bell__link:hover[b-xkrjdvg1nk] {
    text-decoration: underline;
}

@media (max-width: 30rem) {
    /* Anchor as a bottom sheet on small screens. The default `top: calc(100% + .5rem)` is meant for
       the absolutely-positioned desktop panel; with position: fixed it resolves against the viewport
       height and pushes the panel off the bottom of the screen, so it must be cleared here. */
    .admin-bell__panel[b-xkrjdvg1nk] {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: auto;
        max-height: 80vh;
        border-radius: 12px 12px 0 0;
    }
}
/* /Components/Shared/AdminNotificationList.razor.rz.scp.css */
.notif-list__empty[b-sl7pwu9she] {
    color: var(--muted);
    margin: 0;
    padding: 1.25rem .25rem;
    text-align: center;
}

.notif-list[b-sl7pwu9she] {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

.notif-row[b-sl7pwu9she] {
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: .25rem;
}

.notif-row:last-child[b-sl7pwu9she] {
    border-bottom: 0;
}

.notif-row__main[b-sl7pwu9she] {
    align-items: flex-start;
    color: inherit;
    display: flex;
    flex: 1;
    gap: .5rem;
    min-width: 0;
    padding: .6rem .35rem .6rem .5rem;
    text-decoration: none;
}

.notif-row__main:hover[b-sl7pwu9she] {
    background: var(--surface-soft);
}

/* Unread red dot — reserved gutter so read/unread rows stay aligned. */
.notif-row__dot[b-sl7pwu9she] {
    border-radius: 50%;
    flex-shrink: 0;
    height: .5rem;
    margin-top: .45rem;
    width: .5rem;
}

.notif-row--unread .notif-row__dot[b-sl7pwu9she] {
    background: #dc2626;
}

.notif-row__body[b-sl7pwu9she] {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    min-width: 0;
}

.notif-row__head[b-sl7pwu9she] {
    align-items: baseline;
    display: flex;
    gap: .5rem;
    justify-content: space-between;
}

.notif-row__tag[b-sl7pwu9she] {
    color: var(--muted);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.notif-row__time[b-sl7pwu9she] {
    color: var(--muted);
    font-size: .72rem;
    white-space: nowrap;
}

.notif-row__title[b-sl7pwu9she] {
    color: var(--text);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notif-row--unread .notif-row__title[b-sl7pwu9she] {
    font-weight: 700;
}

.notif-row__sub[b-sl7pwu9she] {
    color: var(--muted);
    font-size: .82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notif-row__x[b-sl7pwu9she] {
    align-items: center;
    align-self: center;
    background: none;
    border: 0;
    border-radius: 6px;
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
    flex-shrink: 0;
    height: 1.8rem;
    justify-content: center;
    width: 1.8rem;
}

.notif-row__x:hover[b-sl7pwu9she] {
    background: var(--surface-soft);
    color: var(--text);
}
