.widget-content-area {
    -webkit-box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 0.1);
    -moz-box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 0.1);
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 0.1);
}
.date-table-container .page-item.active .page-link {
    z-index: 3;
    color: #fff;
    border-color: #2262c6;
    background-color: #2262c6;
}
.date-table-container .page-link {
    position: relative;
    display: block;
    padding: 0px;
    margin-left: 0px;
    border: 1px solid #dee2e6;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 100%;
    margin: 0px 2px;
}
.date-table-container .page-item:first-child .page-link {
    margin-left: 0;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    border-top-left-radius: 100%;
    border-bottom-left-radius: 100%;
}
.date-table-container .page-item:last-child .page-link {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    border-top-right-radius: 100%;
    border-bottom-right-radius: 100%;
}
.date-table-container .page-link:hover {
    color: #ffffff;
    background-color: #2262c6;
    border-color: #2262c6;
}
.date-table-container .widget-content-area .table-responsive .container-fluid {
    padding: 0px;
}
.date-table-container .widget-content-area .table-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 15px;
    float: left;
    width: 100%;
}
.date-table-container .widget-content-area .table-header h4 {
    font-size: 18px;
    float: left;
}
.date-table-container .widget-content-area .table-header .box-tools {
    font-size: 18px;
    float: right;
}
.no-content:before,
.no-content:after {
    display: none !important;
}
.dt-button {
    border: 0px;
}
.toggle-clicked {
    color: #2262c6 !important;
    background-color: rgba(34, 97, 198, 0.18) !important;
    border-color: rgba(34, 97, 198, 0.18);
}
.toggle-clicked:hover {
    color: #2262c6 !important;
}

/* DataTables processing overlay — spinner only, inside table body area */
.dt-processing-container {
    position: relative !important;
}

.dataTables_scroll.dt-processing-container {
    position: relative !important;
}

.dataTables_scrollBody.dt-processing-container {
    position: relative !important;
}

div.dataTables_wrapper div.dataTables_processing,
.dt-processing-container > div.dataTables_processing {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    overflow: visible !important;
    z-index: 10;
    background: rgba(255, 255, 255, 0.75) !important;
    border: none !important;
    box-shadow: none !important;
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    align-items: center;
    justify-content: center;
}

div.dataTables_wrapper div.dataTables_processing.dt-processing-active,
.dt-processing-container > div.dataTables_processing.dt-processing-active {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

div.dataTables_processing::before,
div.dataTables_processing::after {
    display: none !important;
    content: none !important;
}

.dt-table-spinner {
    display: block;
    width: 28px;
    height: 28px;
    text-indent: 0;
    border: 3px solid #e0e0e0;
    border-top-color: var(--main-color, #2864bf);
    border-radius: 50%;
    animation: dt-spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes dt-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Apply the same circular pagination to EVERY DataTable across the ERP
   (not only pages wrapped in .date-table-container), so all modules share
   one consistent pagination UI. */

/* Right-align the whole paginate block (matched at the same specificity as
   datatables.css so this wins by source order) so prev / numbers / next sit as
   one group on the right side of every table. */
div.dataTables_wrapper div.dataTables_paginate {
    float: none;
    text-align: right;
}
/* Single-line, right-aligned, vertically-centered row of buttons. */
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    margin: 0 0 0 auto;
}
.dataTables_wrapper .dataTables_paginate .pagination .page-item {
    display: flex;
    align-items: center;
}
.dataTables_wrapper .dataTables_paginate .pagination .page-item.active .page-link {
    z-index: 3;
    color: #fff;
    border-color: #2262c6;
    background-color: #2262c6;
}
/* Uniform circular buttons for prev / page-number / next (overrides the
   half-pill first/last-child styling, so every button is an identical circle
   on the same line). flex centering keeps the arrow glyph and the number
   glyph on the exact same baseline. */
.dataTables_wrapper .dataTables_paginate .pagination .page-link,
.dataTables_wrapper .dataTables_paginate .pagination .page-item:first-child .page-link,
.dataTables_wrapper .dataTables_paginate .pagination .page-item:last-child .page-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
    margin: 0px 3px;
    border: 1px solid #dee2e6;
    width: 40px;
    height: 40px;
    /* The .page-item parent is display:flex, so without this the link is a
       shrinkable flex item and any narrower width on the <li> squashes the
       circle into an oval. */
    flex-shrink: 0;
    line-height: 1;
    text-align: center;
    border-radius: 50%;
}
.dataTables_wrapper .dataTables_paginate .pagination .page-link:hover {
    color: #ffffff;
    background-color: #2262c6;
    border-color: #2262c6;
}
