div.list {
    border: 1px solid #dbe7f3;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    padding: 8px;
    overflow-x: auto;
    box-sizing: border-box;
}

table.list {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

thead.list tr.list-header {
    background: linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
}

th.list-header,
th.list-header-last,
th.list-header-no,
th.list-header-actions {
    border-right: 1px solid #dbe7f3;
    border-bottom: 1px solid #dbe7f3;
    color: #1f3550;
    font-size: 11px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 14px;
    padding-top: 3px;
    padding-bottom: 2px;
    vertical-align: middle;
    position: relative;
}

th.list-header:last-child,
th.list-header-last,
td.list-value-last {
    border-right: 0;
}

td.list-value,
td.list-value-no,
td.list-value-actions {
    border-right: 1px solid #edf2f8;
    border-bottom: 1px solid #edf2f8;
    padding: 5px 6px;
}

tbody.list tr.list {
    transition: background-color 0.12s ease-in, box-shadow 0.12s ease-in;
}

tr.list-even {
    background-color: #fafcff;
}

tr.list:hover {
    background: #f0f7ff !important;
}

tr.list-totals {
    background-color: #ddeefe;
}

tr.list-subtotals {
    background-color: #e8edf4;
}

div.list-header,
div.list-value {
    line-height: 14px;
    font-size: 12px;
}

table.list th.list-header div.list-header,
table.list th.list-header-last div.list-header {
    box-sizing: border-box;
    display: block;
    position: static;
    width: 100%;
    text-align: center;
    margin: 0;
    padding-left: 14px;
    padding-right: 14px;
}

table.list span.list-column-move-handle {
    left: 4px;
    top: 50%;
    transform: translateY(-58%);
    line-height: 1;
    font-size: 11px;
    color: #2a6fbc;
}

table.list span.list-column-resize-handle {
    position: absolute;
    left: auto;
    right: 2px;
    top: 50%;
    float: none;
    transform: translateY(-50%);
}

table.list span.list-column-close-handle {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    font-size: 11px;
    color: #2a6fbc;
}

table.list span.list-column-move-handle i,
table.list span.list-column-close-handle i {
    display: inline-block;
    width: 1em;
    text-align: center;
}

table.list th.list-header > a.list-header,
table.list th.list-header-last > a.list-header {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 14px;
    vertical-align: middle;
}

table.list span.sort-arrow {
    margin-left: 4px;
    vertical-align: middle;
    font-size: 11px;
    color: #2a6fbc;
}

table.list span.sort-arrow i {
    display: inline-block;
    width: 1em;
    text-align: center;
}

table.list a.list-value.small-link-item {
    color: #2a6fbc;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.12s ease-in, text-decoration-color 0.12s ease-in;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(42, 111, 188, 0.35);
    text-underline-offset: 2px;
}

table.list a.list-value.small-link-item div.list-value {
    color: inherit;
}

table.list a.list-value.small-link-item:hover,
table.list a.list-value.small-link-item:focus {
    color: #0b79f2;
    text-decoration-color: rgba(11, 121, 242, 0.62);
}

a.list-header,
a.list-value,
a.list-value-action,
a.list-perpaging,
a.list-paging {
    color: #0d57a1;
}

a.list-value-action {
    border-radius: 6px;
    padding: 1px 3px;
}

a.list-value-action:hover {
    background: #e7f1ff;
}

input[type=text].list-search {
    border: 1px solid #c6d6ea;
    border-radius: 8px;
    height: 26px;
    padding: 0 10px;
    background: #ffffff;
    font-size: 12px;
}

input[type=text].list-search:focus {
    border-color: #6aa5e6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

div.list-paging,
div.list-perpaging,
div.list-action {
    color: #34495e;
}

table.list-bottom {
    margin-top: 6px;
    width: 100%;
}

td.list-bottom {
    white-space: normal;
    vertical-align: top;
}

div.list-action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}

div.list-action > div {
    display: inline-flex !important;
    align-items: center;
    padding-right: 0 !important;
}

div.list-perpaging,
div.list-paging {
    white-space: nowrap;
}

span.list-options {
    border: 1px solid #cbdff5;
    border-radius: 6px;
    background-color: #f3f8ff;
    background-image: none;
    line-height: 12px;
    width: 16px;
    height: 16px;
    font-size: 14px;
}

div.list-options-panel {
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    padding: 8px;
}
