/* _content/RevotronicsRepairTracker/Shared/MainLayout.razor.rz.scp.css */
.page[b-wi5g9kq3s8] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

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

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

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

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

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-wi5g9kq3s8] {
        display: none;
    }

    .top-row.auth[b-wi5g9kq3s8] {
        justify-content: space-between;
    }

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

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

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

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

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

/* Make the sidebar header transparent (override theme navbar background) */
.top-row.navbar[b-qybf3l170w] {
    height: 3.5rem;
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Brand inherits theme color; no background pill */
.top-row .navbar-brand[b-qybf3l170w] {
    background: transparent !important;
    color: var(--bs-body-color) !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    text-decoration: none;
    padding: 0;
    margin-left: -0.65rem;
}

.top-row .navbar-brand .brand-logo[b-qybf3l170w] {
    height: 32px; /* adjust as needed */
    width: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 640px) {
    .top-row .navbar-brand .brand-logo[b-qybf3l170w] {
        height: 28px;
    }
}

/* Use flex and gap for icon/text alignment, no fixed height/line-height */
.nav-item[b-qybf3l170w] {
    font-size: 0.95rem;
    padding-bottom: 0.5rem;
}

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

/* Anchor spacing */
.nav-item[b-qybf3l170w]  a {
    display: flex;
    align-items: center;
    gap: .625rem;
    border-radius: .5rem;
    padding: .5rem .75rem;
}

/* Subtle active/hover to keep Bootswatch look */
.nav-item[b-qybf3l170w]  a.active { background-color: rgba(255,255,255,.08); }
.nav-item[b-qybf3l170w]  a:hover  { background-color: rgba(255,255,255,.05); }

/* Icon alignment */
.oi[b-qybf3l170w] {
    font-size: 1.05rem;
    line-height: 1;
    vertical-align: middle;
}

@media (min-width: 641px) {
    .navbar-toggler[b-qybf3l170w] { display: none; }
    .collapse[b-qybf3l170w] { display: block; }
    .nav-scrollable[b-qybf3l170w] {
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

.nav-sections[b-qybf3l170w] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: .25rem;
}

.nav-section[b-qybf3l170w] {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.nav-section + .nav-section[b-qybf3l170w] {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1rem;
    margin-top: .25rem;
}

.nav-section-title[b-qybf3l170w] {
    font-size: .70rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .65;
    padding: 0 .95rem;
    user-select: none;
}
/* _content/RevotronicsRepairTracker/Shared/ScannerListener.razor.rz.scp.css */
.scan-toast[b-m1o095iuy2] {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    background: rgba(33,37,41,0.95);
    color: #fff;
    border-radius: .5rem;
    padding: .5rem .75rem;
    box-shadow: 0 .25rem .75rem rgba(0,0,0,.3);
    z-index: 20050;
    max-width: 80vw;
    font-size: .9rem;
}

/* Bootstrap-compatible overlay, always on top */
.scanner-modal[b-m1o095iuy2] {
    position: fixed;
    inset: 0;
    display: block !important;
    background: rgba(0,0,0,.5);
    z-index: 20050; /* higher than any site element */
}

/* Ensure dialog/content stack above overlay */
.scanner-modal .modal-dialog[b-m1o095iuy2] {
    z-index: 20051;
}

/* (Optional) keep previous classes in case of cached markup */
.scanner-modal-backdrop[b-m1o095iuy2] { display: none; }
.scanner-modal-dialog[b-m1o095iuy2] { z-index: 20051; }
