table.dataTable {
    border: none !important;
    border-collapse: collapse !important;
    box-shadow: none !important;
}

table.dataTable thead th,
table.dataTable tbody td {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    padding: 20px 10px !important; /* Adjust padding as needed */
}

table.dataTable thead th{
    background: #f8f8f8 !important;
    font-size: 18px !important;
    padding: 15px !important;
}

table.dataTable thead {
    background: none !important;
    box-shadow: none !important;
}

table.dataTable h2 {
    font-size: 16px;
    margin: 0
}

table.dataTable .country_location {
    display: flex;
    gap: 5px;
    align-items: center;
}


table.dataTable tbody tr {
    transition: 1s;

    border-bottom: 2px solid #FFF;
    border-left: 10px solid #FFF;

}


table.dataTable tbody tr:hover {

    border-bottom: 2px solid #31B9DD;
    border-left: 10px solid #31B9DD;

}

table.dataTable th span.dt-column-order {
    font-size: 12px;
}


table.dataTable tr td {
    vertical-align: middle;

}

table.dataTable tr td a {
    font-size: 16px;
    color: #0D8088;
    font-weight: 700;

}

table.dataTable tr td a.cdt-table-item-button {
    width: auto;
    padding: 5px 20px;
    color: #FFF;
    background-color: #31B9DD;
    border-radius: 10px;

}

/* NO UI HANDLER */

.noUi-connect {
    background: #31B9DD; /* A custom blue color */
}

.noUi-horizontal {
    height: 9px;
}

.noUi-horizontal .noUi-handle {
    width: 17px;
    height: 14px;
    right: -9px;
    top: -3px;
}

.noUi-handle:after, .noUi-handle:before {
    display: none;
}

table.dataTable tr td a.cdt-table-item-button:hover {
    background-color: #36CAF1;

}

table.routesTable tr td:nth-child(4),
table.latestRoutesTable tr td:nth-child(5),
table.latestFKPsTable tr td:nth-child(8),
table.latestFKPByUSer tr td:nth-child(6) {
    display: flex;
    justify-content: end;
}

table.dataTable tr td .country-location {
    display: flex;
    gap: 5px;
    align-items: center;
}

.cdt-filters {
    display: flex;
    gap: 10px;
    justify-content: end;
    padding: 10px 0px;
}

.cdt-filters label {
    font-size: 12px;
}

.cdt-filters select {
    /* Remove default browser styling */
    width: 150px;
    appearance: none;
    -webkit-appearance: none; /* For older WebKit browsers */
    -moz-appearance: none;    /* For older Firefox browsers */

    /* Apply custom styles */
    border: 1px solid #ccc;
    padding: 8px 12px;
    font-size: 16px;
    background-color: #f8f8f8;
    color: #333;
    border-radius: 4px;
}

.cdt-filter-range {
    padding-top: 5px;
    padding-right: 10px;
}

.cdt-filter-range label {
    margin-bottom: 10px;
}

#columnToggles {
    display: flex;
    gap: 5px;
}

#columnToggles button {
    flex: 1;
    color: #a5a5a5;
    padding: 5px;
    font-size: 12px;
    border: solid 1px #a5a5a5;
    background-color: #FFF;
}

/*#columnToggles button:hover {*/
/*    color: #31B9DD;*/
/*    border: solid 1px #31B9DD;*/
/*}*/

#columnToggles button.active {
    color: #31B9DD;
    background: #FFF;
    border: solid 1px #31B9DD;
}

#column-notification {
    display:none;
    font-size: 12px;
    color: red;
    margin: 10px 0px;
}


/*table.dataTable td {*/
/*    padding: 10px !important;*/
/*}*/



@media (max-width: 768px) {

    #columnToggles {
        flex-direction: column;
    }

    .cdt-filters {
        display: flex;
        flex-direction: column;
    }

    .cdt-container {
        flex-grow: 1;
    }

    .cdt-container select {
        width: 100%;
    }
}