@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.25o87uqmvr.bundle.scp.css';

/* _content/NkplmErp.Blazor/Components/LineGraph.razor.rz.scp.css */
.line-graph-wrapper[b-j18z918ng0] {
    transition: all 0.3s ease;
}

.preserve-aspect[b-j18z918ng0] {
    overflow: visible !important;
}

.draw-line[b-j18z918ng0] {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash-draw-b-j18z918ng0 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes dash-draw-b-j18z918ng0 {
    from {
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.axis-label[b-j18z918ng0] {
    font-size: 10px;
    font-weight: 700;
    fill: #64748b;
    text-transform: uppercase;
}

.point-group[b-j18z918ng0] {
    cursor: pointer;
}

.point-circle[b-j18z918ng0] {
    transition: all 0.2s ease;
}

.point-group:hover .point-circle[b-j18z918ng0] {
    r: 6;
    stroke-width: 3;
}

.tooltip[b-j18z918ng0] {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.point-group:hover .tooltip[b-j18z918ng0] {
    opacity: 1;
}

.axis-title[b-j18z918ng0] {
    font-size: 9px;
    font-weight: 800;
    fill: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
/* _content/NkplmErp.Blazor/Components/OrderView.razor.rz.scp.css */
.order-view-container[b-f6yvc5i0xq] {
    width: 100%;
}

/* QuickGrid Container Resets */
[b-f6yvc5i0xq] .quick-grid-container {
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 0;
}

[b-f6yvc5i0xq] .quick-grid-container > div.overflow-y-auto {
    flex: 1;
    min-height: 0;
    scrollbar-width: thin;
}

/* QuickGrid specific resets */
[b-f6yvc5i0xq] .quick-grid {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

[b-f6yvc5i0xq] .quick-grid th {
    background-color: #002D54 !important; /* Dark blue matching standard theme */
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    padding: 0.35rem 0.2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 20; /* High enough to stay above data cells */
    text-transform: capitalize;
}

[b-f6yvc5i0xq] .quick-grid td {
    font-size: 11px;
    padding: 0.35rem 0.2rem;
    border-right: 1px solid rgba(203, 213, 225, 0.4);
    border-bottom: 1px solid rgba(203, 213, 225, 0.4);
    vertical-align: middle;
}

/* Column Widths (Shared between Header/Body and Footer) */
[b-f6yvc5i0xq] .col-sn      { width: 3rem   !important; }
[b-f6yvc5i0xq] .col-style   { width: 14rem  !important; }
[b-f6yvc5i0xq] .col-product { width: 12rem  !important; }
[b-f6yvc5i0xq] .col-color   { width: 8rem   !important; }
[b-f6yvc5i0xq] .col-size    { width: 3.5rem !important; }
[b-f6yvc5i0xq] .col-pieces  { width: 4.5rem !important; }
[b-f6yvc5i0xq] .col-guage   { width: 4rem   !important; }
[b-f6yvc5i0xq] .col-ply     { width: 3rem   !important; }
[b-f6yvc5i0xq] .col-yarn    { width: 12rem  !important; }
[b-f6yvc5i0xq] .col-print   { width: 6rem   !important; }
[b-f6yvc5i0xq] .col-knsl    { width: 6rem   !important; }
[b-f6yvc5i0xq] .col-daysreq { width: 5rem   !important; }

[b-f6yvc5i0xq] .truncate-text {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Sticky Footer Definitions */
[b-f6yvc5i0xq] .footer-container {
    background-color: #f8fafc;
    border-top: 2px solid #cbd5e1;
    z-index: 30; /* Higher than header to overlap scrolling content if they meet */
    padding: 0;
    position: sticky;
    bottom: 0;
}

[b-f6yvc5i0xq] .grand-total-table {
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 0 !important;
}

[b-f6yvc5i0xq] .grand-total-table td {
    padding: 0.35rem 0.2rem;
    border-right: 1px solid rgba(203, 213, 225, 0.4);
    font-size: 12px;
    vertical-align: middle;
}

[b-f6yvc5i0xq] .footer-label {
    background-color: #f8fafc;
    /* Calculated width based on leading columns: StyleNo + ProductName + Color + Guage + Ply + Yarn */
    /* 10 + 12 + 8 + 4 + 3 + 12 = 49rem */
    width: 49rem;
}

[b-f6yvc5i0xq] .footer-val-size { 
    font-weight: 800; 
    color: #1e293b; 
    background-color: #f1f5f9; 
}
/* _content/NkplmErp.Blazor/Components/ProductionFlow.razor.rz.scp.css */
/* QuickGrid Container */
[b-zg10ga2gld] .quick-grid-container {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

/* Scrollable body area inside QuickGrid */
[b-zg10ga2gld] .quick-grid-container>div.overflow-y-auto {
    flex: 1;
    min-height: 0;
    scrollbar-width: thin;
    overflow-y: auto;
}

/* QuickGrid table — MUST be fixed so col widths propagate to footer */
[b-zg10ga2gld] .quick-grid {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

/* Sticky header */
[b-zg10ga2gld] .quick-grid thead {
    position: sticky;
    top: 0;
    z-index: 35;
}

/* Header cells */
[b-zg10ga2gld] .quick-grid th {
    position: sticky;
    top: 0;
    z-index: 30;
    background-color: #002D54 !important;
    color: #ffffff !important;
    padding: 0.4rem 0.6rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 0.6rem !important;
    letter-spacing: 0.05em !important;
    border-bottom: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

/* Data cells */
[b-zg10ga2gld] .quick-grid td {
    padding: 0.4rem 0.6rem !important;
    font-size: 0.75rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-right: 1px solid rgba(203, 213, 225, 0.4);
    background-color: white;
    white-space: nowrap;
    vertical-align: middle;
}

[b-zg10ga2gld] .quick-grid tr:hover td {
    background-color: #f8fafc !important;
}

/* ── Column Widths (shared by QuickGrid th AND footer td via class names) ── */
[b-zg10ga2gld] .col-order {
    width: 100px;
    min-width: 100px;
}

[b-zg10ga2gld] .col-style {
    width: 120px;
    min-width: 120px;
}

[b-zg10ga2gld] .col-color {
    width: 100px;
    min-width: 100px;
}

[b-zg10ga2gld] .col-size {
    width: 60px;
    min-width: 60px;
    text-align: center;
}

[b-zg10ga2gld] .col-total {
    width: 80px;
    min-width: 80px;
    text-align: right;
    padding-right: 1.1rem !important;
    /* Matches Tailwind pr-6 */
}

/* ── Sticky Grand-Total Footer ── */
[b-zg10ga2gld] .footer-container {
    position: sticky;
    bottom: 0;
    z-index: 35;
    background: #f8fafc;
    /* Matches .grand-total-table td background */
    box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.05);
}

[b-zg10ga2gld] .grand-total-table {
    width: 100%;
    table-layout: fixed;
    /* mirrors .quick-grid — ensures column alignment */
    border-collapse: separate;
    border-spacing: 0;
    border-top: 2px solid #e2e8f0;
    margin-bottom: 0 !important;
}

[b-zg10ga2gld] .grand-total-table td {
    padding: 0.5rem 0.6rem;
    font-size: 0.75rem;
    background: #f8fafc;
    font-weight: 800;
    border-right: 1px solid rgba(203, 213, 225, 0.4);
    vertical-align: middle;
}

[b-zg10ga2gld] .footer-label {
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: #64748b;
    text-align: right;
    padding-right: 1.5rem !important;
}

[b-zg10ga2gld] .footer-val-size {
    color: #4f46e5;
    text-align: center;
}

[b-zg10ga2gld] .footer-val-total {
    color: #0f172a;
    text-align: right;
    border-left: 1px solid #e2e8f0;
}

/* ── Responsive Timeline Container ── */
.timeline-scroll-container[b-zg10ga2gld] {
    width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    position: relative;
    background: white;
}

/* On Desktop, we prevent horizontal scroll and let the chart scale to fit */
@media (min-width: 1024px) {
    .timeline-scroll-container[b-zg10ga2gld] {
        overflow-x: hidden !important;
    }
}

.timeline-inner[b-zg10ga2gld] {
    min-width: 1300px;
    position: relative;
    height: 400px;
}

@media (min-width: 1024px) {
    .timeline-inner[b-zg10ga2gld] {
        min-width: 100%;
        max-width: 100%;
    }
}

/* Custom Scrollbar for Timeline */
.timeline-scroll-container[b-zg10ga2gld]::-webkit-scrollbar {
    height: 6px;
}

.timeline-scroll-container[b-zg10ga2gld]::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.timeline-scroll-container[b-zg10ga2gld]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}


.timeline-scroll-container[b-zg10ga2gld]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.timeline-scroll-container[b-zg10ga2gld]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.txtblack[b-zg10ga2gld] {
    color: #333 !important;
}
/* _content/NkplmErp.Blazor/Components/Skeleton.razor.rz.scp.css */
.skeleton-base[b-wtlaslcuhj] {
    background-color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

/* Premium shimmer effect */
.skeleton-base[b-wtlaslcuhj]::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer-b-wtlaslcuhj 1.5s infinite linear;
}

@keyframes shimmer-b-wtlaslcuhj {
    0% { transform: translateX(0); }
    100% { transform: translateX(200%); }
}

/* Text Skeleton defaults */
.skeleton-text[b-wtlaslcuhj] {
    border-radius: 0;
    margin-bottom: 0.5rem;
}

/* Circle Skeleton defaults */
.skeleton-circle[b-wtlaslcuhj] {
    border-radius: 0%;
}

/* Rectangle Skeleton defaults */
.skeleton-rectangle[b-wtlaslcuhj] {
    border-radius: 0;
}

/* Table Wrapper defaults */
.skeleton-wrapper[b-wtlaslcuhj] {
    width: 100%;
}

.skeleton-table[b-wtlaslcuhj] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.skeleton-table-header[b-wtlaslcuhj] {
    display: flex;
    gap: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.skeleton-table-header .skeleton-base[b-wtlaslcuhj] {
    height: 1.5rem;
    flex: 1;
    margin-bottom: 0;
}

.skeleton-table-row[b-wtlaslcuhj] {
    display: flex;
    gap: 1rem;
}

.skeleton-table-row .skeleton-base[b-wtlaslcuhj] {
    height: 1rem;
    flex: 1;
    margin-bottom: 0;
}

/* Card Skeleton defaults */
.skeleton-card[b-wtlaslcuhj] {
    border: 1px solid #e2e8f0;
    border-radius: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: white;
}

.skeleton-card-img[b-wtlaslcuhj] {
    height: 150px;
    width: 100%;
}

.skeleton-card-body[b-wtlaslcuhj] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skeleton-card-body .skeleton-base[b-wtlaslcuhj] {
    margin-bottom: 0;
}

/* Profile Skeleton defaults */
.skeleton-profile[b-wtlaslcuhj] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skeleton-profile-avatar[b-wtlaslcuhj] {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.skeleton-profile-info[b-wtlaslcuhj] {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.skeleton-profile-info .skeleton-base[b-wtlaslcuhj] {
    margin-bottom: 0;
}
/* _content/NkplmErp.Blazor/Pages/MainDashboard.razor.rz.scp.css */
.quick-grid-container[b-9ckz2wejjq] {
    max-height: 500px;
    overflow: auto;
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

/* Base table styles for sticky behavior */
.quick-grid-container[b-9ckz2wejjq]  table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

/* Sticky Header Cells - Compact & Dark Blue */
.quick-grid-container[b-9ckz2wejjq]  th {
    position: sticky;
    top: 0;
    z-index: 30;
    background-color: #002D54 !important;
    color: #ffffff !important;
    padding: 0.2rem 0.3rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 0.6rem !important;
    letter-spacing: 0.05em !important;
    border-bottom: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    white-space: nowrap;
}

/* Ensure background stays solid on scroll */
.quick-grid-container[b-9ckz2wejjq]  thead {
    position: sticky;
    top: 0;
    z-index: 35;
}

/* Row hover effects and cell padding - Compact Styles */
.quick-grid-container[b-9ckz2wejjq]  td {
    padding: 0.12rem 0.3rem !important;
    font-size: 0.75rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background-color: white;
    white-space: nowrap;
}

.quick-grid-container[b-9ckz2wejjq]  tr:hover td {
    background-color: #f8fafc !important;
}

/* Column Widths (Alignment) */
.col-sn[b-9ckz2wejjq] { width: 40px; min-width: 40px; text-align: center; }
.col-customer[b-9ckz2wejjq] { width: auto; min-width: 150px; text-align: left; }
.col-totalpo[b-9ckz2wejjq] { width: 70px; min-width: 70px; text-align: center; }
.col-runningpo[b-9ckz2wejjq] { width: 70px; min-width: 70px; text-align: center; }
.col-waitingpo[b-9ckz2wejjq] { width: 70px; min-width: 70px; text-align: center; }
.col-year[b-9ckz2wejjq] { width: 60px; min-width: 60px; text-align: center; }
.col-month[b-9ckz2wejjq] { width: 80px; min-width: 80px; text-align: left; }
.col-knit[b-9ckz2wejjq] { width: 60px; min-width: 60px; text-align: center; }
.col-weave[b-9ckz2wejjq] { width: 60px; min-width: 60px; text-align: center; }
.col-silk[b-9ckz2wejjq] { width: 60px; min-width: 60px; text-align: center; }
.col-linen[b-9ckz2wejjq] { width: 60px; min-width: 60px; text-align: center; }
.col-other[b-9ckz2wejjq] { width: 60px; min-width: 60px; text-align: center; }
.col-noofpos[b-9ckz2wejjq] { width: 80px; min-width: 80px; text-align: center; }
.col-weight[b-9ckz2wejjq] { width: 90px; min-width: 90px; text-align: center; }
.col-qty[b-9ckz2wejjq] { width: 90px; min-width: 90px; text-align: center; }
.col-order-no[b-9ckz2wejjq] { width: 120px; min-width: 120px; text-align: left; }
.col-coll[b-9ckz2wejjq] { width: 60px; min-width: 60px; text-align: center; }
.col-po-no[b-9ckz2wejjq] { width: 100px; min-width: 100px; text-align: left; }
.col-ship-date[b-9ckz2wejjq] { width: 90px; min-width: 90px; text-align: center; }
.col-recv[b-9ckz2wejjq] { width: 70px; min-width: 70px; text-align: center; }
.col-order-pics[b-9ckz2wejjq] { width: 70px; min-width: 70px; text-align: center; }
.col-diff[b-9ckz2wejjq] { width: 70px; min-width: 70px; text-align: center; }

/* Grand Total Footer Styles - Attached and Aligned */
.footer-container[b-9ckz2wejjq] {
    position: sticky;
    bottom: 0;
    z-index: 35;
    background: white;
    box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.05);
}

.grand-total-table[b-9ckz2wejjq] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-top: 2px solid #e2e8f0;
}

.grand-total-table td[b-9ckz2wejjq] {
    padding: 0.2rem 0.3rem !important;
    font-size: 0.75rem;
    background: #f8fafc; /* bg-slate-50 */
    font-weight: 800;
}

.footer-label[b-9ckz2wejjq] {
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: #64748b; /* text-slate-500 */
    text-align: right;
    padding-right: 0.6rem !important;
}

.footer-val[b-9ckz2wejjq] {
    color: #0f172a; /* text-slate-900 */
    text-align: center;
}

/* Pagination Footer Styles */
.pagination-footer[b-9ckz2wejjq] {
    position: sticky;
    bottom: 0;
    z-index: 35;
    background: white;
    box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.05);
    border-top: 2px solid #e2e8f0;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: flex-end; /* Align right */
    align-items: center;
}

/* Optional target for Blazor's default paginator to make it more compact/styled */
.pagination-footer[b-9ckz2wejjq]  nav {
    margin: 0;
    font-size: 0.75rem; 
}
.pagination-footer[b-9ckz2wejjq]  nav button {
    padding: 0.2rem 0.6rem;
    margin-left: 0.25rem;
    border-radius: 0.25rem;
}
/* _content/NkplmErp.Blazor/Shared/MainLayout.razor.rz.scp.css */
.page[b-pcy2o6b983] {
    height: 100vh;
    overflow: hidden;
}

main[b-pcy2o6b983] {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    background-color: #f9fafb;
}

article[b-pcy2o6b983] {
    flex: 1;
}
/* _content/NkplmErp.Blazor/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-5f5g7kki1n] {
    background-color: rgba(249, 246, 246, 0.1);
}

.top-row[b-5f5g7kki1n] {
    height: 3.5rem;
    background-color: rgba(243, 236, 236, 0.4);
}

.navbar-brand[b-5f5g7kki1n] {
    font-size: 1.1rem;
}

.oi[b-5f5g7kki1n] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-5f5g7kki1n] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-5f5g7kki1n] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-5f5g7kki1n] {
        padding-bottom: 1rem;
    }

    .nav-item[b-5f5g7kki1n]  a,
    .nav-item[b-5f5g7kki1n]  button {
        color: #f1eded;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-5f5g7kki1n]  a.active,
.nav-item[b-5f5g7kki1n]  button.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-5f5g7kki1n]  a:hover,
.nav-item[b-5f5g7kki1n]  button:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-5f5g7kki1n] {
        display: none;
    }

    .collapse[b-5f5g7kki1n] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-5f5g7kki1n] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
