﻿.dataTables_wrapper {
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #333;
}

.dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    transform: translate(-50%, -50%);
    padding: 12px 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    color: #666;
    text-align: center;
    z-index: 10;
}

.dataTables_wrapper .table {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    width: 100%;
    border-collapse: collapse;
}

.dataTables_wrapper .row {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.dataTables_wrapper label {
    font-size: 13px;
    margin-bottom: 6px;
    color: #4b4b4b;
    font-weight: 500;
}

.dataTables_wrapper select,
.dataTables_wrapper input[type="text"],
.dataTables_wrapper input[type="search"] {
    font-size: 13px;
    height: 36px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    transition: border-color 0.2s ease-in-out;
    margin-left: 5px;
    margin-right: 5px;
}

    .dataTables_wrapper select:focus,
    .dataTables_wrapper input:focus {
        border-color: #007bff;
        outline: none;
    }

.dataTables_wrapper select {
    width: auto;
}

.col-md-6 {
    padding-left: 0px;
    padding-right: 0px;
}

.col-sm-3, .col-sm-4, .col-sm-6 {
    padding-right: 0px;
    padding-left: 0px;
}

.dataTables_wrapper input[type="checkbox"],
.dataTables_wrapper input[type="radio"] {
    height: auto;
    margin-right: 5px;
}

.dataTables_length,
.dataTables_filter,
.dataTables_info,
.dataTables_paginate {
    padding: 12px 0;
}

.dataTables_paginate {
    text-align: end;
}

.table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td {
    color: #959595 !important;
    font-weight: 600 !important;
}


.dataTables_filter {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

thead {
    height: 48px !important;
    background: #f8f9fa !important;
    border-bottom: 2px solid #dee2e6;
}

.dataTables_wrapper .paginate_button,
.dataTables_wrapper .paginate_active {
    cursor: pointer;
    border: 1px solid #ccc;
    background: #f9f9f9;
    color: #007bff;
    padding: 6px 12px;
    margin-left: 2px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

    .dataTables_wrapper .paginate_button:hover {
        background-color: #e9ecef;
    }

.dataTables_wrapper .paginate_active {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
}

.dataTables_wrapper .paginate_button_disabled {
    color: #aaa;
    background-color: #f0f0f0;
    pointer-events: none;
}

.paginate_button.first {
    border-radius: 6px 0 0 6px;
}

.paginate_button.last {
    border-radius: 0 6px 6px 0;
}

.dataTables_wrapper th {
    cursor: pointer;
    position: relative;
    user-select: none;
    padding-right: 20px;
}

    .dataTables_wrapper th:after {
        font-family: FontAwesome;
        position: absolute;
        right: 8px;
        font-weight: normal;
        color: #999;
        font-size: 12px;
        top: 50%;
        transform: translateY(-50%);
    }

.dataTables_wrapper .sorting:after {
    content: "\f0dc";
}

.dataTables_wrapper .sorting_asc:after {
    content: "\f0de";
}

.dataTables_wrapper .sorting_desc:after {
    content: "\f0dd";
}
