/* /Components/LanguageSelector.razor.rz.scp.css */
.rf-lang-select[b-ym5ojqfhe5] {
    position: relative;
}

.rf-lang-trigger[b-ym5ojqfhe5] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 2rem;
    padding: 0 0.75rem;
    border: 1px solid var(--rf-border-light);
    border-radius: 4px;
    background: transparent;
    color: var(--rf-text-primary);
    font-size: 0.85rem;
}

    .rf-lang-trigger:hover[b-ym5ojqfhe5],
    .rf-lang-trigger[aria-expanded="True"][b-ym5ojqfhe5] {
        border-color: var(--rf-orange-primary);
    }

.rf-lang-chevron[b-ym5ojqfhe5] {
    display: inline-flex;
    transition: transform 0.15s ease;
}

    .rf-lang-chevron[b-ym5ojqfhe5]  svg {
        width: 0.7rem;
        height: 0.7rem;
    }

    .rf-lang-chevron.open[b-ym5ojqfhe5] {
        transform: rotate(180deg);
    }

.rf-lang-backdrop[b-ym5ojqfhe5] {
    position: fixed;
    inset: 0;
    z-index: 1040;
}

.rf-lang-menu[b-ym5ojqfhe5] {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 1050;
    min-width: 10rem;
    margin: 0;
    padding: 0.25rem 0;
    list-style: none;
    background-color: var(--rf-bg-surface);
    border: 1px solid var(--rf-border-light);
    border-radius: 4px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.rf-lang-option[b-ym5ojqfhe5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    color: var(--rf-text-secondary);
    cursor: pointer;
}

    .rf-lang-option:hover[b-ym5ojqfhe5] {
        background-color: rgba(255, 255, 255, 0.06);
        color: var(--rf-text-primary);
    }

    .rf-lang-option.selected[b-ym5ojqfhe5] {
        color: var(--rf-orange-primary);
        font-weight: 600;
    }
/* /Components/UserMenu.razor.rz.scp.css */
.rf-account[b-041reyhcyg] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rf-account-user[b-041reyhcyg] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    flex: 1;
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
    color: #d7d7d7;
    text-decoration: none;
}

    .rf-account-user:hover[b-041reyhcyg] {
        background-color: rgba(255, 255, 255, 0.08);
        color: white;
    }

.rf-account-avatar[b-041reyhcyg] {
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--rf-orange-primary);
    color: #111;
    font-weight: 700;
    font-size: 0.9rem;
}

.rf-account-name[b-041reyhcyg] {
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rf-account-logout[b-041reyhcyg] {
    flex: 0 0 auto;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--rf-border-light);
    border-radius: 4px;
    background: transparent;
    color: #d7d7d7;
}

    .rf-account-logout:hover[b-041reyhcyg] {
        border-color: var(--rf-orange-primary);
        color: var(--rf-orange-primary);
    }

.rf-account-login[b-041reyhcyg] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 2.5rem;
    border: 1px solid var(--rf-orange-primary);
    border-radius: 4px;
    color: var(--rf-orange-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

    .rf-account-login:hover[b-041reyhcyg] {
        background-color: var(--rf-orange-primary);
        color: #111;
    }

/* Icons inside the account buttons: centered, without the right margin the menu gives to its icons */
.rf-account-logout[b-041reyhcyg]  .rf-nav-icon,
.rf-account-login[b-041reyhcyg]  .rf-nav-icon {
    margin: 0;
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-7udktd19bs] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-7udktd19bs] {
    flex: 1;
}

.sidebar[b-7udktd19bs] {
    background-color: var(--rf-bg-surface);
    background-image: none;
}

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

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

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

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

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

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

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

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

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

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

    .top-row[b-7udktd19bs], article[b-7udktd19bs] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

.rf-github-link[b-7udktd19bs] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--rf-text-secondary);
    font-size: 0.85rem;
}

    .rf-github-link:hover[b-7udktd19bs] {
        color: var(--rf-text-primary);
    }
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-w2mnxsgowy] {
    background-color: rgba(255, 255, 255, 0.1);
}

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

.navbar-brand[b-w2mnxsgowy] {
    font-size: 1.1rem;
}

/* Inline SVG icons (NavIcon): fixed box so every label starts at the same x */
[b-w2mnxsgowy] .rf-nav-icon {
    flex: 0 0 1.1rem;
    width: 1.1rem;
    height: 1.1rem;
    margin-right: 0.75rem;
}

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

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

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

    .nav-item[b-w2mnxsgowy]  a {
        /* Explicit padding: Bootstrap's .nav-link reads it from variables defined only inside .nav */
        padding: 0 1rem;
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

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

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

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

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

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

/* Collapsible "Compendium" section */
.rf-nav-group[b-w2mnxsgowy] {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rf-nav-group-toggle[b-w2mnxsgowy] {
    display: flex;
    align-items: center;
    width: 100%;
    height: 2.5rem;
    padding: 0 1rem;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #9a9a9a;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

    .rf-nav-group-toggle:hover[b-w2mnxsgowy] {
        background-color: rgba(255,255,255,0.06);
        color: #d7d7d7;
    }

.rf-nav-chevron[b-w2mnxsgowy] {
    display: inline-flex;
    transition: transform 0.15s ease;
}

    .rf-nav-chevron[b-w2mnxsgowy]  .rf-nav-icon {
        margin-right: 0;
        width: 0.8rem;
        height: 0.8rem;
    }

    .rf-nav-chevron.open[b-w2mnxsgowy] {
        transform: rotate(180deg);
    }

.rf-nav-group-items[b-w2mnxsgowy] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.25rem 0 1rem 0;
}

    .rf-nav-group-items[b-w2mnxsgowy]  a {
        padding: 0 1rem;
        color: #d7d7d7;
        border-radius: 4px;
        height: 2.5rem;
        display: flex;
        align-items: center;
    }

        .rf-nav-group-items[b-w2mnxsgowy]  a.active {
            background-color: rgba(255,255,255,0.37);
            color: white;
        }

        .rf-nav-group-items[b-w2mnxsgowy]  a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }

/* Sidebar body: navigation on top, account area pushed to the bottom.
   Mobile: Bootstrap hides it while collapsed; desktop: always shown as a flex column */
.rf-sidebar-body[b-w2mnxsgowy] {
    flex-direction: column;
}

    .rf-sidebar-body:not(.collapse)[b-w2mnxsgowy] {
        display: flex;
    }

.rf-nav[b-w2mnxsgowy] {
    flex: 1 0 auto;
}

@media (min-width: 641px) {
    .rf-sidebar-body.collapse[b-w2mnxsgowy] {
        display: flex;
    }
}

/* Anvil emblem next to the brand name */
.rf-brand-icon[b-w2mnxsgowy] {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    box-shadow: 0 0 0 1px rgba(255, 140, 0, 0.35), 0 0 10px rgba(255, 140, 0, 0.25);
}
