/* Shared DataTables surface */

.amazon-dt-init-loading {
    position: relative;
}

.amazon-dt-init-loading > table,
.amazon-dt-init-loading > .dataTables_wrapper {
    visibility: hidden;
}

.amazon-dt-init-loading > .amazon-dt-init-loading__overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    color: #64748b;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
}

.amazon-dt-skeleton {
    width: 100%;
    display: block;
    min-height: 100%;
}

.amazon-dt-skeleton__grid {
    width: 100%;
    border-radius: 22px;
    border: 1px solid rgba(224, 231, 240, 0.95);
    border-collapse: separate !important;
    border-spacing: 0;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    margin: 0;
    table-layout: auto;
}

.amazon-dt-skeleton__grid thead > tr > th,
.amazon-dt-skeleton__grid tbody > tr > td {
    padding: 3px 6px;
    border-right: 1px solid rgba(226, 232, 240, 0.82);
    border-bottom: 1px solid rgba(226, 232, 240, 0.82);
    background: #ffffff;
    vertical-align: middle;
    overflow: hidden;
}

.amazon-dt-skeleton__grid thead > tr > th {
    background: linear-gradient(180deg, #fafcff 0%, #f4f7fb 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.96);
    color: #98a5b4;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.amazon-dt-skeleton__cell {
    position: relative;
}

.amazon-dt-skeleton__cell--header {
    min-height: 0;
}

.amazon-dt-skeleton__label {
    display: block;
    width: 100%;
    color: inherit;
    font: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.amazon-dt-skeleton__label--empty {
    opacity: 0;
}

.amazon-dt-skeleton__cell--right .amazon-dt-skeleton__bar,
.amazon-dt-skeleton__cell--action .amazon-dt-skeleton__bar {
    margin-left: auto;
}

.amazon-dt-skeleton__cell--center .amazon-dt-skeleton__bar {
    margin-left: auto;
    margin-right: auto;
}

.amazon-dt-skeleton__cell--lead .amazon-dt-skeleton__bar {
    width: min(58%, var(--amazon-dt-skeleton-width, 58%));
}

.amazon-dt-skeleton__cell--action .amazon-dt-skeleton__bar {
    width: min(42%, var(--amazon-dt-skeleton-width, 42%));
}

.amazon-dt-skeleton__bar {
    display: block;
    position: relative;
    overflow: hidden;
    width: var(--amazon-dt-skeleton-width, 72%);
    max-width: 100%;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(227, 233, 242, 0.94) 0%, rgba(208, 217, 228, 0.94) 50%, rgba(227, 233, 242, 0.94) 100%);
    background-size: 200% 100%;
    animation: amazon-dt-skeleton-wave 1.25s ease-in-out infinite;
}

@keyframes amazon-dt-skeleton-wave {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

table[id$="_table"]:not(.amazon-dt-ready):not(:has(> tbody > tr)),
table.ajax_view:not(.amazon-dt-ready):not(:has(> tbody > tr)),
table.amazon-dt-surface:not(.amazon-dt-ready):not(:has(> tbody > tr)) {
    visibility: hidden;
}

.dataTables_wrapper.amazon-dt-shell {
    position: relative;
    margin: 0 0 24px;
    background: #ffffff;
    border: 1px solid #e7edf4;
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    overflow: visible;
}

.dataTables_wrapper.amazon-dt-shell > .row {
    margin-left: 0;
    margin-right: 0;
}

.dataTables_wrapper.amazon-dt-shell > .dt-meta-row {
    padding: 8px 12px;
    border-bottom: 1px solid #edf2f7;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
}

.dataTables_wrapper.amazon-dt-shell > .dt-meta-row > [class*="col-"] {
    display: flex;
    align-items: center;
    min-width: 0;
    float: none;
    padding-left: 8px;
    padding-right: 8px;
}

.dataTables_wrapper.amazon-dt-shell > .dt-meta-row > .dt-meta-info {
    justify-content: flex-start;
}

.dataTables_wrapper.amazon-dt-shell > .dt-meta-row > .dt-meta-pager {
    justify-content: center;
}

.dataTables_wrapper.amazon-dt-shell > .dt-meta-row > .dt-meta-length {
    justify-content: flex-end;
}

.dataTables_wrapper.amazon-dt-shell > .dt-meta-row > .dt-meta-buttons {
    justify-content: flex-end;
}

.dataTables_wrapper.amazon-dt-shell > .dt-meta-row > .dt-meta-search {
    justify-content: flex-end;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_length,
.dataTables_wrapper.amazon-dt-shell .dataTables_filter,
.dataTables_wrapper.amazon-dt-shell .dataTables_info,
.dataTables_wrapper.amazon-dt-shell .dataTables_paginate {
    margin: 0;
    padding-top: 0;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_length,
.dataTables_wrapper.amazon-dt-shell .dataTables_filter {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_length label,
.dataTables_wrapper.amazon-dt-shell .dataTables_filter label {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_length select,
.dataTables_wrapper.amazon-dt-shell .dataTables_filter input {
    height: 32px;
    min-height: 32px;
    border: 1px solid #d8e1ea;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: none;
    color: #0f172a;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_length select:focus,
.dataTables_wrapper.amazon-dt-shell .dataTables_filter input:focus {
    border-color: #6ba8ff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    outline: 0;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_length select {
    padding: 3px 28px 3px 9px;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_filter {
    justify-content: flex-end;
}

.dataTables_wrapper.amazon-dt-shell .dt-meta-search .dataTables_filter {
    width: 100%;
    justify-content: flex-end;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_filter input {
    width: 240px;
    padding: 3px 10px;
}

.dataTables_wrapper.amazon-dt-shell .dt-meta-buttons .dt-buttons {
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: visible;
}

.dataTables_wrapper.amazon-dt-shell table.dataTable {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0;
}

/*
 * FixedHeader moves the original <thead> to a table appended directly to
 * <body>. Keep the clone on the same visual contract as the table header,
 * without forcing a new width: FixedHeader sets that width inline so the
 * columns stay aligned with the grid.
 */
table.dataTable.amazon-dt-surface.fixedHeader-floating,
table.dataTable.amazon-dt-surface.fixedHeader-locked {
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0;
}

.dataTables_wrapper.amazon-dt-shell table.dataTable thead > tr > th,
.dataTables_wrapper.amazon-dt-shell table.dataTable thead > tr > td {
    padding: 3px 8px;
    background: #f8fafc;
    border-bottom: 1px solid #e5ebf2;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    vertical-align: middle;
    text-transform: uppercase;
    white-space: nowrap;
}

table.dataTable.amazon-dt-surface.fixedHeader-floating thead > tr > th,
table.dataTable.amazon-dt-surface.fixedHeader-floating thead > tr > td,
table.dataTable.amazon-dt-surface.fixedHeader-locked thead > tr > th,
table.dataTable.amazon-dt-surface.fixedHeader-locked thead > tr > td {
    padding: 3px 8px;
    background: #f8fafc;
    border-bottom: 1px solid #e5ebf2;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    vertical-align: middle;
    text-transform: uppercase;
    white-space: nowrap;
}

.dataTables_wrapper.amazon-dt-shell table.dataTable thead > tr > th:first-child,
.dataTables_wrapper.amazon-dt-shell table.dataTable thead > tr > td:first-child {
    padding-left: 8px;
}

table.dataTable.amazon-dt-surface.fixedHeader-floating thead > tr > th:first-child,
table.dataTable.amazon-dt-surface.fixedHeader-floating thead > tr > td:first-child,
table.dataTable.amazon-dt-surface.fixedHeader-locked thead > tr > th:first-child,
table.dataTable.amazon-dt-surface.fixedHeader-locked thead > tr > td:first-child {
    padding-left: 8px;
}

.dataTables_wrapper.amazon-dt-shell table.dataTable thead > tr > th:last-child,
.dataTables_wrapper.amazon-dt-shell table.dataTable thead > tr > td:last-child {
    padding-right: 8px;
}

table.dataTable.amazon-dt-surface.fixedHeader-floating thead > tr > th:last-child,
table.dataTable.amazon-dt-surface.fixedHeader-floating thead > tr > td:last-child,
table.dataTable.amazon-dt-surface.fixedHeader-locked thead > tr > th:last-child,
table.dataTable.amazon-dt-surface.fixedHeader-locked thead > tr > td:last-child {
    padding-right: 8px;
}

.dataTables_wrapper.amazon-dt-shell table.dataTable tbody > tr > td {
    padding: 3px 6px;
    border-bottom: 1px solid #edf1f7;
    background: #ffffff;
    color: #1f2937;
    vertical-align: middle;
    line-height: 1.05;
    font-size: 12px;
}

.dataTables_wrapper.amazon-dt-shell table.dataTable tbody > tr > td:first-child {
    padding-left: 8px;
}

.dataTables_wrapper.amazon-dt-shell table.dataTable tbody > tr > td:last-child {
    padding-right: 8px;
}

.dataTables_wrapper.amazon-dt-shell table.dataTable tbody > tr:hover > td {
    background: #f9fbfd;
}

.dataTables_wrapper.amazon-dt-shell table.dataTable tbody > tr.selected > td {
    background: #eaf2ff !important;
}

.dataTables_wrapper.amazon-dt-shell table.dataTable tbody > tr:last-child > td {
    border-bottom: 0;
}

.dataTables_wrapper.amazon-dt-shell table.dataTable tfoot > tr > th,
.dataTables_wrapper.amazon-dt-shell table.dataTable tfoot > tr > td {
    padding: 3px 6px;
    background: #f8fafc;
    border-top: 1px solid #e5ebf2;
    color: #334155;
    font-weight: 700;
    font-size: 11px;
}

.dataTables_wrapper.amazon-dt-shell table.dataTable.no-footer {
    border-bottom: 0 !important;
}

.dataTables_wrapper.amazon-dt-shell table.dataTable thead .sorting,
.dataTables_wrapper.amazon-dt-shell table.dataTable thead .sorting_asc,
.dataTables_wrapper.amazon-dt-shell table.dataTable thead .sorting_desc,
.dataTables_wrapper.amazon-dt-shell table.dataTable thead .sorting_asc_disabled,
.dataTables_wrapper.amazon-dt-shell table.dataTable thead .sorting_desc_disabled {
    padding-left: 22px;
    padding-right: 8px;
    background-position: right 6px center;
}

table.dataTable.amazon-dt-surface.fixedHeader-floating thead .sorting,
table.dataTable.amazon-dt-surface.fixedHeader-floating thead .sorting_asc,
table.dataTable.amazon-dt-surface.fixedHeader-floating thead .sorting_desc,
table.dataTable.amazon-dt-surface.fixedHeader-floating thead .sorting_asc_disabled,
table.dataTable.amazon-dt-surface.fixedHeader-floating thead .sorting_desc_disabled,
table.dataTable.amazon-dt-surface.fixedHeader-locked thead .sorting,
table.dataTable.amazon-dt-surface.fixedHeader-locked thead .sorting_asc,
table.dataTable.amazon-dt-surface.fixedHeader-locked thead .sorting_desc,
table.dataTable.amazon-dt-surface.fixedHeader-locked thead .sorting_asc_disabled,
table.dataTable.amazon-dt-surface.fixedHeader-locked thead .sorting_desc_disabled {
    padding-left: 22px;
    padding-right: 8px;
    background-position: right 6px center;
}

.dataTables_wrapper.amazon-dt-shell table.dataTable thead > tr > th.amazon-dt-column-filter-cell,
.dataTables_wrapper.amazon-dt-shell table.dataTable thead > tr > td.amazon-dt-column-filter-cell {
    padding-right: 30px !important;
}

table.dataTable.amazon-dt-surface.fixedHeader-floating thead > tr > th.amazon-dt-column-filter-cell,
table.dataTable.amazon-dt-surface.fixedHeader-floating thead > tr > td.amazon-dt-column-filter-cell,
table.dataTable.amazon-dt-surface.fixedHeader-locked thead > tr > th.amazon-dt-column-filter-cell,
table.dataTable.amazon-dt-surface.fixedHeader-locked thead > tr > td.amazon-dt-column-filter-cell {
    padding-right: 30px !important;
}

.dataTables_wrapper.amazon-dt-shell .amazon-dt-column-filter-trigger-area {
    position: absolute;
    right: 0;
    top: 0;
    width: 26px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    cursor: pointer;
}

.dataTables_wrapper.amazon-dt-shell .amazon-dt-column-filter-trigger {
    width: 16px;
    height: 16px;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    color: #6d7c93;
    opacity: 0.85;
    line-height: 16px;
    font-size: 9px;
    cursor: pointer;
    display: block;
    transition: opacity 120ms ease, color 120ms ease, transform 120ms ease;
}

table.dataTable.amazon-dt-surface.fixedHeader-floating .amazon-dt-column-filter-trigger-area,
table.dataTable.amazon-dt-surface.fixedHeader-locked .amazon-dt-column-filter-trigger-area {
    position: absolute;
    right: 0;
    top: 0;
    width: 26px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    cursor: pointer;
}

table.dataTable.amazon-dt-surface.fixedHeader-floating .amazon-dt-column-filter-trigger,
table.dataTable.amazon-dt-surface.fixedHeader-locked .amazon-dt-column-filter-trigger {
    width: 16px;
    height: 16px;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    color: #6d7c93;
    opacity: 0.85;
    line-height: 16px;
    font-size: 9px;
    cursor: pointer;
    display: block;
    transition: opacity 120ms ease, color 120ms ease, transform 120ms ease;
}

.dataTables_wrapper.amazon-dt-shell .amazon-dt-column-filter-trigger .amazon-dt-column-filter-trigger-icon {
    pointer-events: none;
    transform: translateY(-1px);
}

.dataTables_wrapper.amazon-dt-shell .amazon-dt-column-filter-trigger:hover,
.dataTables_wrapper.amazon-dt-shell .amazon-dt-column-filter-trigger:focus {
    opacity: 1;
    color: #2563eb;
    outline: 0;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_info {
    padding: 6px 0;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    float: none !important;
    text-align: left;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_paginate {
    padding: 0;
    width: 100%;
    float: none !important;
    text-align: center;
}

.dataTables_wrapper.amazon-dt-shell .dt-meta-pager .dataTables_paginate {
    display: flex;
    justify-content: center;
}

.dataTables_wrapper.amazon-dt-shell .dt-meta-length .dataTables_length {
    justify-content: flex-end;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_length {
    float: none !important;
    text-align: right;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination {
    margin: 0;
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > li > a,
.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > li > span {
    min-width: 30px;
    height: 30px;
    margin: 0 2px;
    padding: 0 8px;
    border: 1px solid #d8e1ea;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    line-height: 28px;
    text-align: center;
    box-shadow: none;
    float: none;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > li > a:hover,
.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > li > span:hover,
.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > li > a:focus,
.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > li > span:focus {
    background: #f8fafc;
    border-color: #bfd0e0;
    color: #0f172a;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .active > a,
.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .active > span,
.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .active > a:hover,
.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .active > span:hover,
.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .active > a:focus,
.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .active > span:focus {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .disabled > a,
.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .disabled > span,
.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .disabled > a:hover,
.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .disabled > span:hover,
.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .disabled > a:focus,
.dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .disabled > span:focus {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_processing {
    inset: 0;
    margin: 0;
    padding: 18px;
    display: flex !important;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    color: #64748b;
    text-align: left;
    overflow: hidden;
    pointer-events: none;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_processing::before {
    content: none !important;
    display: none !important;
}

.dataTables_wrapper.amazon-dt-shell.is-dt-processing .dataTables_processing {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

.dataTables_wrapper.amazon-dt-shell .dt-buttons {
    gap: 8px;
}

.dataTables_wrapper.amazon-dt-shell .dt-buttons .btn {
    border-radius: 999px;
    box-shadow: none;
    font-size: 11px;
    line-height: 1.1;
    padding: 6px 10px;
    white-space: nowrap;
}

.dataTables_wrapper.amazon-dt-shell .dt-buttons .btn .fa {
    margin-right: 4px;
}

.dataTables_wrapper.amazon-dt-shell .dt-button-collection {
    min-width: 220px;
    z-index: 1055;
}

.dataTables_wrapper.amazon-dt-shell .dt-button-collection > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dataTables_wrapper.amazon-dt-shell .dt-button-collection {
    border-radius: 14px;
}

.dataTables_wrapper.amazon-dt-shell .dt-button-collection > li > a {
    border-radius: 10px;
}

.dataTables_wrapper.amazon-dt-shell .dataTables_empty {
    padding: 18px 14px !important;
    color: #64748b;
}

.dataTables_wrapper.amazon-dt-shell .product-thumbnail-small {
    width: 36px;
    height: 36px;
    object-fit: cover;
    display: block;
}

body.dark-theme .dataTables_wrapper.amazon-dt-shell {
    background: #1e2630;
    border-color: #2c3643;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

body.dark-theme .dataTables_wrapper.amazon-dt-shell > .dt-meta-row {
    background: linear-gradient(180deg, #1f2833 0%, #1b232d 100%);
    border-bottom-color: #2c3643;
}

body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_length label,
body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_filter label,
body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_info {
    color: #c8d3df;
}

body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_length select,
body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_filter input {
    background: #151b22;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_length select:focus,
body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_filter input:focus {
    border-color: #4f8df7;
    box-shadow: 0 0 0 3px rgba(79, 141, 247, 0.16);
}

body.dark-theme .dataTables_wrapper.amazon-dt-shell table.dataTable thead > tr > th,
body.dark-theme .dataTables_wrapper.amazon-dt-shell table.dataTable thead > tr > td,
body.dark-theme .dataTables_wrapper.amazon-dt-shell table.dataTable tfoot > tr > th,
body.dark-theme .dataTables_wrapper.amazon-dt-shell table.dataTable tfoot > tr > td {
    background: #1b232d;
    border-color: #2c3643;
    color: #a8b6c5;
}

body.dark-theme table.dataTable.amazon-dt-surface.fixedHeader-floating thead > tr > th,
body.dark-theme table.dataTable.amazon-dt-surface.fixedHeader-floating thead > tr > td,
body.dark-theme table.dataTable.amazon-dt-surface.fixedHeader-locked thead > tr > th,
body.dark-theme table.dataTable.amazon-dt-surface.fixedHeader-locked thead > tr > td {
    background: #1b232d;
    border-color: #2c3643;
    color: #a8b6c5;
}

body.dark-theme .dataTables_wrapper.amazon-dt-shell table.dataTable tbody > tr > td {
    background: #1e2630;
    border-color: #2c3643;
    color: #e4e8ec;
}

body.dark-theme .dataTables_wrapper.amazon-dt-shell table.dataTable tbody > tr:hover > td {
    background: #242f3a;
}

body.dark-theme .dataTables_wrapper.amazon-dt-shell table.dataTable tbody > tr.selected > td {
    background: #20314a !important;
}

body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > li > a,
body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > li > span {
    background: #151b22;
    border-color: #3b4754;
    color: #e4e8ec;
}

body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > li > a:hover,
body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > li > span:hover,
body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > li > a:focus,
body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > li > span:focus {
    background: #242f3a;
    border-color: #4b5a69;
    color: #ffffff;
}

body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .active > a,
body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .active > span,
body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .active > a:hover,
body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .active > span:hover,
body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .active > a:focus,
body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > .active > span:focus {
    background: #4f8df7;
    border-color: #4f8df7;
    color: #ffffff;
}

body.dark-theme .dataTables_wrapper.amazon-dt-shell .dt-buttons .btn {
    background: #151b22 !important;
    border-color: #3b4754 !important;
    color: #e4e8ec !important;
}

body.dark-theme .dataTables_wrapper.amazon-dt-shell .dt-buttons .btn:hover,
body.dark-theme .dataTables_wrapper.amazon-dt-shell .dt-buttons .btn:focus {
    background: #242f3a !important;
    border-color: #4b5a69 !important;
    color: #ffffff !important;
}

body.dark-theme .amazon-dt-init-loading > .amazon-dt-init-loading__overlay,
body.dark-theme .dataTables_wrapper.amazon-dt-shell .dataTables_processing {
    background: rgba(12, 18, 28, 0.92);
    color: #cbd5e1;
}

body.dark-theme .amazon-dt-skeleton__grid {
    background: #131b24;
    border-color: #2b3644;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

body.dark-theme .amazon-dt-skeleton__grid thead > tr > th {
    background: linear-gradient(180deg, #1a2430 0%, #171f29 100%);
    border-bottom-color: #2b3644;
    color: #a8b6c5;
}

body.dark-theme .amazon-dt-skeleton__grid thead > tr > th,
body.dark-theme .amazon-dt-skeleton__grid tbody > tr > td {
    border-right-color: #2b3644;
    border-bottom-color: #2b3644;
    background: #131b24;
}

body.dark-theme .amazon-dt-skeleton__bar {
    background: linear-gradient(90deg, rgba(48, 61, 76, 0.96) 0%, rgba(64, 79, 95, 0.96) 50%, rgba(48, 61, 76, 0.96) 100%);
    background-size: 200% 100%;
}

@media (max-width: 767px) {
    body.amazon-dt-mobile-cards-mode .dataTables_scrollHead,
    body.amazon-dt-mobile-cards-mode .dataTables_scrollHead *,
    body.amazon-dt-mobile-cards-mode .dataTables_scrollFoot,
    body.amazon-dt-mobile-cards-mode .dataTables_scrollFoot *,
    body.amazon-dt-mobile-cards-mode table.dataTable.fixedHeader-floating,
    body.amazon-dt-mobile-cards-mode table.dataTable.fixedHeader-floating *,
    body.amazon-dt-mobile-cards-mode table.dataTable.fixedHeader-locked,
    body.amazon-dt-mobile-cards-mode table.dataTable.fixedHeader-locked * {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .dataTables_wrapper.amazon-dt-shell {
        margin: 0 0 16px;
        border-radius: 18px;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active {
        background: transparent;
        border: 0;
        box-shadow: none;
        margin-bottom: 8px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active > .row {
        margin-left: 0;
        margin-right: 0;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable {
        border: 0 !important;
        background: transparent;
        border-collapse: separate !important;
        border-spacing: 0;
        width: 100% !important;
        max-width: 100%;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable thead {
        display: none !important;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody {
        display: block;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr {
        display: block;
        margin: 0 0 8px;
        border: 1px solid #e5ebf2;
        border-radius: 14px;
        overflow: visible;
        background: #ffffff;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr:last-child {
        margin-bottom: 0;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td {
        display: grid;
        grid-template-columns: minmax(88px, 40%) minmax(0, 1fr);
        align-items: center;
        column-gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-width: 0;
        gap: 2px 10px;
        padding: 8px 10px;
        border: 0;
        border-bottom: 1px solid #edf1f7;
        background: #ffffff;
        color: #1f2937;
        line-height: 1.2;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td:first-child {
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td:last-child {
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        border-bottom: 0;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td.dt-card-empty-label {
        display: none;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td.dtr-control {
        display: none !important;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td::before {
        content: attr(data-dt-label);
        display: block;
        width: auto;
        text-align: left;
        color: #64748b;
        font-size: 10px;
        font-weight: 700;
        line-height: 1.15;
        text-transform: uppercase;
        letter-spacing: 0.02em;
        align-self: start;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td > * {
        min-width: 0;
        width: auto;
        max-width: 100%;
        justify-self: start;
        align-self: center;
        text-align: left;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td[data-dt-label="Produto"] > *,
    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td[data-dt-label="Nome do cliente"] > *,
    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td[data-dt-label="Cliente"] > * {
        font-weight: 700;
        color: #0f172a;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td.dt-card-actions-cell {
        align-items: center;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td.dt-card-actions-cell > * {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 4px;
        text-align: right;
        white-space: normal;
        justify-self: end;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td.dt-card-actions-cell > .btn,
    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td.dt-card-actions-cell > a.btn,
    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td.dt-card-actions-cell > button.btn {
        display: inline-flex;
        width: auto;
        max-width: 100%;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td.dt-card-actions-cell .btn-group {
        display: flex;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 6px;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td.dt-card-actions-cell .btn-group > .btn {
        flex: 0 0 auto;
    }

    .dataTables_wrapper.amazon-dt-shell > .dt-meta-row,
    .dataTables_wrapper.amazon-dt-shell > .dt-meta-row--bottom {
        padding: 10px 12px 8px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .dataTables_wrapper.amazon-dt-shell > .dt-meta-row > [class*="col-"],
    .dataTables_wrapper.amazon-dt-shell > .dt-meta-row--bottom > [class*="col-"] {
        width: 100%;
        flex: 1 1 100%;
        float: none;
        margin-bottom: 6px;
        padding-left: 0;
        padding-right: 0;
    }

    .dataTables_wrapper.amazon-dt-shell > .dt-meta-row > .dt-meta-info,
    .dataTables_wrapper.amazon-dt-shell > .dt-meta-row--bottom > .dt-meta-info {
        order: 1;
    }

    .dataTables_wrapper.amazon-dt-shell > .dt-meta-row > .dt-meta-length,
    .dataTables_wrapper.amazon-dt-shell > .dt-meta-row--bottom > .dt-meta-length {
        order: 3;
        justify-content: flex-start;
    }

    .dataTables_wrapper.amazon-dt-shell > .dt-meta-row > .dt-meta-buttons,
    .dataTables_wrapper.amazon-dt-shell > .dt-meta-row--bottom > .dt-meta-buttons {
        order: 4;
        justify-content: flex-start;
    }

    .dataTables_wrapper.amazon-dt-shell > .dt-meta-row > .dt-meta-pager,
    .dataTables_wrapper.amazon-dt-shell > .dt-meta-row--bottom > .dt-meta-pager {
        order: 5;
        justify-content: flex-start;
    }

    .dataTables_wrapper.amazon-dt-shell > .dt-meta-row > .dt-meta-search,
    .dataTables_wrapper.amazon-dt-shell > .dt-meta-row--bottom > .dt-meta-search {
        order: 2;
        justify-content: flex-start;
    }

    .dataTables_wrapper.amazon-dt-shell .dataTables_length,
    .dataTables_wrapper.amazon-dt-shell .dataTables_filter,
    .dataTables_wrapper.amazon-dt-shell .dataTables_info,
    .dataTables_wrapper.amazon-dt-shell .dataTables_paginate {
        width: 100%;
        justify-content: flex-start;
    }

    .dataTables_wrapper.amazon-dt-shell .dataTables_length label,
    .dataTables_wrapper.amazon-dt-shell .dataTables_filter label {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        width: 100%;
        max-width: 100%;
    }

    .dataTables_wrapper.amazon-dt-shell .dataTables_length select,
    .dataTables_wrapper.amazon-dt-shell .dataTables_filter input {
        flex: 0 1 auto;
        width: auto;
        max-width: 100%;
        min-width: 0;
    }

    .dataTables_wrapper.amazon-dt-shell .dataTables_length select {
        width: 124px;
        max-width: 124px;
    }

    .dataTables_wrapper.amazon-dt-shell .dt-meta-search .dataTables_filter {
        width: 100%;
    }

    .dataTables_wrapper.amazon-dt-shell .dt-meta-buttons .dt-buttons,
    .dataTables_wrapper.amazon-dt-shell .dt-buttons {
        width: 100%;
    }

    .dataTables_wrapper.amazon-dt-shell .dt-buttons .btn,
    .dataTables_wrapper.amazon-dt-shell .dt-button-collection {
        width: 100%;
    }

    .dataTables_wrapper.amazon-dt-shell .dt-buttons .btn {
        justify-content: center;
    }

    .dataTables_wrapper.amazon-dt-shell table.dataTable thead > tr > th,
    .dataTables_wrapper.amazon-dt-shell table.dataTable thead > tr > td {
        padding: 3px 6px;
        font-size: 10px;
        letter-spacing: 0.01em;
    }

    .dataTables_wrapper.amazon-dt-shell table.dataTable tbody > tr > td {
        padding: 3px 5px;
        font-size: 11px;
    }

    .dataTables_wrapper.amazon-dt-shell table.dataTable thead .sorting,
    .dataTables_wrapper.amazon-dt-shell table.dataTable thead .sorting_asc,
    .dataTables_wrapper.amazon-dt-shell table.dataTable thead .sorting_desc,
    .dataTables_wrapper.amazon-dt-shell table.dataTable thead .sorting_asc_disabled,
    .dataTables_wrapper.amazon-dt-shell table.dataTable thead .sorting_desc_disabled {
        padding-left: 18px;
        padding-right: 6px;
        background-position: right 4px center;
    }

    .dataTables_wrapper.amazon-dt-shell table.dataTable thead > tr > th.amazon-dt-column-filter-cell,
    .dataTables_wrapper.amazon-dt-shell table.dataTable thead > tr > td.amazon-dt-column-filter-cell {
        padding-right: 26px !important;
    }

    .dataTables_wrapper.amazon-dt-shell .amazon-dt-column-filter-trigger-area {
        width: 22px;
    }

    .dataTables_wrapper.amazon-dt-shell .amazon-dt-column-filter-trigger {
        width: 14px;
        height: 14px;
        line-height: 14px;
        font-size: 8px;
    }

    .dataTables_wrapper.amazon-dt-shell .dataTables_info {
        padding: 4px 0;
        white-space: normal;
        text-align: left;
    }

    .dataTables_wrapper.amazon-dt-shell .dt-meta-buttons .dt-buttons {
        flex-wrap: wrap;
        overflow: visible;
    }

    .dataTables_wrapper.amazon-dt-shell .dt-buttons .btn {
        white-space: normal;
    }

    .dataTables_wrapper.amazon-dt-shell .dataTables_paginate {
        padding-left: 10px;
        padding-right: 10px;
        text-align: left;
    }

    .dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 4px;
        width: 100%;
    }

    .dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > li > a,
    .dataTables_wrapper.amazon-dt-shell .dataTables_paginate .pagination > li > span {
        margin: 0;
        min-width: 28px;
        padding: 0 7px;
    }

    .dataTables_wrapper.amazon-dt-shell table.dataTable > tbody > tr.child > td {
        padding: 0 6px 10px;
        background: #f8fafc;
    }

    .dataTables_wrapper.amazon-dt-shell table.dataTable > tbody > tr.child ul.dtr-details {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 0;
        padding: 8px 0 0;
    }

    .dataTables_wrapper.amazon-dt-shell table.dataTable > tbody > tr.child ul.dtr-details > li {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 8px;
        align-items: baseline;
        padding: 8px 10px;
        border: 1px solid #e5ebf2;
        border-radius: 12px;
        background: #ffffff;
    }

    .dataTables_wrapper.amazon-dt-shell table.dataTable > tbody > tr.child span.dtr-title {
        min-width: 96px;
        color: #64748b;
        font-weight: 700;
        white-space: normal;
    }

    .dataTables_wrapper.amazon-dt-shell table.dataTable > tbody > tr.child span.dtr-data {
        min-width: 0;
        flex: 1;
        white-space: normal;
        text-align: left;
    }

    .dataTables_wrapper.amazon-dt-shell table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child,
    .dataTables_wrapper.amazon-dt-shell table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child {
        padding-left: 22px;
    }

    .dataTables_wrapper.amazon-dt-shell table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before,
    .dataTables_wrapper.amazon-dt-shell table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:before {
        left: 6px;
        width: 14px;
        height: 14px;
        line-height: 13px;
        box-shadow: 0 1px 4px rgba(15, 23, 42, 0.16);
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable > tbody > tr.child {
        display: table-row;
        margin: -2px 0 8px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable > tbody > tr.child > td {
        display: block;
        padding: 0 0 10px;
        border: 0;
        background: transparent;
        text-align: right;
    }

    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable > tbody > tr.child ul.dtr-details {
        padding-top: 2px;
    }

}

@media (max-width: 480px) {
    .dataTables_wrapper.amazon-dt-shell.amazon-dt-mobile-cards-active table.dataTable tbody tr > td {
        padding: 9px 10px;
    }
}
