.table-container {
    background-color: var(--light-main-bg);
    border-radius: 35px;
}

.table-tab {
    white-space: nowrap;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: var(--main-text) !important;
    padding: 11px 28px 15px 28px !important;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.table-tab.active {
    font-weight: 700 !important;
    background-color: var(--dark-accent-color) !important;
    color: var(--main-text) !important;
}

table.table.dataTable> :not(caption)>*>* {
    background-color: transparent;
}

table.table.dataTable>tbody>tr:nth-child(even) {
    background-color: #ffffff0d !important;
}

table.dataTable thead th {
    background-color: var(--dark-accent-color) !important;
    /* border: 1px solid var(--dark-accent-color); */
    color: var(--main-text) !important;
    text-align: left !important;
    font-weight: 400;
    vertical-align: middle;
    padding-left: 28px;
    padding-right: 28px;
    height: 54px;
}

.table-responsive .tab-content .tab-pane:first-child.active table thead th:first-child {
    border-top-left-radius: 0;
}

table.dataTable thead th:first-child {
    border-top-left-radius: 12px;
}

table.dataTable thead th:last-child {
    border-top-right-radius: 12px;
}

.dataTable td {
    color: var(--main-text) !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
    height: 54px;
    text-align: left !important;
    vertical-align: middle;
}

.dataTable th {
    padding-left: 28px !important;
    padding-right: 28px !important;
}

table.dataTable th.dt-empty,
table.dataTable td.dt-empty {
    text-align: center !important;
    vertical-align: middle;
    height: 70px;
}

table.dataTable td.dataTables_empty {
    text-align: center !important;
}

div.dataTables_wrapper .dataTables_paginate .paginate_button .paginate_button,
div.dataTables_wrapper .dataTables_paginate .paginate_button .paginate_button:focus,
div.dataTables_wrapper .dataTables_paginate .paginate_button.disabled .paginate_button {
    font-size: 18px;
    line-height: 22px;
    color: var(--main-text);
    background-color: transparent !important;
    box-shadow: none !important;
    border: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    padding: 0 10px!important;
    margin: 0!important;
}


/* .paginate_button.disabled .paginate_button {
    color: var(--muted-text);
} */

.paginate_button:hover .paginate_button {
    color: inherit;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    cursor: not-allowed !important;
}

.paginate_button.active .paginate_button {
    font-weight: 700 !important;
}

a.paginate_button.previous,
a.paginate_button.next {
    color: #5f6368 !important;
}

div.dataTables_wrapper .dataTables_paginate .paginate_button.current,
div.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
div.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
div.dataTables_wrapper .dataTables_paginate .paginate_button:active {
    background: transparent !important;
    border-color: transparent;
    font-weight: 700 !important;
    box-shadow: none!important;
}

.table-search {
    max-width: 163px;
}

.dataTables_empty {
    text-align: center !important;
}

@media (max-width: 991px) {
    #commonHeader {
        flex-wrap: wrap;
    }
    .table-search {
        max-width: 180px;
    }
}


/* .dt-container,
div.dt-scroll {
    min-width: 700px;
} */

.dt-scroll-body * {
    overflow: visible !important;
}

.dt-scroll-body,
.dataTable {
    overflow: hidden !important;
    border: none !important;
}

.dt-container div.row {
    margin: 0;
}

.commonSearch::placeholder {
    color: white !important;
    font-weight: 300;
    opacity: 1;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    background: url("data:image/svg+xml,%3Csvg width='16' height='15' viewBox='0 0 16 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.7374 14.5002L0.197266 13.1002L6.35779 7.50018L0.197266 1.90018L1.7374 0.500183L7.89792 6.10018L14.0584 0.500183L15.5986 1.90018L9.43805 7.50018L15.5986 13.1002L14.0584 14.5002L7.89792 8.90018L1.7374 14.5002Z' fill='%23B7B7B7'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
    width: 15px;
    height: 14px;
    cursor: pointer;
}

#tableTabs {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}


/* Hide scrollbar for Chrome, Safari, and Opera */

#tableTabs::-webkit-scrollbar {
    display: none;
}


/* Responsive styles for small screens */

@media (max-width: 767px) {
    .commonHeader {
        margin: 0 16px;
    }
    .table-container p,
    .holiday-schedule-container p {
        font-size: 14px!important;
        margin: 0;
    }
    .table-container {
        padding: 16px 0 !important;
    }
    .holiday-schedule-container {
        overflow: hidden;
        padding: 24px !important;
    }
    .table thead
    /* .holiday-table thead*/ { 
        display: none;
    }
    .table tr {
        padding: 16px!important;
    }
    #holiday-schedule-section-2 .holiday-table tr td {
        padding-right: 16px!important;
    }
    .table tbody tr,
    .holiday-table tbody tr {
        display: block;
    }
    .table tbody td,
    .holiday-table tbody td {
        display: flex;
        justify-content: end;
        align-items: center;
        position: relative;
        padding: 0!important;
        font-size: 14px;
        padding-left: 110px!important;
    }
    .table tbody td::before,
    .holiday-table tbody td::before {
        content: attr(data-header);
        position: absolute;
        left: 0;
        font-size: 16px;
        font-weight: 600;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
    }
    .holiday-table tbody td::before {
        left: 16px;
    }
    .table tbody td>*,
    .holiday-table tbody td>* {
        display: block;
    }
    table.dataTable td.dataTables_empty {
        text-align: center!important;
        justify-content: center;
        padding: 0 !important;
    }
    .dataTables_wrapper .dataTables_paginate .paginate_button,
    .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
        padding: 0 8px!important;
    }
    table.dataTable td.dataTables_empty {
        text-align: center !important;
    }
}