/* _content/POSCustomerPortal/Shared/MainLayout.razor.rz.scp.css */
/* Colours only: the shell layout (sidebar width, sticky header, responsive/off-canvas menu)
   lives in POS.Portal.Shared/wwwroot/css/site.css so both portals behave the same. */
.sidebar[b-y0i3ahp09x] {
    background-image: linear-gradient(180deg, var(--sidebar-1) 0%, var(--sidebar-2) 100%);
}

.top-row[b-y0i3ahp09x] {
    background-color: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: inset 0 3px 0 var(--topbar-accent);
    height: 3.5rem;
}

    .top-row[b-y0i3ahp09x]  a, .top-row .btn-link[b-y0i3ahp09x] {
        white-space: nowrap;
    }

@media (min-width: 901px) {
    .top-row[b-y0i3ahp09x], article[b-y0i3ahp09x] {
        padding-inline-start: 2rem !important;
        padding-inline-end: 1.5rem !important;
    }
}
/* _content/POSCustomerPortal/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-wlcci9mt1i] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-wlcci9mt1i] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-wlcci9mt1i] {
    font-size: 1.1rem;
}

.oi[b-wlcci9mt1i] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-wlcci9mt1i] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-wlcci9mt1i] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-wlcci9mt1i] {
        padding-bottom: 1rem;
    }

    .nav-item[b-wlcci9mt1i]  a {
        color: var(--sidebar-ink);
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

/* colours come from the portal theme (theme-customer.css / theme-platform.css) */
.nav-item[b-wlcci9mt1i]  a.active {
    background: linear-gradient(90deg, var(--nav-active-1), var(--nav-active-2));
    box-shadow: inset 3px 0 0 var(--nav-active-bar);
    color: white;
}

.nav-item[b-wlcci9mt1i]  a:hover:not(.active) {
    background: var(--nav-hover);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-wlcci9mt1i] {
        display: none;
    }

    .collapse[b-wlcci9mt1i] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-wlcci9mt1i] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
