﻿.ct-table {
    width: 100%;
    overflow-x: auto;
    position: relative;
    border-radius: 5px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}


[data-theme="light"] .ct-table {
    background-color: white;
    border-bottom: 1px solid red;
    box-shadow: 0 1px 2px 0 rgba(51, 51, 51, 0.2);
    border: 1px solid #e9e9e9;
    border-bottom: 0px;
}

[data-theme="dark"] .ct-table {
    box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.2);
    background-color: #121212;
    box-shadow: 0 1px 2px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: 0px;
}

.wp-table {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: auto;
}

.table-1 {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100%;
    box-sizing: border-box;
    table-layout: fixed;
}

    .table-1.loading {
        height: 100%;
    }

    .table-1 thead {
        display: table-header-group;
        height: 55px;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

[data-theme="light"] .table-1 {
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(51, 51, 51, 0.2);
}

[data-theme="dark"] .table-1 {
    background-color: #121212;
    box-shadow: 0 1px 2px 0 rgba(255, 255, 255, 0.2);
}

.table-1 thead {
    background: linear-gradient(90deg, #3a3a3f, #313135, #28282c);
}

.table-1 thead th {
    position: sticky;
    top: 0;
    height: 40px;
    padding: 0 12px;
    box-sizing: border-box;
    color: black;
    font-size: 13px;
    font-weight: 500;
    z-index: 3;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0px;
    margin: 0px;
    z-index: 10;
}

[data-theme="light"] .table-1 thead th {
    background-color: #f8fafc;
    border-bottom: 1px solid #e9e9e9;
}

[data-theme="dark"] .table-1 thead th {
    border-bottom: 1px solid #2b303b;
}

.table-1 thead th .row-default h1 {
    font-size: 14px;
    font-weight: bold;
    z-index: 10;
}

.table-1 thead th .row-default.c-pointer:hover {
    cursor: pointer;
}

[data-theme="light"] .table-1 thead th .row-default.c-pointer:hover {
    background-color: #e9e9e9;
}

[data-theme="dark"] .table-1 thead th .row-default.c-pointer:hover {
    background-color: #232730;
}

.table-1 tbody tr {
    height: 55px;
    padding: 0px;
    margin: 0px;
    z-index: 5;
}

[data-theme="light"] .table-1 tbody tr {
    border-bottom: 1px solid #2b303b;
}

[data-theme="dark"] .table-1 tbody tr {
    border-bottom: 1px solid #2b303b;
}

[data-theme="light"] .table-1 tbody td {
    border-bottom: 1px solid #e9e9e9;
}

[data-theme="dark"] .table-1 tbody td {
    border-bottom: 1px solid #2b303b;
}

.table-1 tbody tr:hover {
    cursor: pointer;
}

[data-theme="light"] .table-1 tbody tr:hover {
    background-color: #e9e9e9;
}

[data-theme="dark"] .table-1 tbody tr:hover {
    background-color: #232730;
}

.table-1 tbody tr .row-default h2 {
    font-size: 13px;
    font-weight: 400;
}

[data-theme="light"] .table-1 tbody tr .row-default h2 {
    color: rgba(51, 51, 51, 0.8);
}

[data-theme="dark"] .table-1 tbody tr .row-default h2 {
    color: white;
}

.row-default.foot {
    height: 55px;
    padding-left: 10px;
    padding-right: 10px;
    border-top: 0px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

[data-theme="light"] .row-default.foot {
    background-color: #f8fafc;
    border: 1px solid #e9e9e9;
}

[data-theme="dark"] .row-default.foot {
    background: linear-gradient(90deg, #3a3a3f, #313135, #28282c);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top:0px;
}

.row-default.foot .row-default h2 {
    font-size: 13px;
}

.row-default.foot .row-default img {
    height: 16px;
}

.table-order {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 5px;
}

    .table-order img {
        height: 12px;
    }
