.table {
    width: 100% !important;
    margin-bottom: .7rem !important;
    font-size: .93em !important;
    line-height: 1 !important;
}

.table th,
.table td {
    padding: 0.3rem !important;
    vertical-align: top !important;
    font-size: .75em !important;
    font-weight:500 !important;
}
.table tr {
    margin-top: .9rem !important;
}

.table thead th {
    font-weight: 700 !important;
    vertical-align: bottom !important;
    text-transform: uppercase !important;
    color: #0d6efd !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}
.table tbody + tbody {
    border-top: 1px solid #e3e6f000  !important
}

.table-sm th,
.table-sm td {
    padding: 0.3rem !important;
}

.table-bordered {
    border: 1px solid #e3e6f0 !important;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #e3e6f0 !important;
}

.table-bordered thead th,
.table-bordered thead td {
    border-bottom-width: 2px !important;
}

.table-borderless th,
.table-borderless td,
.table-borderless thead th,
.table-borderless tbody + tbody {
border: 0;
}

.table-striped tbody tr:nth-of-type(odd) {
background-color: rgba(245, 246, 250, 0.4);
}

.table-hover tbody tr:hover {
color: #003d9c;
background-color: rgba( 228, 231, 242, 0.6);
}

.table-primary,
.table-primary > th,
.table-primary > td {
background-color: #ffffff;
}

.table-primary th,
.table-primary td,
.table-primary thead th,
.table-primary tbody + tbody {
    border-color: #a3b6ee;
}

.table-hover .table-primary:hover {
background-color: #b7c7f2;
}

.table-hover .table-primary:hover > td,
.table-hover .table-primary:hover > th {
    background-color: #b7c7f2;
}

.table-secondary,
.table-secondary > th,
.table-secondary > td {
background-color: #dddde2;
}

.table-secondary th,
.table-secondary td,
.table-secondary thead th,
.table-secondary tbody + tbody {
    border-color: #c0c1c8;
}

.table-hover .table-secondary:hover {
background-color: #cfcfd6;
}

.table-hover .table-secondary:hover > td,
.table-hover .table-secondary:hover > th {
    background-color: #cfcfd6;
}

.table-success,
.table-success > th,
.table-success > td {
background-color: #bff0de;
}

.table-success th,
.table-success td,
.table-success thead th,
.table-success tbody + tbody {
    border-color: #89e2c2;
}

.table-hover .table-success:hover {
background-color: #aaebd3;
}

.table-hover .table-success:hover > td,
.table-hover .table-success:hover > th {
    background-color: #aaebd3;
}

.table-info,
.table-info > th,
.table-info > td {
background-color: #c7ebf1;
}

.table-info th,
.table-info td,
.table-info thead th,
.table-info tbody + tbody {
    border-color: #96dbe4;
}

.table-hover .table-info:hover {
background-color: #b3e4ec;
}

.table-hover .table-info:hover > td,
.table-hover .table-info:hover > th {
    background-color: #b3e4ec;
}

.table-warning,
.table-warning > th,
.table-warning > td {
background-color: #fceec9;
}

.table-warning th,
.table-warning td,
.table-warning thead th,
.table-warning tbody + tbody {
    border-color: #fadf9b;
}

.table-hover .table-warning:hover {
background-color: #fbe6b1;
}

.table-hover .table-warning:hover > td,                                                           /*overflow-x: unset !important;*/
.table-hover .table-warning:hover > th {
    background-color: #fbe6b1;
}

.table-danger,
.table-danger > th,
.table-danger > td {
background-color: #f8ccc8;
}

.table-danger th,
.table-danger td,
.table-danger thead th,
.table-danger tbody + tbody {
    border-color: #f3a199;
}

.table-hover .table-danger:hover {
background-color: #f5b7b1;
}

.table-hover .table-danger:hover > td,
.table-hover .table-danger:hover > th {
    background-color: #f5b7b1;
}

.table-light,
.table-light > th,
.table-light > td {
background-color: #fdfdfe;
}

.table-light th,
.table-light td,
.table-light thead th,
.table-light tbody + tbody {
    border-color: #fbfcfd;
}

.table-hover .table-light:hover {
background-color: #ececf6;
}

.table-hover .table-light:hover > td,
.table-hover .table-light:hover > th {
    background-color: #ececf6;
}

.table-dark,
.table-dark > th,
.table-dark > td {
background-color: #d1d1d5;
}

.table-dark th,
.table-dark td,
.table-dark thead th,
.table-dark tbody + tbody {
    border-color: #a9aab1;
}

.table-hover .table-dark:hover {
background-color: #c4c4c9;
}

.table-hover .table-dark:hover > td,
.table-hover .table-dark:hover > th {
    background-color: #c4c4c9;
}

.table-active,
.table-active > th,
.table-active > td {
background-color: rgba(0, 0, 0, 0.075);
}

.table-hover .table-active:hover {
background-color: rgba(0, 0, 0, 0.075);
}

.table-hover .table-active:hover > td,
.table-hover .table-active:hover > th {
    background-color: rgba(0, 0, 0, 0.075);
}

.table .thead-dark th {
color: #fff;
background-color: #5a5c69;
border-color: #6c6e7e;
}

.table .thead-light th {
color: #6e707e;
background-color: #eaecf4;
border-color: #e3e6f0;
}

.table-dark {
color: #fff;
background-color: #5a5c69;
}

.table-dark th,
.table-dark td,
.table-dark thead th {
    border-color: #6c6e7e;
}

.table-dark.table-bordered {
    border: 0;
}

.table-dark.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05);
}

.table-dark.table-hover tbody tr:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.075);
}

    .btn-primary4 {
    color: #fff !important;
    background-color: #0763fb !important;
    border-color: #0763fb !important;
    box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgb(133 133 133 / 60%) !important;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.75em;
    padding: 0.6rem 1.25rem !important;
    border-radius: 8px;
    margin-left: auto;
}

.btn-primary4:hover {
    background-color: #054fc7 !important;
    border-color: #054fc7 !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 1.25rem !important; /* Tamaño más pequeño */
    font-weight: 600;
    color: #2a3547;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Eliminar bordes de la tabla */
.mud-table-container {
    border: none !important;
    box-shadow: none !important;
}

.mud-table-cell, .mud-table-head .mud-th {
    border: none !important;
}

.mud-table-row {
    border-bottom: 1px solid #e3e6f0 !important;
    display: table-row !important; /* Asegurar que las filas se muestren */
}

/* Agregar esto para asegurar la visibilidad de nuevas filas */
.mud-table-body tr {
    opacity: 1 !important;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}