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

.top-row-left[b-lv1k12gg4o] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

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

.sidebar[b-lv1k12gg4o] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-lv1k12gg4o] {
    background: rgba(255, 252, 246, 0.92);
    border-bottom: 1px solid rgba(143, 90, 18, 0.12);
    justify-content: space-between;
    height: 3.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ledger-top-row[b-lv1k12gg4o] {
    box-shadow: 0 10px 20px rgba(75, 68, 55, 0.05);
}

.top-row-title[b-lv1k12gg4o] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.top-row-title strong[b-lv1k12gg4o] {
    color: #2f2a24;
    font-size: 1rem;
    line-height: 1.1;
}

.top-row-title span[b-lv1k12gg4o] {
    color: #7f7156;
    font-size: 0.8rem;
}

.top-row-status[b-lv1k12gg4o] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.instance-switcher[b-lv1k12gg4o] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.instance-switcher-label[b-lv1k12gg4o] {
    font-size: 0.76rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    color: #7f7156;
}

.instance-select[b-lv1k12gg4o] {
    min-width: 12rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(143, 90, 18, 0.18);
    background: rgba(255, 252, 246, 0.98);
    color: #2f2a24;
    font-size: 0.84rem;
}

.top-row-chip[b-lv1k12gg4o] {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(143, 90, 18, 0.1);
    color: #71460c;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.top-row-chip.muted[b-lv1k12gg4o] {
    background: rgba(92, 81, 61, 0.08);
    color: #6f6657;
}

.sidebar-toggle-button[b-lv1k12gg4o] {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(143, 90, 18, 0.16);
    background: rgba(255, 252, 246, 0.96);
    color: #71460c;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.sidebar-toggle-button:hover[b-lv1k12gg4o] {
    background: rgba(143, 90, 18, 0.08);
}

@media (max-width: 640.98px) {
    .top-row[b-lv1k12gg4o] {
        justify-content: space-between;
        height: auto;
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
        align-items: flex-start;
        flex-direction: column;
    }

    .instance-switcher[b-lv1k12gg4o] {
        width: 100%;
        justify-content: flex-start;
    }

    .instance-select[b-lv1k12gg4o] {
        width: 100%;
        min-width: 0;
    }
}

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

    .sidebar[b-lv1k12gg4o] {
        width: 250px;
        min-width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        transition: width 0.18s ease, min-width 0.18s ease;
    }

    .sidebar.sidebar-collapsed[b-lv1k12gg4o] {
        width: 82px;
        min-width: 82px;
    }

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

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

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

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

.top-row-compact .container-fluid[b-8qp1q2ol02] {
    justify-content: center;
}

.bi[b-8qp1q2ol02] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-8qp1q2ol02] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-8qp1q2ol02] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-8qp1q2ol02] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-grid-1x2-fill-nav-menu[b-8qp1q2ol02] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-grid-1x2-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6 1v14H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h4Zm1 0h7a1 1 0 0 1 1 1v5H7V1Zm8 6v7a1 1 0 0 1-1 1H7V7h8Z'/%3E%3C/svg%3E");
}

.bi-tags-fill-nav-menu[b-8qp1q2ol02] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-tags-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 2a1 1 0 0 0-1 1v4.586a1 1 0 0 0 .293.707l6.414 6.414a1 1 0 0 0 1.414 0l4.172-4.172a1 1 0 0 0 0-1.414L6.879 2.707A1 1 0 0 0 6.172 2H2zm3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0z'/%3E%3Cpath d='M9.586 1.586a2 2 0 0 1 2.828 0l3 3a2 2 0 0 1 0 2.828l-1.586 1.586-4.242-4.242 1.586-1.586z'/%3E%3C/svg%3E");
}

.nav-inline-icon[b-8qp1q2ol02] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    flex: 0 0 auto;
}

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

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

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

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

.nav-link-text[b-8qp1q2ol02] {
    white-space: nowrap;
}

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

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

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

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

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

    .icons-only .nav-item[b-8qp1q2ol02] {
        padding-bottom: 0.35rem;
    }

    .icons-only .nav-item.px-3[b-8qp1q2ol02] {
        padding-left: 0.6rem !important;
        padding-right: 0.6rem !important;
    }

    .icons-only .nav-item[b-8qp1q2ol02]  a {
        justify-content: center;
        padding: 0;
    }

    .icons-only .bi[b-8qp1q2ol02],
    .icons-only .nav-inline-icon[b-8qp1q2ol02] {
        margin-right: 0;
    }

    .icons-only .nav-link-text[b-8qp1q2ol02] {
        display: none;
    }
}
