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

main[b-brlyrg4vb8] {
    flex: 1;
}

.sidebar[b-brlyrg4vb8] {
    background-color: #f5f5f5; /* whitesmoke */
    border-right: 1px solid #e3e3e3;
}

.top-row[b-brlyrg4vb8] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

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

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

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

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

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

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

    .sidebar[b-brlyrg4vb8] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

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

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

    .top-row[b-brlyrg4vb8], article[b-brlyrg4vb8] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-5qu3pqnc7j] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: #333;
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid #ddd;
    border-radius: 4px;
}

.navbar-toggler-icon[b-5qu3pqnc7j] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0,0,0,0.6)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.top-row[b-5qu3pqnc7j] {
    min-height: 3.5rem;
    background-color: #ffffff;
    border-bottom: 1px solid #e3e3e3;
}

.navbar-brand[b-5qu3pqnc7j] {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #2b2b2b;
}

/* Top-level links (Home) */
.nav-item[b-5qu3pqnc7j] {
    font-size: 0.92rem;
    padding-bottom: 0.25rem;
}

.nav-item:first-of-type[b-5qu3pqnc7j] { padding-top: 1rem; }

.nav-item[b-5qu3pqnc7j]  a {
    color: #333;
    border-radius: 6px;
    height: 2.6rem;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
}

.nav-item[b-5qu3pqnc7j]  a.active {
    background-color: #ececec;
    color: #111;
    font-weight: 600;
}

.nav-item[b-5qu3pqnc7j]  a:hover {
    background-color: #fafafa; /* slightly off-white on hover */
    color: #111;
}

/* Category groups */
.nav-category[b-5qu3pqnc7j] { padding: 0 0.75rem; }

.nav-category-header[b-5qu3pqnc7j] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    color: #444;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.7rem 0.5rem 0.4rem;
    cursor: pointer;
}

.nav-category-header:hover[b-5qu3pqnc7j] { color: #111; }
.chevron[b-5qu3pqnc7j] { font-size: 0.75rem; color: #999; }

.nav-category-items[b-5qu3pqnc7j] { padding-bottom: 0.4rem; }

.nav-category-items[b-5qu3pqnc7j]  a.nav-tool {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #444;
    font-size: 0.88rem;
    border-radius: 6px;
    height: 2.3rem;
    padding: 0 0.5rem 0 1.1rem;
}

.nav-category-items[b-5qu3pqnc7j]  a.nav-tool:hover {
    background-color: #fafafa; /* slightly off-white on hover */
    color: #111;
}

.nav-category-items[b-5qu3pqnc7j]  a.nav-tool.active {
    background-color: #ececec;
    color: #111;
    font-weight: 600;
}

.nav-hint[b-5qu3pqnc7j] {
    color: #777;
    font-size: 0.85rem;
    padding-top: 1rem;
}

@media (min-width: 641px) {
    .navbar-toggler[b-5qu3pqnc7j] { display: none; }
    .collapse[b-5qu3pqnc7j] { display: block; }
    .nav-scrollable[b-5qu3pqnc7j] {
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
