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

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

.sidebar[b-s4ap5azvhh] {
    background-color: white;
    border-right: 1px solid var(--bf-gray-200);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.04);
}

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

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

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

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

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

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

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

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

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

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

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

#blazor-error-ui[b-s4ap5azvhh] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-s4ap5azvhh] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/BearFinance/Components/Layout/NavMenu.razor.rz.scp.css */
/* Modern Navigation Styling */

.navbar-toggler[b-dtljhxwiw9] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: var(--bf-gray-700);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid var(--bf-gray-300);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2875, 85, 99, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem white;
    border-radius: var(--bf-radius);
}

.navbar-toggler:checked[b-dtljhxwiw9] {
    background-color: var(--bf-gray-100);
}

.top-row[b-dtljhxwiw9] {
    min-height: 3.5rem;
    background: linear-gradient(135deg, var(--bf-primary) 0%, var(--bf-primary-light) 100%);
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.navbar-brand[b-dtljhxwiw9] {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.navbar-brand:hover[b-dtljhxwiw9] {
    opacity: 0.9;
    color: white;
}

.bi[b-dtljhxwiw9] {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    vertical-align: middle;
}

.nav-item[b-dtljhxwiw9] {
    font-size: 0.9375rem;
    padding: 0.25rem 0;
}

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

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

.nav-item[b-dtljhxwiw9]  .nav-link {
    color: var(--bf-gray-700);
    background: none;
    border: none;
    border-radius: var(--bf-radius);
    height: 2.75rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    margin: 0 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-item[b-dtljhxwiw9]  a.active {
    background-color: var(--bf-primary);
    color: white;
    box-shadow: var(--bf-shadow-sm);
}

.nav-item[b-dtljhxwiw9]  .nav-link:hover {
    background-color: var(--bf-gray-100);
    color: var(--bf-gray-900);
}

.nav-item[b-dtljhxwiw9]  a.active:hover {
    background-color: var(--bf-primary-hover);
    color: white;
}

.nav-scrollable[b-dtljhxwiw9] {
    display: none;
    background-color: white;
}

.navbar-toggler:checked ~ .nav-scrollable[b-dtljhxwiw9] {
    display: block;
}

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

    .nav-scrollable[b-dtljhxwiw9] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }

    /* Custom scrollbar for sidebar */
    .nav-scrollable[b-dtljhxwiw9]::-webkit-scrollbar {
        width: 6px;
    }

    .nav-scrollable[b-dtljhxwiw9]::-webkit-scrollbar-track {
        background: transparent;
    }

    .nav-scrollable[b-dtljhxwiw9]::-webkit-scrollbar-thumb {
        background: var(--bf-gray-300);
        border-radius: 3px;
    }

    .nav-scrollable[b-dtljhxwiw9]::-webkit-scrollbar-thumb:hover {
        background: var(--bf-gray-400);
    }
}
