/* DATATABLES */

#terminalsTable, #terminalManagingTeamTable, #terminalTransactionsTable, #historyTransactionsTable, #accounts-table, #terminals-table, #settlementsTable, #dashboardSettlementsTable{
    border-collapse: separate;
    border-spacing: 0 10px;
}
#terminalsTable tbody tr, #accounts-table tbody tr, e, #terminals-table tbody tr, #terminalManagingTeamTable tbody tr, .datatable-table tbody tr, #historyTransactionsTable tbody tr, #settlementsTable tbody tr, #dashboardSettlementsTable tbody tr{
    cursor: pointer !important;
    transition: all 0.2s ease;
}
#dashboardSettlementsTable tbody tr:hover {
    background-color: #f9fafb !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
#dashboardSettlementsTable tbody tr td {
    padding: 12px 16px !important;
    background-color: #ffffff;
    border: none !important;
}
#dashboardSettlementsTable thead th {
    padding: 6px 16px 4px 16px !important;
    background-color: #ffffff;
    border: none !important;
    font-weight: 600;
    color: #111827;
    font-size: 13px;
}
#dashboardSettlementsTable_wrapper .dt-search {
    display: none;
}
#dashboardSettlementsTable_wrapper .row:first-child {
    display: none;
}
.table-status{
    gap: 6px;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: row;
}

.table-status span{
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
}

.dtr-details{
    width: 100%;
}

.dtr-title{
    font-size: 14px;
}

#terminalsTable_wrapper > div{
    margin-top: 0px !important
}

#terminalsTable_wrapper > div:nth-last-child(2){
    margin-top: -5px !important
}

.table-status .dot{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.status-online span{
    color: #28a745;
}

.status-offline span{
    color: #dc3545;
}

table.dataTable.order-column > tbody tr > .sorting_1, table.dataTable.order-column > tbody tr > .sorting_2, table.dataTable.order-column > tbody tr > .sorting_3, table.dataTable.display > tbody tr > .sorting_1, table.dataTable.display > tbody tr > .sorting_2, table.dataTable.display > tbody tr > .sorting_3{
    box-shadow: none !important;
}

.dataTable tbody tr td:first-child{
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
}
.dataTable tbody tr td:last-child{
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}

.table-currency-container{
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: row;
    gap: 10px;
}

.status-online .dot{
    background-color: #28a745; 

}
.status-offline .dot{
    background-color: #dc3545; 
}

#terminalsTable_wrapper {
    font-size: 14px;
}

.text-left-forced{
    text-align: left !important;
}

.dt-column-title{
    font-weight: 600;
}
.low-padding{
    padding-left: 2px !important;
    padding-right: 2px !important;
}

.dataTable thead tr{
    border-top-left-radius: 10px;
    background: white !important;
    color: #181818;
    font-weight: 600;
    font-size: 14px;
}

.right-padding{
    padding-right: 15px !important;
}

.dataTable tbody tr td{
    border-top: 0px !important;
    box-shadow: none !important;
    transition: all 0.1s ease-in-out !important;
}

.dataTable tbody tr{
    transition: all 0.1s ease-in-out !important;
    border-radius: 10px !important;
}

.dataTable tbody{
    margin-top: 15px !important;
}

.dataTable tbody tr:hover td{
    background: transparent !important;
    transition: all 0.1s ease-in-out !important;
}
.dataTable tbody tr:hover {
    cursor: default !important;
    transition: all 0.1s ease-in-out !important;
}

.dataTable tbody tr, .dataTable tbody tr td{
    background: rgb(250, 251, 252) !important;
    margin-top: 10px !important;
    margin-bottom: 3px !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.dataTableLowerPadding tbody tr, .dataTableLowerPadding tbody tr td{
    background: rgb(250, 251, 252) !important;
    margin-top: 10px !important;
    margin-bottom: 3px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.dataTable thead th{
    border-bottom: 0px solid rgba(0,0,0,0.1) !important;
}

.dataTable thead th:hover{
    border: none !important;
}

.dataTable thead tr th:first-child{
    border-top-left-radius: 15px !important;
    border-bottom-left-radius: 15px !important;
}

.dataTable thead tr th:last-child{
    border-top-right-radius: 15px !important;
    border-bottom-right-radius: 15px !important;
}

div.dt-container.dt-empty-footer tbody > tr:last-child > *{
    border-bottom: 0px !important;
}

.dataTable thead tr th:first-child .dt-column-order{
    display: none !important;
}
.dataTable thead th{
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

table.dataTable.stripe > tbody > tr:nth-child(odd) > *, table.dataTable.display > tbody > tr:nth-child(odd) > *{
    box-shadow: none !important;
}

.dt-search {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.dt-search input{
    margin-left: 0px !important;
    margin-top: 5px !important;
}

.dt-search label{
    display: none;
}

.dt-paging-button.active, .dt-paging-button.active:hover{
    background: #181818 !important;
}
.dt-paging-button.active a, .dt-paging-button.active:hover a{
    color: white !important;
}

.dt-search input{
    width: 100% !important;
    height: 45px !important;
    border-radius: 7px !important;
    padding: 7px 15px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    font-size: 14px !important;
    outline-color: #181818 !important;
}

.dt-search input::placeholder{
    color: rgb(206, 206, 206) !important;
    font-weight: 300 !important;
}

.dt-info{
    text-align: right !important;
    padding-bottom: 8px !important;
    font-weight: 300 !important;
    color: #b7b7b7 !important;
    padding-top: 0px !important;
    font-size: 13px !important;
}
@media (max-width: 768px) {
    .dt-info{
        text-align: center !important;
        margin-bottom: 3px !important;
        font-size: 11px !important;
    }
}

.dt-paging .pagination{
    display: flex  !important;
    justify-content: flex-end !important
}
.dt-empty{
    height: 60px !important;
    line-height: 60px !important;
    width: 100% !important;
    margin-top: 30px !important;
    font-size: 13px !important;
    color: #707070 !important;
    font-weight: 300 !important;
    margin-bottom: 30px !important;
}

/* ============================================= */
/* Style dla Paginacji DataTables (z !important) */
/* ============================================= */

/* Kontener na przyciski paginacji */
.dt-pagination {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    padding-top: 10px !important;
}

/* Ogólny styl dla wszystkich przycisków paginacji (<a>) */
.dt-paging-button {
    display: inline-block !important;
    padding: 0px !important;
    margin-left: 3px !important;
    margin-right: 3px !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    color: #007bff !important;
    background-color: #f9f9f9 !important;
    border: 1px solid #dee2e6 !important;
    border: none !important;
    padding-top: 0.5em !important;
    padding-bottom: 0.5em !important;
    border-radius: 6px !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.dt-paging-button a{
    padding: 0.5em 1em !important;
    min-width: 28px !important;
    max-width: 28px !important;
}

/* Styl przy najechaniu myszką (hover) */
.dt-paging-button:not(.disabled):not(.current):hover {
    color: #0056b3 !important;
    background-color: #e9ecef !important;
    border-color: #e5e6e6 !important;
    cursor: pointer !important;
}

/* Styl dla aktywnego przycisku (bieżąca strona) */
.dt-paging-button.current,
.dt-paging-button.current:hover {
    color: #ffffff !important;
    background-color: #007bff !important;
    border-color: #007bff !important;
    cursor: default !important;
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3) !important;
}

/* Styl dla nieaktywnych przycisków */
.dt-paging-button.disabled,
.dt-paging-button.disabled:hover {
    color: #6c757d !important;
    opacity: 50% !important;
    background-color: transparent !important;
    /* border-color: #dee2e6 !important; */
    cursor: not-allowed !important;
    box-shadow: none !important;
    border: none !important;
}

.dt-paging-button.active:hover{
    background: #181818 !important;
}
.page-link{
    width: 32px !important;
}
.datatable-simple-numbers{
  border-spacing: 0px !important;
  border-collapse: collapse !important;
}
.datatable-simple-numbers tr{
  border-bottom: 1px solid #E5E7EB !important;
}
.datatable-simple-numbers tbody tr,
.datatable-simple-numbers tbody tr td{
    background: white !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    box-shadow: none !important;
    border-radius: 0px !important;
}
.datatable-simple-numbers tbody tr:nth-child(even),
.datatable-simple-numbers tbody tr:nth-child(even) td{
    background: #f9f9f9 !important;
}
.datatable-simple-numbers tbody tr:last-child{
    border-bottom: none !important;
}
.datatable-simple-numbers tbody tr td:last-child,
.datatable-simple-numbers tbody tr td:first-child{
    border-radius: 0px !important;
}
.datatable-simple-numbers .dt-search {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}