@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: 5000;
    stroke-dashoffset: 5000;
    animation: dash-draw-b-j18z918ng0 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes dash-draw-b-j18z918ng0 {
    from {
        stroke-dashoffset: 5000;
    }
    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%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* QuickGrid Container Resets */
[b-f6yvc5i0xq] .quick-grid-container {
    flex: 1;
    min-height: 0;
    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;
}

[b-f6yvc5i0xq] .footer-container {
    background-color: #f8fafc;
    border-top: 1px solid #cbd5e1;
    padding: 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;
    flex: 1;
    /* Stretch to fill parent flex container */
    min-height: 0;
    /* Important for flex scrolling */
    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] th.text-right {
    text-align: right !important;
}

[b-zg10ga2gld] th.text-right .col-header-content {
    justify-content: flex-end !important;
}

[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 */
}

/* ── Order Price Analysis Column Widths ── */
[b-zg10ga2gld] .col-sn-an {
    width: 45px;
    min-width: 45px;
    text-align: center;
}

[b-zg10ga2gld] .col-style-an {
    width: 140px;
    min-width: 140px;
}

[b-zg10ga2gld] .col-qty-an {
    width: 60px;
    min-width: 60px;
    text-align: center;
}

[b-zg10ga2gld] .col-guage-an {
    width: 60px;
    min-width: 60px;
    text-align: center;
}

[b-zg10ga2gld] .col-ply-an {
    width: 50px;
    min-width: 50px;
    text-align: center;
}

[b-zg10ga2gld] .col-yarn-an {
    width: 160px;
    min-width: 160px;
}

[b-zg10ga2gld] .col-wt-an {
    width: 70px;
    min-width: 70px;
    text-align: right;
}

[b-zg10ga2gld] .col-overhead-an {
    width: 85px;
    min-width: 85px;
    text-align: right;
}

[b-zg10ga2gld] .col-prod-cost-an {
    width: 95px;
    min-width: 95px;
    text-align: right;
}

[b-zg10ga2gld] .col-total-cost-an {
    width: 105px;
    min-width: 105px;
    text-align: right;
}

[b-zg10ga2gld] .col-s-price-an {
    width: 95px;
    min-width: 95px;
    text-align: right;
}

[b-zg10ga2gld] .col-profit-an {
    width: 105px;
    min-width: 105px;
    text-align: right;
}

/* ── Sticky Grand-Total Footer ── */
[b-zg10ga2gld] .footer-container {
    position: relative;
    z-index: 35;
    background: #f8fafc;
    border-top: 2px solid #e2e8f0;
    /* Slightly thicker to demarcate grid end */
    box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.05);
    flex-shrink: 0;
    /* Don't allow the footer to shrink */
}

[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;
}

.analysis-modal .modal-body[b-zg10ga2gld] {
    background-color: #fff;
}

.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;
}

.col-title-text[b-zg10ga2gld] {
    text-overflow: initial !important;
    overflow: visible !important;
    white-space: nowrap;
}
/* _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%;
    table-layout: fixed;
}

/* 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; }

/* Order View Specific Columns */
.col-sn-ov[b-9ckz2wejjq] { width: 40px; min-width: 40px; text-align: center; }
.col-style-ov[b-9ckz2wejjq] { width: 100px; min-width: 100px; text-align: left; }
.col-product-ov[b-9ckz2wejjq] { width: 150px; min-width: 150px; text-align: left; }
.col-color-ov[b-9ckz2wejjq] { width: 100px; min-width: 100px; text-align: left; }
.col-guage-ov[b-9ckz2wejjq] { width: 60px; min-width: 60px; text-align: center; }
.col-ply-ov[b-9ckz2wejjq] { width: 60px; min-width: 60px; text-align: center; }
.col-yarn-ov[b-9ckz2wejjq] { width: 120px; min-width: 120px; text-align: left; }
.col-size-ov[b-9ckz2wejjq] { width: 60px; min-width: 60px; text-align: center; }
.col-pieces-ov[b-9ckz2wejjq] { width: 80px; min-width: 80px; text-align: center; }
.col-knsl-ov[b-9ckz2wejjq] { width: 80px; min-width: 80px; text-align: center; }
.col-daysreq-ov[b-9ckz2wejjq] { width: 80px; min-width: 80px; text-align: center; }

/* Price Analysis Specific Columns */
.col-sn-an[b-9ckz2wejjq] { width: 40px; min-width: 40px; text-align: center; }
.col-style-an[b-9ckz2wejjq] { width: 150px; min-width: 150px; text-align: left; }
.col-qty-an[b-9ckz2wejjq] { width: 80px; min-width: 80px; text-align: center; }
.col-guage-an[b-9ckz2wejjq] { width: 60px; min-width: 60px; text-align: center; }
.col-ply-an[b-9ckz2wejjq] { width: 60px; min-width: 60px; text-align: center; }
.col-yarn-an[b-9ckz2wejjq] { width: 120px; min-width: 120px; text-align: left; }
.col-wt-an[b-9ckz2wejjq] { width: 80px; min-width: 80px; text-align: right; }
.col-overhead-an[b-9ckz2wejjq] { width: 90px; min-width: 90px; text-align: right; }
.col-prod-cost-an[b-9ckz2wejjq] { width: 90px; min-width: 90px; text-align: right; }
.col-total-cost-an[b-9ckz2wejjq] { width: 100px; min-width: 100px; text-align: right; }
.col-s-price-an[b-9ckz2wejjq] { width: 100px; min-width: 100px; text-align: right; }
.col-profit-an[b-9ckz2wejjq] { width: 100px; min-width: 100px; text-align: right; }

/* 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;
    table-layout: fixed;
}

.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/Pages/RoleManagement.razor.rz.scp.css */
/* =========================================================
   Role Management Page — Zero Trust Admin Panel (Compact)
   ========================================================= */

.rm-container[b-sd08m4ofvp] {
    padding: 0.85rem 1.1rem;
    min-height: 100vh;
    background: #f4f6fa;
    color: #111827;
    font-family: 'Inter', 'DM Sans', sans-serif;
    font-size: 13px;
}

/* Header */
.rm-header[b-sd08m4ofvp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    gap: 0.8rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #1a3353 0%, #2a4a72 100%);
    border-radius: 10px;
    padding: 0.7rem 1.1rem;
    box-shadow: 0 2px 8px rgba(26, 51, 83, 0.18);
}
.rm-header-left[b-sd08m4ofvp] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.rm-shield-icon[b-sd08m4ofvp] {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 9px;
}
.rm-title[b-sd08m4ofvp] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}
.rm-subtitle[b-sd08m4ofvp] {
    margin: 0.1rem 0 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Toast */
.rm-toast[b-sd08m4ofvp] {
    padding: 0.45rem 0.95rem;
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 500;
    animation: rm-slide-in-b-sd08m4ofvp 0.3s ease;
}
.rm-toast-success[b-sd08m4ofvp] { background: rgba(16, 185, 129, 0.15); border: 1px solid #34d399; color: #d1fae5; }
.rm-toast-error[b-sd08m4ofvp]   { background: rgba(239, 68, 68, 0.15);  border: 1px solid #f87171; color: #fee2e2; }
@keyframes rm-slide-in-b-sd08m4ofvp { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Panels */
.rm-panels[b-sd08m4ofvp] {
    display: grid;
    grid-template-columns: 250px 1fr 270px;
    gap: 0.75rem;
    align-items: start;
}
@media (max-width: 1100px) {
    .rm-panels[b-sd08m4ofvp] { grid-template-columns: 1fr; }
}

.rm-panel[b-sd08m4ofvp] {
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}

.rm-panel-header[b-sd08m4ofvp] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.8rem;
    background: #fafbfd;
    border-bottom: 1px solid #eceff4;
}
.rm-panel-icon[b-sd08m4ofvp]  { font-size: 0.95rem; }
.rm-panel-title[b-sd08m4ofvp] { font-weight: 700; font-size: 0.82rem; flex: 1; color: #1a3353; letter-spacing: 0.01em; }
.rm-panel-subtitle[b-sd08m4ofvp] { font-weight: 500; font-size: 0.74rem; color: #2563eb; }

.rm-panel-body[b-sd08m4ofvp] { padding: 0.7rem; max-height: 76vh; overflow-y: auto; }

/* Form */
.rm-form-card[b-sd08m4ofvp] {
    background: #f7f9fc;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    padding: 0.7rem;
    margin-bottom: 0.7rem;
}
.rm-form-row[b-sd08m4ofvp] { margin-bottom: 0.55rem; }
.rm-form-row label[b-sd08m4ofvp] { display: block; font-size: 0.66rem; color: #6b7280; margin-bottom: 0.22rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.rm-input[b-sd08m4ofvp] {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d6dbe4;
    color: #111827;
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.rm-input:focus[b-sd08m4ofvp] { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
.rm-hint[b-sd08m4ofvp] { display: block; font-size: 0.68rem; color: #d97706; margin-top: 0.2rem; }
.rm-form-actions[b-sd08m4ofvp] { display: flex; gap: 0.4rem; margin-top: 0.55rem; }

/* Buttons */
.rm-btn[b-sd08m4ofvp] {
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.rm-btn-primary[b-sd08m4ofvp] { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3); }
.rm-btn-primary:hover[b-sd08m4ofvp] { filter: brightness(1.05); transform: translateY(-1px); }
.rm-btn-success[b-sd08m4ofvp] { background: linear-gradient(135deg, #10b981, #059669); color: #fff; box-shadow: 0 1px 3px rgba(16, 185, 129, 0.3); }
.rm-btn-success:hover[b-sd08m4ofvp] { filter: brightness(1.05); transform: translateY(-1px); }
.rm-btn-danger[b-sd08m4ofvp]  { background: transparent; color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }
.rm-btn-danger:hover[b-sd08m4ofvp]  { background: rgba(239, 68, 68, 0.08); }
.rm-btn-ghost[b-sd08m4ofvp]   { background: transparent; color: #4b5563; border: 1px solid #d6dbe4; }
.rm-btn-ghost:hover[b-sd08m4ofvp]   { background: #f3f4f6; }
.rm-btn-sm[b-sd08m4ofvp]      { padding: 0.28rem 0.6rem; font-size: 0.7rem; }
.rm-btn-icon[b-sd08m4ofvp]    { padding: 0.22rem 0.4rem; font-size: 0.82rem; background: transparent; border-radius: 5px; }
.rm-btn-icon:hover[b-sd08m4ofvp] { background: #eef1f6; }

/* Table */
.rm-table-wrap[b-sd08m4ofvp] { overflow-x: auto; }
.rm-table[b-sd08m4ofvp] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}
.rm-table th[b-sd08m4ofvp] {
    padding: 0.4rem 0.6rem;
    text-align: left;
    background: #f7f9fc;
    color: #6b7280;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    border-bottom: 1px solid #eceff4;
}
.rm-table td[b-sd08m4ofvp] {
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid #f0f2f6;
    vertical-align: middle;
    color: #111827;
}
.rm-table tbody tr[b-sd08m4ofvp] { cursor: pointer; transition: background 0.12s; }
.rm-table tbody tr:hover[b-sd08m4ofvp]  { background: #f5f7fb; }
.rm-row-selected[b-sd08m4ofvp]          { background: rgba(37, 99, 235, 0.07) !important; }
.rm-row-selected td[b-sd08m4ofvp]       { border-color: rgba(37, 99, 235, 0.15); }

.rm-th-center[b-sd08m4ofvp] { text-align: center; }
.rm-actions-cell[b-sd08m4ofvp] { display: flex; gap: 0.2rem; align-items: center; }

/* Permission table specific */
.rm-perm-table .rm-th-center[b-sd08m4ofvp] { width: 72px; }
.rm-perm-help[b-sd08m4ofvp] {
    font-size: 0.68rem;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}
.rm-perm-label[b-sd08m4ofvp] { font-size: 0.72rem; font-weight: 700; }
.rm-view[b-sd08m4ofvp]   { color: #2563eb; }
.rm-edit[b-sd08m4ofvp]   { color: #059669; }
.rm-delete[b-sd08m4ofvp] { color: #dc2626; }
.rm-checkbox[b-sd08m4ofvp] { width: 15px; height: 15px; cursor: pointer; accent-color: #2563eb; }
.rm-page-key[b-sd08m4ofvp]   { font-weight: 600; margin-right: 0.35rem; color: #111827; }
.rm-page-badge[b-sd08m4ofvp] { font-size: 0.62rem; background: #eef1f6; color: #6b7280; padding: 0.1rem 0.35rem; border-radius: 4px; font-family: monospace; }

/* Badges & Indicators */
.rm-badge[b-sd08m4ofvp] { padding: 0.15rem 0.45rem; border-radius: 4px; font-size: 0.66rem; font-weight: 600; }
.rm-badge-admin[b-sd08m4ofvp]      { background: rgba(37, 99, 235, 0.1); color: #1d4ed8; border: 1px solid rgba(37, 99, 235, 0.2); }
.rm-badge-restricted[b-sd08m4ofvp] { background: rgba(217, 119, 6, 0.1); color: #b45309; border: 1px solid rgba(217, 119, 6, 0.2); }
.rm-role-dot[b-sd08m4ofvp] { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 0.45rem; }
.rm-dot-admin[b-sd08m4ofvp]      { background: #2563eb; box-shadow: 0 0 5px rgba(37, 99, 235, 0.4); }
.rm-dot-restricted[b-sd08m4ofvp] { background: #d97706; box-shadow: 0 0 5px rgba(217, 119, 6, 0.4); }
.rm-count[b-sd08m4ofvp] { background: #eef1f6; color: #1f2937; padding: 0.1rem 0.45rem; border-radius: 10px; font-size: 0.7rem; font-weight: 600; }

/* User cards */
.rm-user-list[b-sd08m4ofvp] { display: flex; flex-direction: column; gap: 0.4rem; }
.rm-user-card[b-sd08m4ofvp] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    padding: 0.45rem 0.6rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.rm-user-card:hover[b-sd08m4ofvp] { border-color: rgba(37, 99, 235, 0.35); box-shadow: 0 1px 4px rgba(37, 99, 235, 0.08); }
.rm-user-avatar[b-sd08m4ofvp] {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.8rem; color: #fff;
    flex-shrink: 0;
}
.rm-user-info[b-sd08m4ofvp]  { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.rm-user-name[b-sd08m4ofvp]  { font-weight: 600; font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #111827; }
.rm-user-email[b-sd08m4ofvp] { font-size: 0.68rem; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Assign form (legacy) */
.rm-assign-form[b-sd08m4ofvp] { display: flex; gap: 0.4rem; margin-bottom: 0.6rem; align-items: center; }
.rm-assign-form .rm-input[b-sd08m4ofvp] { flex: 1; }

/* Assign-a-user card */
.rm-assign-card[b-sd08m4ofvp] {
    background: #f7f9fc;
    border: 1px solid #e5e9f0;
    border-radius: 9px;
    padding: 0.7rem 0.75rem;
    margin-bottom: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.rm-assign-title[b-sd08m4ofvp] { font-size: 0.8rem; font-weight: 700; color: #1a3353; }
.rm-field[b-sd08m4ofvp] { display: flex; flex-direction: column; gap: 0.25rem; }
.rm-field > label[b-sd08m4ofvp] { font-size: 0.64rem; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; }
.rm-field-opt[b-sd08m4ofvp] { font-weight: 500; text-transform: none; letter-spacing: 0; color: #9ca3af; }

/* Scope builder row */
.rm-scope-builder[b-sd08m4ofvp] { display: flex; gap: 0.4rem; align-items: stretch; }
.rm-scope-dept[b-sd08m4ofvp] { flex: 0 0 96px; }
.rm-scope-val[b-sd08m4ofvp]  { flex: 1 1 auto; min-width: 0; }
.rm-scope-add[b-sd08m4ofvp]  { flex: 0 0 auto; white-space: nowrap; }

/* Pending scope chips */
.rm-scope-chips[b-sd08m4ofvp] { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.rm-chip[b-sd08m4ofvp] {
    display: inline-flex; align-items: center; gap: 0.35rem;
    background: rgba(42, 179, 177, 0.12);
    border: 1px solid rgba(42, 179, 177, 0.4);
    color: #0f766e;
    border-radius: 20px;
    padding: 0.15rem 0.6rem;
    font-size: 0.72rem; font-weight: 600;
}
.rm-chip-x[b-sd08m4ofvp] { cursor: pointer; color: #ef4444; font-weight: 700; line-height: 1; }
.rm-chip-x:hover[b-sd08m4ofvp] { color: #b91c1c; }

.rm-scope-hint[b-sd08m4ofvp] {
    font-size: 0.7rem; color: #2563eb;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 6px; padding: 0.35rem 0.55rem; line-height: 1.35;
}

.rm-assign-go[b-sd08m4ofvp] { width: 100%; justify-content: center; margin-top: 0.15rem; padding: 0.5rem; }

/* States */
.rm-loading[b-sd08m4ofvp] { padding: 1.5rem; text-align: center; color: #6b7280; font-size: 0.8rem; }
.rm-empty[b-sd08m4ofvp]   { padding: 1.1rem; text-align: center; color: #9ca3af; font-size: 0.78rem; }
.rm-empty-center[b-sd08m4ofvp] { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding: 2rem 1rem; }

/* Scrollbar */
.rm-panel-body[b-sd08m4ofvp]::-webkit-scrollbar { width: 4px; }
.rm-panel-body[b-sd08m4ofvp]::-webkit-scrollbar-track { background: transparent; }
.rm-panel-body[b-sd08m4ofvp]::-webkit-scrollbar-thumb { background: #d6dbe4; border-radius: 4px; }
/* _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;
    }
}
