﻿.dataTables_filter {
    margin-bottom: 1rem;
    width: 300px;
    float: none !important;
    height: 25px;
    padding-left: 0px;
}

    .dataTables_filter label {
        width: 100%;
        margin: 0;
        position: relative;
        height: 25px;
    }

    .dataTables_filter input {
        width: 100% !important;
        margin: 0 !important;
        padding-left: 2rem !important;
        height: 25px;
    }

    .dataTables_filter .input-icon {
        position: absolute;
        left: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
    }

/* Paginazione */
.page-item.active .page-link {
    background-color: #1b1b1b;
    border-color: #1b1b1b;
}

.page-link {
    color: #5A5A5A;
}

    .page-link:hover {
        color: #1b1b1b;
    }

/* Table styles */
.table {
    margin-bottom: 1rem;
    background-color: #fff;
    table-layout: fixed;
}

    .table th {
        border-top: none;
        background-color: #f8f9fa;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.875rem;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 200px;
    }

    .table td {
        vertical-align: middle;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 200px;
        padding: 3px;
        padding-left: 7px;
    }

        .table td:first-child {
            padding-left: 3px;;
        }
    /* Button styles */
    .btn-sm {
        width: 32px;
        height: 32px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .btn-sm i {
        font-size: 14px;
    }

.gap-2 {
    gap: 0.5rem ;
}

.btn-secondary {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
}

    .btn-secondary:hover {
        background-color: #e9ecef;
        border-color: #dee2e6;
        color: #495057;
    }


.table thead tr,
.table thead th {
    color: rgba(255, 255, 255, 0.90) !important;
    background-color: #6E6E6E !important;
}

    /* Per mantenere lo stile quando la tabella è ordinata */
    .table thead th.sorting,
    .table thead th.sorting_asc,
    .table thead th.sorting_desc {
        color: rgba(255, 255, 255, 0.90) !important;
        background-color: #6E6E6E !important;
    }