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

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

.sidebar[b-ah7rr8wqmp] {
    background-image: linear-gradient(180deg, #004A33 0%, #003322 100%);
}

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

.user-chip[b-ah7rr8wqmp] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.user-chip-link[b-ah7rr8wqmp] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.user-chip-link:hover[b-ah7rr8wqmp] { text-decoration: underline; }

.user-avatar[b-ah7rr8wqmp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #004A33;
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
}

.user-name[b-ah7rr8wqmp] {
    font-weight: 500;
    color: #333;
}

@media (max-width: 640.98px) {
    .user-name[b-ah7rr8wqmp] { display: none; }
}

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

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

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

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

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

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

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

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

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

    .top-row[b-ah7rr8wqmp], article[b-ah7rr8wqmp] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-xev9u5f6jk] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-xev9u5f6jk] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-xev9u5f6jk] {
    font-size: 1.1rem;
    line-height: 1.2;
}

.brand-sub[b-xev9u5f6jk] {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.85;
}

.nav-icon[b-xev9u5f6jk] {
    display: inline-block;
    width: 1.5rem;
    margin-right: 0.5rem;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1;
}

/* Small muted heading above the anonymous "Useful links" group. */
.nav-section-label[b-xev9u5f6jk] {
    margin-top: 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.6);
}

/* Useful links can have long names. Override the fixed single-line height the
   other nav links use (height/line-height: 3rem) so the text wraps tidily, with
   the icon pinned to the first line. Higher specificity to beat `.nav-item a`. */
.nav-item[b-xev9u5f6jk]  a.useful-link {
    height: auto;
    line-height: 1.3;
    align-items: flex-start;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.useful-link .nav-icon[b-xev9u5f6jk] {
    flex: 0 0 1.5rem;
}

.useful-link-text[b-xev9u5f6jk] {
    overflow-wrap: anywhere;
}

/* Admin group: clickable header + caret pushed to the right */
.admin-toggle[b-xev9u5f6jk] {
    cursor: pointer;
}

.admin-caret[b-xev9u5f6jk] {
    margin-left: auto;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Indent the admin sub-items and make them a touch smaller/dimmer */
.admin-child[b-xev9u5f6jk]  a {
    padding-left: 1.6rem;
    font-size: 0.85rem;
}

.nav-item[b-xev9u5f6jk] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

    .nav-item[b-xev9u5f6jk]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-xev9u5f6jk]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-xev9u5f6jk]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

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

    .collapse[b-xev9u5f6jk] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-xev9u5f6jk] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
