/* /Components/Layout/MainLayout.razor.rz.scp.css */
.layout-wrapper[b-29a5rbkuno] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content[b-29a5rbkuno] {
    flex: 1;
    background: #f0f4ff;
}

.content[b-29a5rbkuno] {
    padding: 0;
    margin: 0;
}

#blazor-error-ui[b-29a5rbkuno] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-29a5rbkuno] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Navbar ───────────────────────────────────────────────── */
.topnav[b-7i9wpo5e0a] {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(120deg,
        #1246c8 0%,
        #0e7fc4 35%,
        #0aaeaa 65%,
        #06d4a8 100%);
    box-shadow:
        0 4px 24px rgba(18, 70, 200, 0.45),
        0 1px 0 rgba(255,255,255,0.12) inset;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* 3D depth line at top */
.topnav[b-7i9wpo5e0a]::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(56,232,197,0.6) 30%,
        rgba(100,200,255,0.8) 60%,
        transparent 100%);
}

.topnav-inner[b-7i9wpo5e0a] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 60px;
    display: flex;
    align-items: center;
}

/* ── Brand ────────────────────────────────────────────────── */
.brand[b-7i9wpo5e0a] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    padding: 0.28rem 0.75rem 0.28rem 0.4rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 1px 0 rgba(255,255,255,0.08) inset;
    transition: all 0.22s ease;
}

.brand:hover[b-7i9wpo5e0a] {
    background: rgba(255,255,255,0.18);
    border-color: rgba(56,232,197,0.4);
    box-shadow: 0 4px 14px rgba(6,201,176,0.22), 0 1px 0 rgba(255,255,255,0.12) inset;
    transform: translateY(-1px);
}

.brand-icon[b-7i9wpo5e0a] {
    font-size: 1rem;
    filter: drop-shadow(0 0 6px rgba(56,232,197,0.7));
}

.brand-text[b-7i9wpo5e0a] {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

/* ── Right side ───────────────────────────────────────────── */
.nav-right[b-7i9wpo5e0a] {
    margin-left: auto;
    display: flex;
    align-items: center;
}

/* ── Glass button ─────────────────────────────────────────── */
.glass-btn[b-7i9wpo5e0a] {
    padding: 0.38rem 1.1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 1px 0 rgba(255,255,255,0.1) inset;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.glass-btn:hover[b-7i9wpo5e0a] {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.45);
    box-shadow: 0 4px 16px rgba(6,201,176,0.25), 0 1px 0 rgba(255,255,255,0.15) inset;
    transform: translateY(-1px);
    color: #ffffff;
}

.glass-btn:active[b-7i9wpo5e0a] {
    transform: translateY(0);
}

/* ── Nav items ────────────────────────────────────────────── */
.nav-items[b-7i9wpo5e0a] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 1rem;
}

/* ── Dropdown wrapper ─────────────────────────────────────── */
.dd-wrapper[b-7i9wpo5e0a] {
    position: relative;
}

/* Transparent overlay to catch outside clicks */
.dd-overlay[b-7i9wpo5e0a] {
    position: fixed;
    inset: 0;
    z-index: 1999;
    background: transparent;
    cursor: default;
}

.dropdown-trigger[b-7i9wpo5e0a] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.chevron[b-7i9wpo5e0a] {
    width: 13px;
    height: 13px;
    transition: transform 0.22s ease;
    opacity: 0.8;
}

.chevron.rotated[b-7i9wpo5e0a] {
    transform: rotate(180deg);
}

/* ── Dropdown menu ────────────────────────────────────────── */
.dd-menu[b-7i9wpo5e0a] {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 260px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.95);
    border-radius: 14px;
    padding: 0.5rem;
    box-shadow:
        0 20px 50px rgba(10, 42, 110, 0.18),
        0 4px 16px rgba(10, 42, 110, 0.10),
        0 1px 0 rgba(255,255,255,1) inset;
    z-index: 2000;
    animation: ddFadeIn-b-7i9wpo5e0a 0.18s ease forwards;
}

@keyframes ddFadeIn-b-7i9wpo5e0a {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Dropdown item ────────────────────────────────────────── */
.dd-item[b-7i9wpo5e0a] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: #1a2a5e;
    border: 1px solid transparent;
    transition: all 0.18s ease;
}

.dd-item:hover[b-7i9wpo5e0a] {
    background: linear-gradient(135deg, rgba(10, 62, 138, 0.08), rgba(11, 110, 138, 0.10));
    border-color: rgba(10, 110, 138, 0.18);
    color: #0a3d7a;
    transform: translateX(3px);
    box-shadow: 0 2px 10px rgba(10, 62, 138, 0.08);
}

.item-icon[b-7i9wpo5e0a] {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.item-title[b-7i9wpo5e0a] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0d2b6e;
    letter-spacing: 0.2px;
}

.item-sub[b-7i9wpo5e0a] {
    font-size: 0.78rem;
    color: rgba(10, 42, 110, 0.5);
    margin-top: 2px;
}

/* ── Right actions ───────────────────────────────────────── */
.nav-right-actions[b-7i9wpo5e0a] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-user-badge[b-7i9wpo5e0a] {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 0.2rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3px;
}

.logout-btn[b-7i9wpo5e0a] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    opacity: 0.85;
}

.logout-btn:hover[b-7i9wpo5e0a] {
    opacity: 1;
    background: rgba(255,50,50,0.2);
    border-color: rgba(255,100,100,0.4);
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
.dashboard-page[b-9qnlp9y5km] {
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    font-family: 'Segoe UI', sans-serif;
}

.dash-welcome[b-9qnlp9y5km] {
    font-size: 1.1rem;
    color: #3a4a6b;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(18,70,200,0.06) 0%, rgba(6,201,176,0.06) 100%);
    border: 1px solid rgba(18,70,200,0.1);
    border-radius: 12px;
}
/* /Components/Pages/Inventory/StockLedger.razor.rz.scp.css */
/* ── Page ─────────────────────────────────────────────── */
.sl-page[b-7iaw5yzcf5] {
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    font-family: 'Segoe UI', sans-serif;
}

/* ── Header ───────────────────────────────────────────── */
.sl-header[b-7iaw5yzcf5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.sl-title[b-7iaw5yzcf5] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sl-title-icon[b-7iaw5yzcf5] {
    font-size: 2rem;
}

.sl-title h4[b-7iaw5yzcf5] {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0d2b6e;
}

.sl-subtitle[b-7iaw5yzcf5] {
    font-size: 0.8rem;
    color: #6b7a99;
}

/* ── Actions ──────────────────────────────────────────── */
.sl-actions[b-7iaw5yzcf5] {
    display: flex;
    gap: 0.5rem;
}

.sl-btn[b-7iaw5yzcf5] {
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.18s ease;
}

.sl-btn-outline[b-7iaw5yzcf5] {
    background: transparent;
    border: 1.5px solid #1246c8;
    color: #1246c8;
}

.sl-btn-outline:hover[b-7iaw5yzcf5] {
    background: #1246c8;
    color: #fff;
}

.sl-btn-ghost[b-7iaw5yzcf5] {
    background: #f3f4f6;
    border: 1.5px solid #e5e7eb;
    color: #374151;
}

.sl-btn-ghost:hover[b-7iaw5yzcf5] {
    background: #e5e7eb;
}

.sl-btn:disabled[b-7iaw5yzcf5] {
    opacity: .5;
    cursor: not-allowed;
}

/* ── Filters ──────────────────────────────────────────── */
.sl-filters[b-7iaw5yzcf5] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.sl-search-wrap[b-7iaw5yzcf5] {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.sl-search-icon[b-7iaw5yzcf5] {
    position: absolute;
    left: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    pointer-events: none;
}

.sl-search[b-7iaw5yzcf5] {
    width: 100%;
    padding: 0.42rem 0.75rem 0.42rem 2rem;
    border: 1.5px solid #d0d8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.18s;
}

.sl-search:focus[b-7iaw5yzcf5] {
    border-color: #1246c8;
}

.sl-select[b-7iaw5yzcf5] {
    padding: 0.42rem 0.75rem;
    border: 1.5px solid #d0d8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    outline: none;
    background: #fff;
    cursor: pointer;
}

.sl-check-label[b-7iaw5yzcf5] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #3a4a6b;
    cursor: pointer;
    white-space: nowrap;
}

.sl-stats[b-7iaw5yzcf5] {
    display: flex;
    gap: 0.75rem;
    margin-left: auto;
}

.sl-stat[b-7iaw5yzcf5] {
    font-size: 0.82rem;
    color: #6b7a99;
}

.sl-stat-warn b[b-7iaw5yzcf5] {
    color: #e07b00;
}

/* ── Table ────────────────────────────────────────────── */
.sl-table-wrap[b-7iaw5yzcf5] {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e0e8f5;
    box-shadow: 0 2px 12px rgba(18, 70, 200, 0.06);
}

.sl-table[b-7iaw5yzcf5] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.sl-table thead tr[b-7iaw5yzcf5] {
    background: linear-gradient(120deg, #1246c8 0%, #0e7fc4 100%);
    color: #fff;
}

.sl-table thead th[b-7iaw5yzcf5] {
    padding: 0.7rem 1rem;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-align: left;
}

.sl-table tbody tr[b-7iaw5yzcf5] {
    border-bottom: 1px solid #eef2fb;
    transition: background 0.15s;
}

.sl-table tbody tr:last-child[b-7iaw5yzcf5] {
    border-bottom: none;
}

.sl-row[b-7iaw5yzcf5] {
    cursor: pointer;
}

.sl-row:hover[b-7iaw5yzcf5] {
    background: #f0f5ff;
}

.sl-row-low[b-7iaw5yzcf5] {
    background: #fff8f0;
}

.sl-row-low:hover[b-7iaw5yzcf5] {
    background: #fff0e0;
}

.sl-row-out[b-7iaw5yzcf5] {
    background: #fff0f0;
}

.sl-row-out:hover[b-7iaw5yzcf5] {
    background: #ffe0e0;
}

.sl-table td[b-7iaw5yzcf5] {
    padding: 0.65rem 1rem;
    color: #1a2a5e;
    vertical-align: middle;
}

.sl-name[b-7iaw5yzcf5] {
    font-weight: 600;
}

.sl-generic[b-7iaw5yzcf5] {
    color: #6b7a99;
    font-size: 0.82rem;
}

.sl-qty[b-7iaw5yzcf5] {
    font-size: 0.95rem;
}

.sl-zone-badge[b-7iaw5yzcf5] {
    background: #e8f0fe;
    color: #1246c8;
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.sl-batch-count[b-7iaw5yzcf5] {
    background: #f0f4ff;
    color: #3a4a6b;
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* ── Status badges ────────────────────────────────────── */
.sl-status[b-7iaw5yzcf5] {
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.sl-status-ok[b-7iaw5yzcf5] {
    background: #e6f9f0;
    color: #1a7a4a;
}

.sl-status-low[b-7iaw5yzcf5] {
    background: #fff3e0;
    color: #b85c00;
}

.sl-status-out[b-7iaw5yzcf5] {
    background: #fce8e8;
    color: #b00020;
}

.sl-status-expiring[b-7iaw5yzcf5] {
    background: #fff8e1;
    color: #7a5800;
}

.sl-status-locked[b-7iaw5yzcf5] {
    background: #fce8e8;
    color: #b00020;
    cursor: help;
}

/* ── Loading / Empty ──────────────────────────────────── */
.sl-loading[b-7iaw5yzcf5] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 3rem;
    justify-content: center;
    color: #6b7a99;
}

.sl-spinner[b-7iaw5yzcf5] {
    width: 22px;
    height: 22px;
    border: 3px solid #d0d8f0;
    border-top-color: #1246c8;
    border-radius: 50%;
    animation: spin-b-7iaw5yzcf5 0.7s linear infinite;
}

@keyframes spin-b-7iaw5yzcf5 {
    to { transform: rotate(360deg); }
}

.sl-empty[b-7iaw5yzcf5] {
    text-align: center;
    padding: 3rem;
    color: #9aa5c0;
    font-size: 0.9rem;
}

/* ── Modal ────────────────────────────────────────────── */
.sl-modal-backdrop[b-7iaw5yzcf5] {
    position: fixed;
    inset: 0;
    background: rgba(10, 30, 80, 0.45);
    backdrop-filter: blur(4px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.sl-modal[b-7iaw5yzcf5] {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 860px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(10, 30, 80, 0.22);
    animation: modalIn-b-7iaw5yzcf5 0.2s ease;
}

@keyframes modalIn-b-7iaw5yzcf5 {
    from { opacity: 0; transform: scale(0.96) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.sl-modal-header[b-7iaw5yzcf5] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid #eef2fb;
}

.sl-modal-header h5[b-7iaw5yzcf5] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d2b6e;
}

.sl-modal-sub[b-7iaw5yzcf5] {
    font-size: 0.8rem;
    color: #6b7a99;
}

.sl-modal-close[b-7iaw5yzcf5] {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: #9aa5c0;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    transition: all 0.15s;
}

.sl-modal-close:hover[b-7iaw5yzcf5] {
    background: #f0f4ff;
    color: #1246c8;
}

.sl-modal-body[b-7iaw5yzcf5] {
    overflow-y: auto;
    padding: 1rem 1.5rem 1.5rem;
}

.sl-batch-table[b-7iaw5yzcf5] {
    font-size: 0.83rem;
}

.sl-batch-table thead tr[b-7iaw5yzcf5] {
    background: linear-gradient(120deg, #2d3a6e 0%, #1246c8 100%);
    color: #fff;
}

.sl-batch-table thead th[b-7iaw5yzcf5] {
    color: #fff;
}

/* Override any global h4/h5 styles inside modal */
.sl-modal-header h5[b-7iaw5yzcf5] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d2b6e !important;
    background: none !important;
    -webkit-text-fill-color: #0d2b6e !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

/* ── Search Dropdown ──────────────────────────────────── */
.sl-search-wrap[b-7iaw5yzcf5] {
    position: relative;
}

.sl-search-dropdown[b-7iaw5yzcf5] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #d0d8f0;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(18, 70, 200, 0.13);
    z-index: 500;
    max-height: 320px;
    overflow-y: auto;
}

.sl-search-item[b-7iaw5yzcf5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f4ff;
    transition: background 0.12s;
}

.sl-search-item:last-child[b-7iaw5yzcf5] {
    border-bottom: none;
}

.sl-search-item:hover[b-7iaw5yzcf5],
.sl-search-item-active[b-7iaw5yzcf5] {
    background: #f0f5ff;
}

.sl-si-left[b-7iaw5yzcf5] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sl-si-name[b-7iaw5yzcf5] {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0d2b6e;
}

.sl-si-generic[b-7iaw5yzcf5] {
    font-size: 0.76rem;
    color: #8a96b8;
}

.sl-si-right[b-7iaw5yzcf5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sl-si-qty[b-7iaw5yzcf5] {
    font-size: 0.82rem;
    font-weight: 600;
}

.sl-si-ok[b-7iaw5yzcf5]    { color: #1a7a4a; }
.sl-si-low[b-7iaw5yzcf5]   { color: #b85c00; }
.sl-si-out[b-7iaw5yzcf5]   { color: #b00020; }

.sl-si-badge[b-7iaw5yzcf5] {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 20px;
}

.sl-si-badge-low[b-7iaw5yzcf5] { background: #fff3e0; color: #b85c00; }
.sl-si-badge-out[b-7iaw5yzcf5] { background: #fce8e8; color: #b00020; }

/* ── Highlighted row ──────────────────────────────────── */
.sl-row-highlight[b-7iaw5yzcf5] {
    background: #e8f0fe !important;
    outline: 2px solid #1246c8;
    outline-offset: -2px;
}

/* ── Search drop overlay (catches outside clicks) ────── */
.sl-drop-overlay[b-7iaw5yzcf5] {
    position: fixed;
    inset: 0;
    z-index: 499;
    background: transparent;
}

.sl-search-dropdown[b-7iaw5yzcf5] {
    z-index: 500;
}

.text-danger[b-7iaw5yzcf5] {
    color: #c0392b !important;
    font-weight: 600;
}

/* Fix global brand-text style bleeding into modal h5 */
.sl-modal h5[b-7iaw5yzcf5],
.sl-modal h4[b-7iaw5yzcf5] {
    font-family: 'Segoe UI', sans-serif !important;
    color: #0d2b6e !important;
    background: none !important;
    -webkit-text-fill-color: #0d2b6e !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    font-size: inherit;
}
/* /Components/Pages/PurchaseStockIn.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Purchase Stock In — Premium UI
═══════════════════════════════════════════════════════════ */

.grn-page[b-ue575c05y5] {
    background: #eef1f8;
    min-height: calc(100vh - 62px);
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ── Title bar ────────────────────────────────────────────── */
.page-titlebar[b-ue575c05y5] {
    background: #ffffff;
    padding: 0.85rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0e8f5;
    box-shadow: 0 2px 12px rgba(18,70,200,0.06);
}

.page-title[b-ue575c05y5] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0a1f6e;
    letter-spacing: 0.2px;
}

.title-icon[b-ue575c05y5] {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1246c8 0%, #0aaeaa 100%);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(18,70,200,0.3);
    flex-shrink: 0;
}

.grn-badge[b-ue575c05y5] {
    background: linear-gradient(135deg, #eef4ff 0%, #e0f7f5 100%);
    border: 1.5px solid #b8d0f0;
    color: #1246c8;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    letter-spacing: 1.4px;
    box-shadow: 0 2px 6px rgba(18,70,200,0.1);
}

/* ── Cards ────────────────────────────────────────────────── */
.grn-header-card[b-ue575c05y5],
.action-bar[b-ue575c05y5],
.grid-card[b-ue575c05y5] {
    background: #ffffff;
    margin: 1rem 1.5rem 0;
    border-radius: 12px;
    border: 1px solid #e0e8f5;
    box-shadow:
        0 4px 20px rgba(18,70,200,0.07),
        0 1px 4px rgba(0,0,0,0.04);
    position: relative;
    overflow: visible;
}

/* top accent line on cards */
.grn-header-card[b-ue575c05y5]::before,
.action-bar[b-ue575c05y5]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1246c8 0%, #0e7fc4 50%, #06d4a8 100%);
    border-radius: 12px 12px 0 0;
}

.grn-header-card[b-ue575c05y5] { padding: 1.25rem 1.5rem 1.4rem; }

/* ── Header grid ──────────────────────────────────────────── */
.grn-header-grid[b-ue575c05y5] {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr 1fr 1fr 1.2fr;
    gap: 1.1rem;
    align-items: end;
}

/* ── Field group ──────────────────────────────────────────── */
.field-group[b-ue575c05y5] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.field-label[b-ue575c05y5] {
    font-size: 0.76rem;
    font-weight: 800;
    color: #7a8aaa;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.field-input[b-ue575c05y5] {
    height: 42px;
    padding: 0 0.85rem;
    font-size: 1rem;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-weight: 500;
    color: #1a2a4a;
    background: #f7f9fd;
    border: 1.5px solid #1246c8;
    border-radius: 8px;
    outline: none;
    transition: all 0.16s ease;
    width: 100%;
    box-shadow: 0 0 0 3px rgba(18,70,200,0.07), 0 1px 3px rgba(18,70,200,0.04) inset;
}

.field-input:hover[b-ue575c05y5] {
    border-color: #0e3de8;
    background: #fafcff;
    box-shadow: 0 0 0 4px rgba(18,70,200,0.12);
}

.field-input:focus[b-ue575c05y5] {
    border-color: #0a2fd4;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(18,70,200,0.18);
}

.field-input.grn-no[b-ue575c05y5] {
    background: linear-gradient(135deg, #eef4ff, #e0f7f5);
    color: #1246c8;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-color: #b8d0f0;
    cursor: default;
    font-size: 0.78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

select.field-input[b-ue575c05y5] { cursor: pointer; }

/* ── Action bar ───────────────────────────────────────────── */
.action-bar[b-ue575c05y5] {
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.action-left[b-ue575c05y5],
.action-right[b-ue575c05y5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ── Button base ──────────────────────────────────────────── */
.btn-csv[b-ue575c05y5],
.btn-add-row[b-ue575c05y5],
.btn-draft[b-ue575c05y5],
.btn-post[b-ue575c05y5] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 1.25rem;
    height: 42px;
    font-size: 0.92rem;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    letter-spacing: 0.2px;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

/* shimmer sweep */
.btn-csv[b-ue575c05y5]::after,
.btn-post[b-ue575c05y5]::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    transition: left 0.45s ease;
    pointer-events: none;
}
.btn-csv:hover[b-ue575c05y5]::after,
.btn-post:hover[b-ue575c05y5]::after { left: 160%; }

/* CSV — deep blue */
.btn-csv[b-ue575c05y5] {
    background: linear-gradient(135deg, #1246c8 0%, #0e7fc4 100%);
    color: #fff;
    box-shadow: 0 3px 14px rgba(18,70,200,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
    user-select: none;
}
.btn-csv:hover[b-ue575c05y5] {
    background: linear-gradient(135deg, #1555e8, #1090d8);
    box-shadow: 0 6px 20px rgba(18,70,200,0.45);
    transform: translateY(-2px);
}

/* Add Item — teal/cyan gradient */
.btn-add-row[b-ue575c05y5] {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    color: #fff;
    border: none;
    box-shadow: 0 3px 14px rgba(8,145,178,0.38), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-add-row:hover[b-ue575c05y5] {
    background: linear-gradient(135deg, #0e9fc4, #10cce8);
    box-shadow: 0 6px 20px rgba(8,145,178,0.48);
    transform: translateY(-2px);
}

/* Draft — indigo/violet */
.btn-draft[b-ue575c05y5] {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    box-shadow: 0 3px 14px rgba(79,70,229,0.38), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-draft:hover[b-ue575c05y5] {
    background: linear-gradient(135deg, #5b52f5, #8b48ff);
    box-shadow: 0 6px 20px rgba(79,70,229,0.48);
    transform: translateY(-2px);
}

/* Post GRN — green */
.btn-post[b-ue575c05y5] {
    background: linear-gradient(135deg, #0f7a3a 0%, #18b050 100%);
    color: #fff;
    padding: 0 1.6rem;
    box-shadow: 0 3px 14px rgba(15,122,58,0.38), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-post:hover[b-ue575c05y5] {
    background: linear-gradient(135deg, #128a42, #1ec85a);
    box-shadow: 0 6px 20px rgba(15,122,58,0.48);
    transform: translateY(-2px);
}

.btn-csv:active[b-ue575c05y5],
.btn-add-row:active[b-ue575c05y5],
.btn-draft:active[b-ue575c05y5],
.btn-post:active[b-ue575c05y5] {
    transform: translateY(0) !important;
    box-shadow: none !important;
}

/* ── Validation banner ────────────────────────────────────── */
.validation-banner[b-ue575c05y5] {
    margin: 0.75rem 1.5rem 0;
    background: #fff5f5;
    border: 1.5px solid #f5c0c0;
    border-left: 4px solid #d03030;
    border-radius: 10px;
    padding: 0.8rem 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    box-shadow: 0 2px 10px rgba(208,48,48,0.08);
}

.val-icon[b-ue575c05y5] { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

.val-messages[b-ue575c05y5] {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    color: #a02020;
    line-height: 1.7;
}

.val-close[b-ue575c05y5] {
    background: none;
    border: none;
    color: #a02020;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 700;
    padding: 0 0.2rem;
}

/* ── Grid card ────────────────────────────────────────────── */
.grid-card[b-ue575c05y5] {
    margin: 0.75rem 1.5rem 0;
    border-radius: 12px;
}

.grid-wrapper[b-ue575c05y5] { overflow-x: auto; }

/* ── Entry table ──────────────────────────────────────────── */
.entry-table[b-ue575c05y5] {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.entry-table thead tr[b-ue575c05y5] {
    background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fb 100%);
    border-bottom: 2px solid #d4e0f5;
}

.entry-table th[b-ue575c05y5] {
    padding: 0.75rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: #3a4a6a;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    white-space: nowrap;
    text-align: left;
}

.entry-table th.col-qty[b-ue575c05y5],
.entry-table th.col-rate[b-ue575c05y5],
.entry-table th.col-mrp[b-ue575c05y5],
.entry-table th.col-disc[b-ue575c05y5],
.entry-table th.col-gst[b-ue575c05y5],
.entry-table th.col-amount[b-ue575c05y5] { text-align: right; }

.col-no[b-ue575c05y5]      { width: 38px; }
.col-product[b-ue575c05y5] { min-width: 200px; }
.col-batch[b-ue575c05y5]   { width: 110px; }
.col-expiry[b-ue575c05y5]  { width: 68px; }
.col-hsn[b-ue575c05y5]     { width: 80px; }
.col-pack[b-ue575c05y5]    { width: 72px; }
.col-qty[b-ue575c05y5]     { width: 100px; }
.col-free[b-ue575c05y5]    { width: 90px; }
.col-rate[b-ue575c05y5]    { width: 92px; }
.col-mrp[b-ue575c05y5]     { width: 92px; }
.col-disc[b-ue575c05y5]    { width: 72px; }
.col-gst[b-ue575c05y5]     { width: 72px; }
.col-amount[b-ue575c05y5]  { width: 105px; }
.col-del[b-ue575c05y5]     { width: 38px; }

/* ── Entry row ────────────────────────────────────────────── */
.entry-row[b-ue575c05y5] {
    border-bottom: 1px solid #edf2fb;
    transition: background 0.12s;
}
.entry-row:hover[b-ue575c05y5] { background: #f5f8ff; }

.entry-row td[b-ue575c05y5] { padding: 0.32rem 0.45rem; vertical-align: middle; }

.td-no[b-ue575c05y5] {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #9aaac8;
}

.td-amount[b-ue575c05y5] {
    text-align: right;
    font-weight: 800;
    font-size: 0.97rem;
    color: #1246c8;
    padding-right: 0.75rem;
}

/* ── Cell input ───────────────────────────────────────────── */
.cell-input[b-ue575c05y5] {
    width: 100%;
    height: 36px;
    padding: 0 0.5rem;
    font-size: 0.93rem;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-weight: 500;
    color: #1a2a4a;
    background: transparent;
    border: 1.5px solid #c8d8f0;
    border-radius: 6px;
    outline: none;
    transition: all 0.14s ease;
}
.cell-input:hover[b-ue575c05y5] {
    background: #f0f5ff;
    border-color: #1246c8;
    box-shadow: 0 0 0 2px rgba(18,70,200,0.1);
}
.cell-input:focus[b-ue575c05y5] {
    background: #fff;
    border-color: #1246c8;
    box-shadow: 0 0 0 3px rgba(18,70,200,0.15);
}

/* numeric/financial cells — green border */
.cell-num[b-ue575c05y5] {
    text-align: right;
    border-color: #22c55e;
    background: #f0fff5;
}
.cell-num:hover[b-ue575c05y5] {
    border-color: #16a34a;
    background: #e8fff0;
    box-shadow: 0 0 0 2px rgba(22,163,74,0.12);
}
.cell-num:focus[b-ue575c05y5] {
    border-color: #15803d;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(22,163,74,0.18);
}

/* ── Row states ───────────────────────────────────────────── */
.row-expired[b-ue575c05y5]      { background: #fff0f0 !important; }
.row-near-expiry[b-ue575c05y5]  { background: #fffbf0 !important; }
.row-duplicate[b-ue575c05y5]    { background: #fff8e8 !important; }

/* ── Cell states ──────────────────────────────────────────── */
.cell-error[b-ue575c05y5] { border-color: #d03030 !important; background: #fff5f5 !important; }
.cell-warn[b-ue575c05y5]  { border-color: #e08000 !important; background: #fffbf0 !important; }

.cell-hint[b-ue575c05y5] {
    font-size: 0.68rem;
    font-weight: 700;
    margin-top: 2px;
    letter-spacing: 0.3px;
}
.cell-hint.error[b-ue575c05y5] { color: #d03030; }
.cell-hint.warn[b-ue575c05y5]  { color: #c07000; }

/* ── Delete button ────────────────────────────────────────── */
.btn-del[b-ue575c05y5] {
    width: 28px; height: 28px;
    border-radius: 6px;
    border: 1px solid #f0c0c0;
    background: #fff5f5;
    color: #d03030;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    margin: auto;
}
.btn-del:hover[b-ue575c05y5] { background: #d03030; color: #fff; border-color: #d03030; }

/* ── Empty row ────────────────────────────────────────────── */
.empty-row[b-ue575c05y5] {
    text-align: center;
    padding: 3rem !important;
    color: #9aaac8;
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
}

/* ── Grid totals ──────────────────────────────────────────── */
.grid-totals[b-ue575c05y5] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-top: 2px solid #e4eaf8;
    background: linear-gradient(135deg, #f5f8ff 0%, #eef5fb 100%);
    padding: 0.65rem 1.1rem;
    border-radius: 0 0 12px 12px;
}

.total-item[b-ue575c05y5] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 1.3rem;
    border-right: 1px solid #d8e4f5;
}
.total-item:last-child[b-ue575c05y5] { border-right: none; }

.total-label[b-ue575c05y5] {
    font-size: 0.74rem;
    font-weight: 800;
    color: #7a8aaa;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.total-value[b-ue575c05y5] {
    font-size: 1.04rem;
    font-weight: 800;
    color: #1a2a4a;
    margin-top: 1px;
}

.total-net .total-value.net[b-ue575c05y5] {
    font-size: 1.16rem;
    color: #0f7a3a;
}

/* ── Sticky footer ────────────────────────────────────────── */
.bottom-footer[b-ue575c05y5] {
    position: sticky;
    bottom: 0;
    z-index: 100;
    background: #ffffff;
    border-top: 2px solid #e0e8f5;
    box-shadow: 0 -6px 24px rgba(18,70,200,0.09);
    padding: 0.8rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.footer-notes[b-ue575c05y5] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.notes-icon[b-ue575c05y5] { font-size: 1rem; }

.notes-input[b-ue575c05y5] {
    flex: 1;
    height: 38px;
    padding: 0 0.85rem;
    font-size: 0.88rem;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-weight: 500;
    color: #1a2a4a;
    background: #f7f9fd;
    border: 1.5px solid #1246c8;
    border-radius: 8px;
    outline: none;
    transition: all 0.15s;
    box-shadow: 0 0 0 3px rgba(18,70,200,0.07);
}
.notes-input:focus[b-ue575c05y5] {
    border-color: #0a2fd4;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(18,70,200,0.18);
}

.footer-summary[b-ue575c05y5] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 1.5rem;
    border-left: 1px solid #e0e8f5;
    border-right: 1px solid #e0e8f5;
}

.footer-net-label[b-ue575c05y5] {
    font-size: 0.74rem;
    font-weight: 800;
    color: #7a8aaa;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.footer-net-value[b-ue575c05y5] {
    font-size: 1.38rem;
    font-weight: 800;
    color: #0f7a3a;
    letter-spacing: -0.3px;
}

.footer-actions[b-ue575c05y5] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* ── Toast ────────────────────────────────────────────────── */
.toast-success[b-ue575c05y5] {
    position: fixed;
    bottom: 90px;
    right: 1.75rem;
    background: linear-gradient(135deg, #0f7a3a, #18b050);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 8px 28px rgba(15,122,58,0.38);
    z-index: 9999;
    animation: toastIn-b-ue575c05y5 0.25s ease;
}

@keyframes toastIn-b-ue575c05y5 {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── CSV Modal ────────────────────────────────────────────── */
.modal-overlay[b-ue575c05y5] {
    position: fixed;
    inset: 0;
    background: rgba(10,20,60,0.45);
    backdrop-filter: blur(5px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-box[b-ue575c05y5] {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 28px 70px rgba(10,42,110,0.28);
    width: 100%;
    max-width: 840px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e0e8f5;
}

.modal-header[b-ue575c05y5] {
    padding: 1rem 1.3rem;
    background: linear-gradient(135deg, #f0f5ff, #e8f0fb);
    border-bottom: 1px solid #dde8f8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.94rem;
    font-weight: 800;
    color: #0a2a6e;
}

.modal-body[b-ue575c05y5] { overflow-y: auto; flex: 1; padding: 0.6rem; }

.modal-footer[b-ue575c05y5] {
    padding: 0.8rem 1.3rem;
    border-top: 1px solid #dde8f8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
    background: #fafcff;
}

.csv-summary[b-ue575c05y5] {
    flex: 1;
    font-size: 0.84rem;
    font-weight: 600;
    color: #4a5a78;
}

/* ── Preview table ────────────────────────────────────────── */
.preview-table[b-ue575c05y5] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.preview-table th[b-ue575c05y5] {
    background: linear-gradient(135deg, #f0f5ff, #e8f0fb);
    padding: 0.55rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: #3a4a6a;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 2px solid #dde8f8;
}

.preview-table td[b-ue575c05y5] {
    padding: 0.48rem 0.75rem;
    border-bottom: 1px solid #edf2fb;
    font-weight: 500;
}

.csv-row-ok[b-ue575c05y5]    { background: #f0fff5; }
.csv-row-error[b-ue575c05y5] { background: #fff5f5; color: #a02020; }

/* ── Supplier search dropdown ─────────────────────────────── */
.supplier-search-wrap[b-ue575c05y5] {
    position: relative;
}

.supplier-drop[b-ue575c05y5] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1.5px solid #dce6f5;
    border-radius: 10px;
    box-shadow: 0 12px 36px rgba(18,70,200,0.14), 0 2px 8px rgba(0,0,0,0.06);
    z-index: 3000;
    overflow: hidden;
    animation: ddFadeIn-b-ue575c05y5 0.16s ease;
}

@keyframes ddFadeIn-b-ue575c05y5 {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.supplier-drop-item[b-ue575c05y5] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.9rem;
    cursor: pointer;
    transition: background 0.12s;
    border-bottom: 1px solid #f0f4fb;
}

.supplier-drop-item:last-child[b-ue575c05y5] { border-bottom: none; }

.supplier-drop-item:hover[b-ue575c05y5] {
    background: linear-gradient(135deg, #f0f5ff, #eef8f5);
}

.sup-drop-code[b-ue575c05y5] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #8a9ab8;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    min-width: 70px;
}

.sup-drop-name[b-ue575c05y5] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0a2a6e;
    flex: 1;
}

.sup-drop-outstanding[b-ue575c05y5] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #c07000;
    background: #fff8e8;
    border: 1px solid #f0d080;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    flex-shrink: 0;
}

.supplier-drop-empty[b-ue575c05y5] {
    padding: 0.75rem 0.9rem;
    font-size: 0.85rem;
    color: #9aaac8;
    font-style: italic;
    text-align: center;
}

/* ── Product search dropdown ──────────────────────────────── */
.prod-search-wrap[b-ue575c05y5] { position: relative; }

.prod-drop[b-ue575c05y5] {
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    min-width: 280px;
    background: #ffffff;
    border: 1.5px solid #dce6f5;
    border-radius: 10px;
    box-shadow: 0 12px 36px rgba(18,70,200,0.14);
    z-index: 3000;
    overflow: hidden;
    animation: ddFadeIn-b-ue575c05y5 0.15s ease;
}

.prod-drop-item[b-ue575c05y5] {
    padding: 0.55rem 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f4fb;
    transition: background 0.12s;
}
.prod-drop-item:last-child[b-ue575c05y5] { border-bottom: none; }
.prod-drop-item:hover[b-ue575c05y5] { background: linear-gradient(135deg, #f0f5ff, #eef8f5); }

.prod-drop-name[b-ue575c05y5] {
    font-size: 0.86rem;
    font-weight: 700;
    color: #0a2a6e;
}

.prod-drop-meta[b-ue575c05y5] {
    display: flex;
    gap: 0.6rem;
    margin-top: 2px;
    font-size: 0.74rem;
    color: #7a8aaa;
    font-weight: 500;
}

.prod-drop-rate[b-ue575c05y5] {
    color: #0f7a3a;
    font-weight: 700;
}

.prod-drop-stock[b-ue575c05y5] { font-weight: 600; }
.prod-drop-stock.low[b-ue575c05y5] { color: #d03030; font-weight: 700; }

/* Clear All — orange/amber */
.btn-clear[b-ue575c05y5] {
    background: linear-gradient(135deg, #e05a00 0%, #f07820 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 3px 12px rgba(224,90,0,0.35) !important;
}
.btn-clear:hover[b-ue575c05y5] {
    background: linear-gradient(135deg, #f06010, #f89030) !important;
    box-shadow: 0 5px 18px rgba(224,90,0,0.45) !important;
    transform: translateY(-2px) !important;
}
.entry-table th.col-free[b-ue575c05y5] { color: #0f7a3a; }
.cell-free[b-ue575c05y5] {
    color: #0f7a3a !important;
    font-weight: 700 !important;
    border-color: #16a34a !important;
    background: #e8fff0 !important;
}
.cell-free:focus[b-ue575c05y5] {
    border-color: #15803d !important;
    box-shadow: 0 0 0 3px rgba(22,163,74,0.18) !important;
}

/* ── Print modal ──────────────────────────────────────────── */
.print-modal[b-ue575c05y5] { max-width: 900px; }

.grn-print-area[b-ue575c05y5] {
    padding: 1.5rem;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #1a2a4a;
}

.print-header[b-ue575c05y5] {
    text-align: center;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #1246c8;
}

.print-company[b-ue575c05y5] {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0a1f6e;
    letter-spacing: 0.5px;
}

.print-title[b-ue575c05y5] {
    font-size: 0.88rem;
    font-weight: 600;
    color: #6b7a99;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.print-meta[b-ue575c05y5] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem 1.5rem;
    margin-bottom: 1.2rem;
    background: #f7f9fd;
    border: 1px solid #e0e8f5;
    border-radius: 8px;
    padding: 0.85rem 1rem;
}

.print-meta-row[b-ue575c05y5] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.print-meta-row span[b-ue575c05y5] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #7a8aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.print-meta-row strong[b-ue575c05y5] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0a1f6e;
}

.print-table[b-ue575c05y5] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.print-table th[b-ue575c05y5] {
    background: #0a1f6e;
    color: #ffffff;
    padding: 0.45rem 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-align: left;
}

.print-table td[b-ue575c05y5] {
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid #e8eef8;
    font-size: 0.8rem;
    font-weight: 500;
}

.print-table tr:nth-child(even) td[b-ue575c05y5] { background: #f7f9fd; }

.print-total-row td[b-ue575c05y5] {
    background: #eef4ff !important;
    font-weight: 700;
    border-top: 2px solid #1246c8;
}

.print-footer[b-ue575c05y5] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 0.75rem;
    border-top: 1px solid #e0e8f5;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1a2a4a;
}

.print-sig[b-ue575c05y5] {
    font-size: 0.78rem;
    color: #7a8aaa;
    border-top: 1px solid #9aaac8;
    padding-top: 0.3rem;
    min-width: 160px;
    text-align: center;
}

/* ── Print media query ────────────────────────────────────── */
@media print {
    .print-hide[b-ue575c05y5] { display: none !important; }
    .modal-overlay[b-ue575c05y5] { position: static !important; background: none !important; }
    .modal-box[b-ue575c05y5] { box-shadow: none !important; border: none !important; max-width: 100% !important; }
    .modal-header[b-ue575c05y5] { display: none !important; }
    .grn-print-area[b-ue575c05y5] { padding: 0 !important; }
    body > *[b-ue575c05y5] { display: none !important; }
    .grn-print-area[b-ue575c05y5] { display: block !important; }
}

/* ── Supplier info bar ────────────────────────────────────── */
.supplier-info-bar[b-ue575c05y5] {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 1rem;
    padding: 0.65rem 1rem;
    background: #f0f5ff;
    border: 1px solid #d8e8f8;
    border-radius: 8px;
    flex-wrap: wrap;
}

.supplier-info-bar.has-outstanding[b-ue575c05y5] {
    background: #fffbf0;
    border-color: #f0d080;
}

.sup-info-item[b-ue575c05y5] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 1.2rem;
    border-right: 1px solid #d8e8f8;
}

.sup-info-item:first-child[b-ue575c05y5] { padding-left: 0; }
.sup-info-item:last-child[b-ue575c05y5]  { border-right: none; }

.sup-info-label[b-ue575c05y5] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #7a8aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sup-info-val[b-ue575c05y5] {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a2a4a;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.val-due[b-ue575c05y5]  { color: #c07000; }
.val-clear[b-ue575c05y5] { color: #0f7a3a; }

.due-badge[b-ue575c05y5] {
    font-size: 0.65rem;
    font-weight: 800;
    background: #fff0c0;
    color: #a06000;
    border: 1px solid #e0c060;
    padding: 0.1rem 0.45rem;
    border-radius: 10px;
    letter-spacing: 0.3px;
}

.clear-badge[b-ue575c05y5] {
    font-size: 0.65rem;
    font-weight: 800;
    background: #e8fff0;
    color: #0f7a3a;
    border: 1px solid #80d0a0;
    padding: 0.1rem 0.45rem;
    border-radius: 10px;
    letter-spacing: 0.3px;
}

/* ── Rate history tooltip ─────────────────────────────────── */
.rate-wrap[b-ue575c05y5] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 3px;
}

.rate-history-tooltip[b-ue575c05y5] {
    position: relative;
    flex-shrink: 0;
}

.history-icon[b-ue575c05y5] {
    font-size: 0.75rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.15s;
}

.history-icon:hover[b-ue575c05y5] { opacity: 1; }

.history-popup[b-ue575c05y5] {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1.5px solid #dce6f5;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(18,70,200,0.15);
    padding: 0.6rem;
    z-index: 4000;
}

.rate-history-tooltip:hover .history-popup[b-ue575c05y5] { display: block; }

.history-title[b-ue575c05y5] {
    font-size: 0.68rem;
    font-weight: 800;
    color: #7a8aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #edf2fb;
}

.history-row[b-ue575c05y5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid #f0f4fb;
    font-size: 0.8rem;
}

.history-row:last-child[b-ue575c05y5] { border-bottom: none; }

.history-date[b-ue575c05y5] { color: #7a8aaa; font-weight: 500; flex: 1; }
.history-rate[b-ue575c05y5] { color: #0f7a3a; font-weight: 800; }
.history-grn[b-ue575c05y5]  { color: #9aaac8; font-size: 0.72rem; font-family: monospace; }

/* ── Scan button ──────────────────────────────────────────── */
.btn-scan[b-ue575c05y5] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 1rem;
    height: 42px;
    font-size: 0.92rem;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: #fff;
    border: none;
    box-shadow: 0 3px 14px rgba(217,119,6,0.38), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: all 0.18s ease;
}

.btn-scan:hover[b-ue575c05y5] {
    background: linear-gradient(135deg, #e88010, #faa820);
    box-shadow: 0 6px 20px rgba(217,119,6,0.48);
    transform: translateY(-2px);
}

.btn-scan.scan-active[b-ue575c05y5] {
    background: linear-gradient(135deg, #0f7a3a, #18b050);
    color: #ffffff;
    border: none;
    box-shadow: 0 3px 12px rgba(15,122,58,0.35);
    animation: scanPulse-b-ue575c05y5 1.5s ease-in-out infinite;
}

@keyframes scanPulse-b-ue575c05y5 {
    0%, 100% { box-shadow: 0 3px 12px rgba(15,122,58,0.35); }
    50%       { box-shadow: 0 3px 20px rgba(15,122,58,0.6); }
}

/* ── Scan bar ─────────────────────────────────────────────── */
.scan-bar[b-ue575c05y5] {
    margin: 0.6rem 1.5rem 0;
    background: linear-gradient(135deg, #e8fff0, #f0fff8);
    border: 1.5px solid #80d0a0;
    border-radius: 10px;
    padding: 0.65rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 10px rgba(15,122,58,0.1);
}

.scan-icon[b-ue575c05y5] { font-size: 1.1rem; }

.scan-label[b-ue575c05y5] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f7a3a;
    flex: 1;
}

.scan-input[b-ue575c05y5] {
    height: 36px;
    padding: 0 0.75rem;
    font-size: 0.88rem;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-weight: 500;
    color: #1a2a4a;
    background: #ffffff;
    border: 1.5px solid #1246c8;
    border-radius: 7px;
    outline: none;
    width: 220px;
    transition: all 0.15s;
    box-shadow: 0 0 0 3px rgba(18,70,200,0.08);
}

.scan-input:focus[b-ue575c05y5] {
    border-color: #0a2fd4;
    box-shadow: 0 0 0 4px rgba(18,70,200,0.18);
}

.scan-msg[b-ue575c05y5] {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
}

.scan-msg-ok[b-ue575c05y5]    { background: #e8fff0; color: #0f7a3a; }
.scan-msg-error[b-ue575c05y5] { background: #fff5f5; color: #d03030; }

/* ── Draft badge ──────────────────────────────────────────── */
.draft-badge[b-ue575c05y5] {
    background: linear-gradient(135deg, #fff8e8, #fff3d0);
    border: 1.5px solid #f0c840;
    color: #a06000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.28rem 0.9rem;
    border-radius: 20px;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: all 0.18s;
    animation: draftPulse-b-ue575c05y5 2s ease-in-out infinite;
}

.draft-badge:hover[b-ue575c05y5] {
    background: linear-gradient(135deg, #fff0c0, #ffe8a0);
    border-color: #d0a000;
}

@keyframes draftPulse-b-ue575c05y5 {
    0%, 100% { box-shadow: 0 0 0 0 rgba(240,200,64,0.4); }
    50%       { box-shadow: 0 0 0 6px rgba(240,200,64,0); }
}

/* ── Attach invoice ───────────────────────────────────────── */
.footer-attach[b-ue575c05y5] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.btn-attach[b-ue575c05y5] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 1rem;
    height: 38px;
    font-size: 0.88rem;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-weight: 700;
    border-radius: 7px;
    cursor: pointer;
    background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
    color: #fff;
    border: none;
    box-shadow: 0 3px 12px rgba(8,145,178,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: all 0.18s ease;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    user-select: none;
}

.btn-attach:hover[b-ue575c05y5] {
    background: linear-gradient(135deg, #1090a8, #10a8cc);
    box-shadow: 0 5px 18px rgba(8,145,178,0.45);
    transform: translateY(-2px);
}

.btn-attach-remove[b-ue575c05y5] {
    width: 24px; height: 24px;
    border-radius: 50%;
    border: none;
    background: #fff0f0;
    color: #d03030;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
}

.btn-attach-remove:hover[b-ue575c05y5] { background: #d03030; color: #fff; }

.attach-preview[b-ue575c05y5] {
    height: 36px;
    width: 36px;
    object-fit: cover;
    border-radius: 5px;
    border: 1.5px solid #d0daf0;
    cursor: pointer;
}

/* ── Shortcut hints ───────────────────────────────────────── */
.shortcut-hints[b-ue575c05y5] {
    display: flex;
    gap: 0.4rem;
    margin-left: auto;
}

.shortcut-hints span[b-ue575c05y5] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #7a8aaa;
    background: #f0f4fb;
    border: 1px solid #d8e4f5;
    padding: 0.18rem 0.55rem;
    border-radius: 5px;
    letter-spacing: 0.3px;
}

.prod-drop-gst[b-ue575c05y5] {
    color: #1246c8;
    font-weight: 700;
    font-size: 0.72rem;
    background: #eef4ff;
    padding: 0.1rem 0.4rem;
    border-radius: 8px;
}

.col-zone[b-ue575c05y5] { width: 85px; }

.cell-zone-select[b-ue575c05y5] {
    font-size: 0.78rem;
    padding: 0 0.3rem;
}

/* ── Expiry compact ───────────────────────────────────────── */
.expiry-wrap[b-ue575c05y5] {
    display: flex;
    align-items: center;
    gap: 3px;
}

.cell-expiry-input[b-ue575c05y5] {
    width: 52px !important;
    font-size: 0.78rem !important;
    padding: 0 0.3rem !important;
    text-align: center;
}

.expiry-icon[b-ue575c05y5] {
    font-size: 0.85rem;
    flex-shrink: 0;
    cursor: default;
    line-height: 1;
}

.exp-ok[b-ue575c05y5]   { opacity: 0.7; }
.exp-warn[b-ue575c05y5] { animation: warnPulse-b-ue575c05y5 1.8s ease-in-out infinite; }
.exp-bad[b-ue575c05y5]  { animation: warnPulse-b-ue575c05y5 0.9s ease-in-out infinite; }

@keyframes warnPulse-b-ue575c05y5 {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}
/* /Components/Pages/SupplierRegister.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Supplier Register — Premium UI
═══════════════════════════════════════════════════════════ */

.sup-page[b-gxdvs93d9r] {
    background: #eef1f8;
    min-height: calc(100vh - 62px);
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ── Title bar ────────────────────────────────────────────── */
.page-titlebar[b-gxdvs93d9r] {
    background: #ffffff;
    padding: 0.85rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0e8f5;
    box-shadow: 0 2px 12px rgba(18,70,200,0.06);
}

.page-title[b-gxdvs93d9r] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 800;
    color: #0a1f6e;
    letter-spacing: 0.2px;
}

.title-icon[b-gxdvs93d9r] {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1246c8 0%, #0aaeaa 100%);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(18,70,200,0.3);
    flex-shrink: 0;
}

/* ── Shared card base ─────────────────────────────────────── */
.sup-form-card[b-gxdvs93d9r],
.sup-table-card[b-gxdvs93d9r] {
    background: #ffffff;
    margin: 1rem 1.5rem 0;
    border-radius: 12px;
    border: 1px solid #e0e8f5;
    box-shadow: 0 4px 20px rgba(18,70,200,0.07), 0 1px 4px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.sup-form-card[b-gxdvs93d9r]::before,
.sup-table-card[b-gxdvs93d9r]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1246c8 0%, #0e7fc4 50%, #06d4a8 100%);
    border-radius: 12px 12px 0 0;
}

/* ── Form card ────────────────────────────────────────────── */
.sup-form-card[b-gxdvs93d9r] { padding: 1.25rem 1.5rem 1.4rem; }

.sup-form-title[b-gxdvs93d9r] {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0a2a6e;
    margin-bottom: 1.1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #edf2fb;
}

.sup-form-grid[b-gxdvs93d9r] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.sup-form-address[b-gxdvs93d9r] { grid-column: span 2; }

.sup-form-actions[b-gxdvs93d9r] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.1rem;
    padding-top: 0.85rem;
    border-top: 1px solid #edf2fb;
}

/* ── Field group ──────────────────────────────────────────── */
.field-group[b-gxdvs93d9r] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.field-label[b-gxdvs93d9r] {
    font-size: 0.68rem;
    font-weight: 800;
    color: #7a8aaa;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.field-input[b-gxdvs93d9r] {
    height: 40px;
    padding: 0 0.85rem;
    font-size: 0.9rem;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-weight: 500;
    color: #1a2a4a;
    background: #f7f9fd;
    border: 1.5px solid #dce6f5;
    border-radius: 8px;
    outline: none;
    transition: all 0.16s ease;
    width: 100%;
    box-shadow: 0 1px 3px rgba(18,70,200,0.04) inset;
}

.field-input:hover[b-gxdvs93d9r] { border-color: #b0c8e8; background: #fafcff; }
.field-input:focus[b-gxdvs93d9r] {
    border-color: #1246c8;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(18,70,200,0.1);
}

/* ── Toolbar ──────────────────────────────────────────────── */
.sup-toolbar[b-gxdvs93d9r] {
    margin: 0.85rem 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sup-search[b-gxdvs93d9r] { max-width: 340px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-post[b-gxdvs93d9r],
.btn-draft[b-gxdvs93d9r],
.btn-danger[b-gxdvs93d9r],
.btn-edit[b-gxdvs93d9r],
.btn-del[b-gxdvs93d9r] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
    white-space: nowrap;
}

.btn-post[b-gxdvs93d9r] {
    padding: 0 1.4rem;
    height: 40px;
    font-size: 0.84rem;
    background: linear-gradient(135deg, #0f7a3a 0%, #18b050 100%);
    color: #fff;
    box-shadow: 0 3px 14px rgba(15,122,58,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}
.btn-post[b-gxdvs93d9r]::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.45s ease;
}
.btn-post:hover[b-gxdvs93d9r]::after { left: 160%; }
.btn-post:hover[b-gxdvs93d9r] {
    background: linear-gradient(135deg, #128a42, #1ec85a);
    box-shadow: 0 6px 20px rgba(15,122,58,0.45);
    transform: translateY(-2px);
}

.btn-draft[b-gxdvs93d9r] {
    padding: 0 1.2rem;
    height: 40px;
    font-size: 0.84rem;
    background: #f2f5fb;
    color: #4a5a78;
    border: 1.5px solid #d0daf0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.btn-draft:hover[b-gxdvs93d9r] {
    background: #e6ecf8;
    border-color: #a8b8d8;
    transform: translateY(-1px);
}

.btn-danger[b-gxdvs93d9r] {
    padding: 0 1.2rem;
    height: 40px;
    font-size: 0.84rem;
    background: linear-gradient(135deg, #c02020, #e03030);
    color: #fff;
    box-shadow: 0 3px 12px rgba(192,32,32,0.3);
}
.btn-danger:hover[b-gxdvs93d9r] {
    background: linear-gradient(135deg, #d02828, #f03838);
    box-shadow: 0 5px 18px rgba(192,32,32,0.42);
    transform: translateY(-2px);
}

.btn-post:active[b-gxdvs93d9r],
.btn-draft:active[b-gxdvs93d9r],
.btn-danger:active[b-gxdvs93d9r] { transform: translateY(0) !important; box-shadow: none !important; }

/* ── Table card ───────────────────────────────────────────── */
.sup-table-card[b-gxdvs93d9r] { margin-bottom: 1.5rem; }

.sup-table[b-gxdvs93d9r] {
    width: 100%;
    border-collapse: collapse;
}

.sup-table thead tr[b-gxdvs93d9r] {
    background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fb 100%);
    border-bottom: 2px solid #d4e0f5;
}

.sup-table th[b-gxdvs93d9r] {
    padding: 0.7rem 0.9rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: #3a4a6a;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    text-align: left;
}

.col-chk[b-gxdvs93d9r]  { width: 44px; text-align: center; }
.col-right[b-gxdvs93d9r] { text-align: right; }

.sup-row[b-gxdvs93d9r] {
    border-bottom: 1px solid #edf2fb;
    transition: background 0.12s;
}
.sup-row:hover[b-gxdvs93d9r] { background: #f5f8ff; }
.row-selected[b-gxdvs93d9r]  { background: #eef4ff !important; }

.sup-table td[b-gxdvs93d9r] {
    padding: 0.6rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 500;
    vertical-align: middle;
}

.sup-code[b-gxdvs93d9r] {
    font-size: 0.76rem;
    font-weight: 700;
    color: #8a9ab8;
    letter-spacing: 0.6px;
    font-family: 'Courier New', monospace;
}

.sup-name[b-gxdvs93d9r] {
    font-weight: 700;
    color: #1246c8;
    cursor: pointer;
}
.sup-name:hover[b-gxdvs93d9r] { color: #0a3d7a; text-decoration: underline; }

.outstanding-val[b-gxdvs93d9r] { color: #c07000; font-weight: 800; }

.sup-actions[b-gxdvs93d9r] { display: flex; gap: 0.4rem; }

.btn-edit[b-gxdvs93d9r] {
    width: 32px; height: 32px;
    border-radius: 7px;
    border: 1.5px solid #d0daf0;
    background: #f0f5ff;
    color: #1246c8;
    font-size: 0.82rem;
    justify-content: center;
}
.btn-edit:hover[b-gxdvs93d9r] { background: #dce8ff; border-color: #1246c8; transform: translateY(-1px); }

.btn-del[b-gxdvs93d9r] {
    width: 32px; height: 32px;
    border-radius: 7px;
    border: 1.5px solid #f0c0c0;
    background: #fff5f5;
    color: #d03030;
    font-size: 0.82rem;
    justify-content: center;
}
.btn-del:hover[b-gxdvs93d9r] { background: #d03030; color: #fff; border-color: #d03030; transform: translateY(-1px); }
.btn-del-disabled[b-gxdvs93d9r] { opacity: 0.35; cursor: not-allowed !important; pointer-events: none; }

.btn-pay[b-gxdvs93d9r] {
    width: 32px; height: 32px;
    border-radius: 7px;
    border: 1.5px solid #a7f3d0;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.82rem;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.btn-pay:hover[b-gxdvs93d9r] { background: #059669; color: #fff; border-color: #059669; transform: translateY(-1px); }

/* ── Detail modal ─────────────────────────────────────────── */
.modal-overlay[b-gxdvs93d9r] {
    position: fixed;
    inset: 0;
    background: rgba(10,20,60,0.45);
    backdrop-filter: blur(5px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.detail-box[b-gxdvs93d9r] {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 28px 70px rgba(10,42,110,0.28);
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    border: 1px solid #e0e8f5;
}

.modal-header[b-gxdvs93d9r] {
    padding: 1rem 1.3rem;
    background: linear-gradient(135deg, #f0f5ff, #e8f0fb);
    border-bottom: 1px solid #dde8f8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.94rem;
    font-weight: 800;
    color: #0a2a6e;
}

.val-close[b-gxdvs93d9r] {
    background: none;
    border: none;
    color: #6b7a99;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 700;
    padding: 0 0.2rem;
    transition: color 0.15s;
}
.val-close:hover[b-gxdvs93d9r] { color: #d03030; }

.detail-body[b-gxdvs93d9r] { padding: 0.5rem 1.2rem 1.2rem; }

.detail-row[b-gxdvs93d9r] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid #edf2fb;
    font-size: 0.88rem;
}
.detail-row:last-child[b-gxdvs93d9r] { border-bottom: none; }
.detail-row span[b-gxdvs93d9r] { color: #7a8aaa; font-weight: 600; }
.detail-row strong[b-gxdvs93d9r] { color: #1a2a4a; font-weight: 700; }
.detail-row.highlight[b-gxdvs93d9r] {
    background: #fffbf0;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    margin-top: 0.25rem;
    border: 1px solid #f5e0a0;
}

/* ── Empty row ────────────────────────────────────────────── */
.empty-row[b-gxdvs93d9r] {
    text-align: center;
    padding: 3rem !important;
    color: #9aaac8;
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
}

/* ── Toasts ───────────────────────────────────────────────── */
.toast-success[b-gxdvs93d9r] {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    background: linear-gradient(135deg, #0f7a3a, #18b050);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 8px 28px rgba(15,122,58,0.38);
    z-index: 9999;
    animation: toastIn-b-gxdvs93d9r 0.25s ease;
}

.toast-error[b-gxdvs93d9r] {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    background: linear-gradient(135deg, #c02020, #e03030);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 8px 28px rgba(192,32,32,0.38);
    z-index: 9999;
    animation: toastIn-b-gxdvs93d9r 0.25s ease;
}

@keyframes toastIn-b-gxdvs93d9r {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Cell error ───────────────────────────────────────────── */
.cell-error[b-gxdvs93d9r] { border-color: #d03030 !important; background: #fff5f5 !important; }
