/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-cvim9gmke3] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media (min-width: 641px) {
    .page[b-cvim9gmke3] {
        flex-direction: row;
        align-items: stretch;
    }

    .lm-sidebar[b-cvim9gmke3] {
        width: 200px;
        flex-shrink: 0;
        min-height: 100vh;
        position: sticky;
        top: 0;
        align-self: flex-start;
        background: #f3f4f6;
        border-right: 1px solid rgba(15, 23, 42, 0.06);
        box-shadow: none;
    }

    .lm-main-wrap[b-cvim9gmke3] {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        background: var(--lm-bg, #eef0f4);
    }
}

.lm-main[b-cvim9gmke3] {
    flex: 1;
    padding: 0 1.25rem 1.5rem;
}

@media (min-width: 992px) {
    .lm-main[b-cvim9gmke3] {
        padding-left: 1.75rem;
        padding-right: 1.75rem;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-0yyjowvw5a] {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 浅底侧栏；选中项浅灰圆角条 + 蓝字；分类左右留白、项间距略大 */
.lm-nav[b-0yyjowvw5a] {
    padding: 0.5rem 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lm-nav-header[b-0yyjowvw5a] {
    padding: 0.35rem 1.1rem 0.65rem;
    border-bottom: none;
}

.lm-nav-title-link[b-0yyjowvw5a] {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
    border-radius: 12px;
    padding: 0.35rem 0.4rem;
    margin: 0 -0.4rem;
    transition: background 0.15s ease;
}

.lm-nav-title-link:hover[b-0yyjowvw5a] {
    background: rgba(0, 0, 0, 0.04);
}

.lm-nav-title-link:hover .lm-nav-title[b-0yyjowvw5a] {
    color: #1d4ed8;
}

.lm-nav-brand-row[b-0yyjowvw5a] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.lm-nav-brand-mark[b-0yyjowvw5a] {
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.lm-nav-brand-text[b-0yyjowvw5a] {
    min-width: 0;
}

.lm-nav-title[b-0yyjowvw5a] {
    font-weight: 700;
    font-size: 1.02rem;
    color: #1f2937;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.lm-nav-subtitle[b-0yyjowvw5a] {
    font-size: 0.72rem;
    color: #6b7280;
    margin-top: 0.12rem;
    line-height: 1.35;
    text-decoration: none;
}

.lm-nav-title-link.active .lm-nav-brand-mark[b-0yyjowvw5a] {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 3px 12px rgba(37, 99, 235, 0.45);
}

.lm-nav-title-link.active .lm-nav-title[b-0yyjowvw5a] {
    color: #1d4ed8;
}

.lm-nav-title-link.active .lm-nav-subtitle[b-0yyjowvw5a] {
    color: #64748b;
}

.lm-nav-list[b-0yyjowvw5a] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.15rem 1.15rem 0.4rem;
    box-sizing: border-box;
}

.lm-nav-link[b-0yyjowvw5a] {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
    gap: 0.5rem;
    min-height: 2.35rem;
    padding: 0.48rem 0.65rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
    color: #4b5563 !important;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease;
}

.lm-nav-link:hover[b-0yyjowvw5a] {
    background: rgba(0, 0, 0, 0.04);
    color: #111827 !important;
}

.lm-nav-link:hover .lm-nav-ico[b-0yyjowvw5a] {
    color: #4b5563;
}

.lm-nav-link.active[b-0yyjowvw5a] {
    background: #e5e7eb;
    color: #2563eb !important;
    font-weight: 600;
}

.lm-nav-link.active .lm-nav-ico[b-0yyjowvw5a] {
    color: #2563eb;
}

.lm-nav-ico-col[b-0yyjowvw5a] {
    flex: 0 0 1.65rem;
    width: 1.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lm-nav-ico[b-0yyjowvw5a] {
    flex-shrink: 0;
    font-size: 1.02rem;
    line-height: 1;
    color: #6b7280;
    transition: color 0.15s ease;
}

.lm-nav-label[b-0yyjowvw5a] {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: start;
}

@media (min-width: 641px) {
    .navbar-toggler[b-0yyjowvw5a] {
        display: none;
    }

    .collapse[b-0yyjowvw5a] {
        display: block;
    }

    .nav-scrollable[b-0yyjowvw5a] {
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: thin;
        scrollbar-color: rgba(100, 116, 139, 0.35) transparent;
    }

    .nav-scrollable[b-0yyjowvw5a]::-webkit-scrollbar {
        width: 6px;
    }

    .nav-scrollable[b-0yyjowvw5a]::-webkit-scrollbar-track {
        background: transparent;
    }

    .nav-scrollable[b-0yyjowvw5a]::-webkit-scrollbar-thumb {
        background: rgba(100, 116, 139, 0.28);
        border-radius: 6px;
    }

    .nav-scrollable[b-0yyjowvw5a]::-webkit-scrollbar-thumb:hover {
        background: rgba(100, 116, 139, 0.45);
    }
}
