/* /Components/PartsSearch.razor.rz.scp.css */
/* PartsSearch Component Scoped Styles */

.part-grid .e-rowcell[b-kqi0fj8xpx] {
    background: transparent;
}

/* Base: good for medium screens */
.part-result-container[b-kqi0fj8xpx] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.6rem 0.4rem;
    width: 100%;
}

.part-image-container[b-kqi0fj8xpx] {
    flex-shrink: 0;
    width: 100px;
}

.part-image[b-kqi0fj8xpx] {
    width: 100%;
    height: auto;
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    border-radius: 4px;
}

.part-content[b-kqi0fj8xpx] {
    flex: 1;
    min-width: 0; /* allow wrapping */
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.part-stock-code[b-kqi0fj8xpx] {
    color: #adb5bd;
    font-size: .75rem;
    letter-spacing: .5px;
}

.part-description[b-kqi0fj8xpx] {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.part-metadata[b-kqi0fj8xpx] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .75rem;
}

.part-category[b-kqi0fj8xpx] { color: #ffc107; }
.part-subcategory[b-kqi0fj8xpx] { color: #198754; }
.part-manufacturer[b-kqi0fj8xpx] { color: #f8f9fa; }
.part-separator[b-kqi0fj8xpx] { color: #6c757d; }

/* Narrow screens: stack vertically */
@media (max-width: 575.98px) {
    .part-result-container[b-kqi0fj8xpx] {
        flex-direction: column;
        gap: .75rem;
    }
    .part-image-container[b-kqi0fj8xpx] {
        width: 80px;
    }
    .part-image[b-kqi0fj8xpx] {
        max-width: 180px;
        max-height: 180px;
    }
    .part-description[b-kqi0fj8xpx] {
        font-size: .95rem;
    }
}

/* Large screens: align in grid, tighten description lines */
@media (min-width: 992px) {
    .part-result-container[b-kqi0fj8xpx] {
        display: grid;
        grid-template-columns: 110px 1fr;
        align-items: start;
        gap: 1.25rem;
        padding: .8rem .5rem;
    }

    .part-image-container[b-kqi0fj8xpx] {
        width: 110px;
    }

    .part-image[b-kqi0fj8xpx] {
        max-width: 150px;
        max-height: 150px;
    }

    /* Clamp description lines a bit for denser rows on big screens */
    .part-description[b-kqi0fj8xpx] {
        font-size: 1.05rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 3;     /* show up to 3 lines on large screens */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* Extra large screens: slightly larger content and image */
@media (min-width: 1400px) {
    .part-image[b-kqi0fj8xpx] {
        max-width: 300px;
        max-height: 300px;
    }
    .part-description[b-kqi0fj8xpx] {
        -webkit-line-clamp: 2;     /* fewer lines to keep rows compact */
        font-size: 2.0rem;
    }
}
/* /Pages/Dashboard.razor.rz.scp.css */
/* Ensure chart container takes full width on all devices */
.card-body[b-cvspwu8ryk] {
    width: 100%;
    overflow-x: hidden;
}

/* Ensure Syncfusion chart is responsive */
[b-cvspwu8ryk] .e-chart,
:global(.e-chart)[b-cvspwu8ryk] {
    width: 100% !important;
    max-width: 100%;
}

[b-cvspwu8ryk] .e-chart svg,
:global(.e-chart svg)[b-cvspwu8ryk] {
    width: 100% !important;
    max-width: 100%;
}

/* Mobile-specific chart fixes */
@media (max-width: 768px) {
    .card-body[b-cvspwu8ryk] {
        padding: 0.75rem;
    }
    
    [b-cvspwu8ryk] .e-chart,
    :global(.e-chart)[b-cvspwu8ryk] {
        min-width: 100%;
    }
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-dgvf162c4q] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-dgvf162c4q] {
    flex: 1;
}

.sidebar[b-dgvf162c4q] {
    /* background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%); */
    background-color: rgb(255, 255, 255);
}

.top-row[b-dgvf162c4q] {
    background-color: transparent;
    /* border-bottom: 1px solid #d6d5d5; */
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-dgvf162c4q]  a, .top-row .btn-link[b-dgvf162c4q] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-dgvf162c4q] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-dgvf162c4q] {
        display: none;
    }

    .top-row.auth[b-dgvf162c4q] {
        justify-content: space-between;
    }

    .top-row a[b-dgvf162c4q], .top-row .btn-link[b-dgvf162c4q] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-dgvf162c4q] {
        flex-direction: row;
    }

    .sidebar[b-dgvf162c4q] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-dgvf162c4q] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-dgvf162c4q], article[b-dgvf162c4q] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
/* CSS Cleared to prevent conflicts with new Glassmorphism styles */
