/* /Components/Controls/Layout/NavItem.razor.rz.scp.css */
li[b-uocyhk8cdk] {
    padding: 2px 0.625rem;
}

li[b-uocyhk8cdk]  a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    color: var(--cc-sidebar-text);
    text-decoration: none;
    border-radius: var(--cc-radius);
    transition: background 0.2s, color 0.2s;
    font-size: 0.9rem;
}

li[b-uocyhk8cdk]  a:hover {
    background: var(--cc-sidebar-hover);
}

li[b-uocyhk8cdk]  a.active {
    background: var(--cc-accent-50);
    color: var(--cc-accent-700);
    font-weight: 600;
}

.nav-icon[b-uocyhk8cdk] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 0.375rem;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

li[b-uocyhk8cdk]  a.active .nav-icon {
    background: var(--cc-accent-100);
    color: var(--cc-accent-600);
}

.nav-label[b-uocyhk8cdk] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Components/Controls/Rating/StarRating.razor.rz.scp.css */
.star-rating[b-aka7ns2gt4] {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
}

.star-icon[b-aka7ns2gt4] {
    font-size: 1rem;
    color: var(--cc-star);
}

.star-empty[b-aka7ns2gt4] {
    color: var(--cc-star-empty);
}

.star-numeric[b-aka7ns2gt4] {
    margin-left: 0.4rem;
    font-size: 0.85rem;
    color: var(--cc-text-muted);
    font-weight: 500;
}
/* /Components/Controls/User/UserBadge.razor.rz.scp.css */
.user-badge-avatar[b-hjauporaau] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--cc-border);
}

.user-badge-initials[b-hjauporaau] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cc-accent);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

.user-badge-name[b-hjauporaau] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--cc-text);
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-cetj1si6y4] {
    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-cetj1si6y4] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ─── Layout shell ─────────────────────────────────────────────── */
.app-layout[b-cetj1si6y4] {
    display: flex;
    min-height: 100vh;
}

/* ─── Main content ──────────────────────────────────────────────── */
.main-content[b-cetj1si6y4] {
    flex: 1;
    padding: 2rem;
    min-width: 0;
    overflow-x: clip;
    background: var(--cc-bg);
}

/* ─── Top bar (mobile only) ─────────────────────────────────────── */
.topbar[b-cetj1si6y4] {
    display: none;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    height: 56px;
    background: var(--cc-topbar-bg);
    color: var(--cc-text);
    border-bottom: 1px solid var(--cc-topbar-border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
}

.topbar-title[b-cetj1si6y4] {
    font-weight: 600;
    flex: 1;
}

.topbar-account[b-cetj1si6y4] {
    font-size: 0.85rem;
    color: var(--cc-text-muted);
    text-decoration: none;
}

.burger[b-cetj1si6y4] {
    background: none;
    border: none;
    color: var(--cc-text);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* ─── Sidebar overlay (mobile) ──────────────────────────────────── */
.sidebar-overlay[b-cetj1si6y4] {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
}

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .topbar[b-cetj1si6y4] {
        display: flex;
    }

    .sidebar-overlay[b-cetj1si6y4] {
        display: block;
    }

    .main-content[b-cetj1si6y4] {
        padding: 1.25rem;
        margin-top: 56px; /* clear the fixed topbar */
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ezt2nvlkr8],
.components-reconnect-repeated-attempt-visible[b-ezt2nvlkr8],
.components-reconnect-failed-visible[b-ezt2nvlkr8],
.components-pause-visible[b-ezt2nvlkr8],
.components-resume-failed-visible[b-ezt2nvlkr8],
.components-rejoining-animation[b-ezt2nvlkr8] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-ezt2nvlkr8 {
    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/Layout/Sidebar.razor.rz.scp.css */
/* ─── Sidebar container ────────────────────────────────────────── */
.sidebar[b-2babjyg8ly] {
    width: 240px;
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    background: var(--cc-sidebar-bg);
    color: var(--cc-sidebar-text);
    border-right: 1px solid var(--cc-sidebar-border);
    flex-shrink: 0;
    transition: transform 0.25s ease;
    z-index: 100;
}

/* ─── Header ───────────────────────────────────────────────────── */
.sidebar-header[b-2babjyg8ly] {
    padding: 1.5rem 1.25rem 1rem;
    border-bottom: 1px solid var(--cc-sidebar-border);
}

.sidebar-logo[b-2babjyg8ly] {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ─── Nav list ─────────────────────────────────────────────────── */
.sidebar-nav[b-2babjyg8ly] {
    list-style: none;
    padding: 0.75rem 0;
    margin: 0;
    flex: 1;
}

/* ─── Footer ───────────────────────────────────────────────────── */
.sidebar-footer[b-2babjyg8ly] {
    padding: 0.5rem 0;
    border-top: 1px solid var(--cc-sidebar-border);
}

.sidebar-user[b-2babjyg8ly] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--cc-sidebar-text);
    text-decoration: none;
    transition: background 0.2s;
}

.sidebar-user:hover[b-2babjyg8ly] {
    background: var(--cc-sidebar-hover);
}

.footer-link[b-2babjyg8ly],
.logout-btn[b-2babjyg8ly] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1.25rem;
    color: var(--cc-sidebar-text);
    text-decoration: none;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.footer-link:hover[b-2babjyg8ly],
.logout-btn:hover[b-2babjyg8ly] {
    background: var(--cc-sidebar-hover);
}

.nav-icon[b-2babjyg8ly] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 1rem;
    flex-shrink: 0;
}

.nav-label[b-2babjyg8ly] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .sidebar[b-2babjyg8ly] {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        transform: translateX(-100%);
    }

    .sidebar--open[b-2babjyg8ly] {
        transform: translateX(0);
    }
}
/* /Components/Pages/Statistics/Statistics.razor.rz.scp.css */
.stat-card[b-xqpexzxrr1] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value[b-xqpexzxrr1] {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-label[b-xqpexzxrr1] {
    font-size: 0.8rem;
    color: var(--cc-text-muted);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
/* /Components/Pages/UiTest.razor.rz.scp.css */
.swatch[b-i5nezu066w] {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--cc-radius);
    border: 1px solid var(--cc-border);
}

.theme-switcher[b-i5nezu066w] {
    position: sticky;
    top: 0;
    z-index: 100;
}

.theme-switcher-btn[b-i5nezu066w] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.15s;
}

.theme-switcher-btn:hover[b-i5nezu066w] {
    transform: scale(1.15);
}

.theme-switcher-btn.active[b-i5nezu066w] {
    border-color: var(--cc-text);
    transform: scale(1.15);
}
