.inventory-list-shell {
    background: #fff;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.inventory-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid #e5ebf3;
    background: #fbfcfe;
}

.inventory-list-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #172033;
}

.inventory-list-subtitle {
    margin-top: 2px;
    font-size: 12px;
    color: #697386;
}

.inventory-list-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.inventory-list-shell .table-container {
    width: 100%;
    overflow-x: auto;
}

.inventory-list-table {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    color: #1f2937;
}

.inventory-list-table th,
.inventory-list-table td {
    white-space: nowrap;
    border-color: #e7ecf3;
    vertical-align: middle;
}

.inventory-list-table thead tr:first-child th {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 10px 10px;
    background: #f5f7fb;
    color: #4b5565;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    border-bottom: 1px solid #dbe3ee;
}

.inventory-list-table tbody td {
    padding: 9px 10px;
    font-size: 12.5px;
    background: #fff;
}

.inventory-list-table tbody tr:nth-child(even) td {
    background: #fbfdff;
}

.inventory-list-table tbody tr:hover td {
    background: #f2f7ff;
}

.inventory-list-table code {
    display: inline-block;
    padding: 2px 6px;
    border: 1px solid #d7dfeb;
    border-radius: 5px;
    background: #f8fafc;
    color: #1d4ed8;
    font-size: 12px;
}

.inventory-list-table .truncate {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inventory-list-table .badge {
    border-radius: 5px;
    font-weight: 600;
    padding: 5px 7px;
}

.inventory-list-table .editable-cell {
    cursor: pointer;
    color: #374151;
    transition: background 0.15s, color 0.15s;
}

.inventory-list-table .editable-cell:hover {
    background: #eaf3ff !important;
    color: #1d4ed8;
}

.inventory-list-table .editable-cell input {
    width: 100%;
    min-width: 120px;
    padding: 4px 6px;
    border: 1px solid #93b4e8;
    border-radius: 5px;
    font-size: 12px;
    outline: none;
    background: #fff;
}

.inventory-list-table .filter-row th {
    position: sticky;
    top: 39px;
    z-index: 3;
    padding: 5px 6px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #dfe6ef;
}

.inventory-list-table .filter-row input {
    width: 100%;
    min-width: 72px;
    height: 28px;
    padding: 4px 7px;
    border: 1px solid #d7dee8;
    border-radius: 5px;
    color: #1f2937;
    font-size: 11.5px;
    outline: none;
    background: #fff;
}

.inventory-list-table .filter-row input:focus {
    border-color: #78a3ed;
    box-shadow: 0 0 0 2px rgba(79, 142, 247, 0.12);
}

.inventory-list-table .action-cell,
.inventory-list-table th.sticky-col {
    width: 128px;
    min-width: 128px;
}

.inventory-list-table th.sticky-col,
.inventory-list-table td.sticky-col,
.dataTables_scrollHead .inventory-list-table th.sticky-col,
.dataTables_scrollBody .inventory-list-table td.sticky-col {
    position: sticky !important;
    right: 0;
    z-index: 6;
    box-shadow: -8px 0 14px rgba(15, 23, 42, 0.08);
}

.inventory-list-table thead th.sticky-col,
.dataTables_scrollHead .inventory-list-table th.sticky-col {
    z-index: 9;
    background: #eef3fb !important;
}

.inventory-list-table tbody td.sticky-col,
.dataTables_scrollBody .inventory-list-table td.sticky-col {
    background: #fff !important;
}

.inventory-list-table tbody tr:nth-child(even) td.sticky-col {
    background: #fbfdff !important;
}

.inventory-list-table tbody tr:hover td.sticky-col {
    background: #eef5ff !important;
}

.inventory-row-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.inventory-row-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border-radius: 6px;
}

.inventory-list-shell .dataTables_wrapper {
    padding: 0;
}

.inventory-list-shell .dataTables_wrapper .dataTables_length,
.inventory-list-shell .dataTables_wrapper .dataTables_filter {
    padding: 12px 16px 8px;
    color: #536174;
    font-size: 12px;
}

.inventory-list-shell .dataTables_wrapper .dataTables_filter input,
.inventory-list-shell .dataTables_wrapper .dataTables_length select {
    border: 1px solid #d7dee8;
    border-radius: 6px;
    padding: 4px 7px;
    outline: none;
}

.inventory-list-shell .dataTables_wrapper .dataTables_info,
.inventory-list-shell .dataTables_wrapper .dataTables_paginate {
    padding: 10px 16px 14px;
    color: #536174;
    font-size: 12px;
}

@media (max-width: 768px) {
    .inventory-list-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .inventory-list-actions {
        width: 100%;
        justify-content: flex-start;
    }
}
