@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.bundle.scp.css';

/* _content/OPWebApp/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ufb139y7as] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-ufb139y7as] {
    flex: 1;
    background: var(--op-bg);
}

.sidebar[b-ufb139y7as] {
    background: var(--op-sidebar-bg);
}

.top-row[b-ufb139y7as] {
    background-color: var(--op-surface);
    border-bottom: 1px solid var(--op-border);
    justify-content: flex-end;
    height: 3.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
}

.user-chip[b-ufb139y7as] {
    color: var(--op-text-muted);
    font-size: 0.85rem;
}

.btn-link-plain[b-ufb139y7as] {
    background: none;
    border: none;
    color: var(--op-accent);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
}

    .btn-link-plain:hover[b-ufb139y7as] {
        text-decoration: underline;
    }

    .top-row[b-ufb139y7as]  a {
        white-space: nowrap;
        text-decoration: none;
        color: var(--op-accent);
        font-size: 0.85rem;
    }

    .top-row[b-ufb139y7as]  a:hover {
        text-decoration: underline;
    }

@media (min-width: 641px) {
    .page[b-ufb139y7as] {
        flex-direction: row;
    }

    .sidebar[b-ufb139y7as] {
        width: 240px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ufb139y7as] {
        position: sticky;
        top: 0;
        z-index: 1;
    }
}

#blazor-error-ui[b-ufb139y7as] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-ufb139y7as] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/OPWebApp/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-dytakr2zl0] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-dytakr2zl0] {
    background-color: rgba(255, 255, 255, 0.5);
}

.brand-row[b-dytakr2zl0] {
    height: 3.25rem;
    display: flex;
    align-items: center;
    padding: 0 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand[b-dytakr2zl0] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #fff;
}

    .brand:hover[b-dytakr2zl0] {
        text-decoration: none;
        color: #fff;
    }

.brand-mark[b-dytakr2zl0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 7px;
    background: var(--op-accent, #4f46e5);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.brand-name[b-dytakr2zl0] {
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-item[b-dytakr2zl0] {
    font-size: 0.88rem;
    padding: 0.1rem 0.7rem;
}

    .nav-item:first-of-type[b-dytakr2zl0] {
        padding-top: 0.9rem;
    }

    .nav-icon[b-dytakr2zl0] {
        display: inline-flex;
        width: 1.3rem;
        margin-right: 0.6rem;
        justify-content: center;
        opacity: 0.85;
    }

    .nav-item[b-dytakr2zl0]  .nav-link {
        color: var(--op-sidebar-text, #cbd0dc);
        background: none;
        border: none;
        border-radius: 8px;
        height: 2.6rem;
        display: flex;
        align-items: center;
        padding: 0 0.75rem;
        width: 100%;
        font-weight: 500;
    }

.nav-item[b-dytakr2zl0]  a.active {
    background-color: var(--op-sidebar-active, #1f2233);
    color: #fff;
}

.nav-item[b-dytakr2zl0]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.nav-scrollable[b-dytakr2zl0] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-dytakr2zl0] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-dytakr2zl0] {
        display: none;
    }

    .nav-scrollable[b-dytakr2zl0] {
        display: block;
        height: calc(100vh - 3.25rem);
        overflow-y: auto;
    }
}
