/* Estilos de la tabla */
.custom-table {
    width: 100%;
    background-color: #f9f9f9;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 12px;
    line-height: 1.5;
    color: #333333;
    word-wrap: break-word;
}

.custom-table td, .custom-table th {
    word-wrap: break-word;
}

.custom-table thead {
    background: linear-gradient(135deg, #a52a2a, #660000);
    color: #ffffff;
    font-weight: 500;
    word-wrap: break-word;
}

.custom-table.table-sm th,
.custom-table.table-sm td {
    padding: 0.3rem;
}

.custom-table th {
    text-align: center;
    border-bottom: 1px solid #660000;
    word-wrap: break-word;
    font-weight: 500;
}

.custom-table tbody tr:nth-child(odd) {
    background-color: #f3f3f3;
}

.custom-table tbody tr:hover {
    background-color: #e0e0e0;
    transition: background-color 0.2s ease;
}

.custom-table .btn-action {
    color: #660000;
    background-color: #f9f9f9;
    border: 1px solid #660000;
    transition: all 0.2s ease;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
}

.custom-table .btn-action:hover {
    background-color: #a52a2a;
    color: #ffffff;
    transform: scale(1.1);
}

.custom-table thead a {
    color: #ffffff;
    font-weight: 500;
}

