/* Modern Backpack Table Styles */
/* Table container styling for better spacing and alignment */
.dataTables_wrapper {
    margin: 20px;
    padding: 10px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

table tbody tr {
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}



/* Base table styling */
table.table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px;
    width: 100%;
    margin: 0 auto;
    font-size: 0.9rem;
    background-color: #ffffff;
}

/* Table header styling */
table.table thead {
    background: #0056b3; /* Primary header color */
    color: #ffffff; /* Text color */
    font-weight: bold;
    text-transform: uppercase;
}

table.table tfoot {
    background: #0056b3; /* Same background color as header */
    color: #ffffff; /* Same text color as header */
    font-weight: bold;
    text-transform: uppercase;
}


table.table thead th {
    border: 1px solid #e2e2e2;
    padding: 12px;
    text-align: left;
}

/* Table body rows styling */
table.table tbody tr {
    border-bottom: 1px solid #ececec;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

table tbody tr:hover {
    background-color: rgb(0, 166, 255) !important; /* Light blue background */
    transform: scale(1.01); /* Slight row scaling effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
}

/* Table cells styling */
table.table tbody td {
    padding: 10px 8px;
    vertical-align: middle;
    font-size: .8rem;
    color: #333333;
    font-weight: 600;
}

/* Striped rows for better readability */
table.table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

/* Actions column buttons */
table.table .btn {
    font-size: 1rem;
    padding: 4px 8px;
    font-weight: 600;

}

table.table .btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
}

table.table .btn-primary:hover {
    background-color: #004494;
    border-color: #003f89;
    color: #fff!important;
}

/* Responsive tables */
@media (max-width: 768px) {
    table.table tbody td {
        font-size: 0.9rem;
        padding: 10px;
        font-weight: 600;
    }
}

table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child:before  {
    all: unset!important;
    box-sizing: border-box;
}

table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child, table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child {

    padding-left: 10px!important;
}

.app-header {

    max-width: 1800px!important;
}