﻿
.table {
    font-size: 16px;
}

    .table thead {
        border-top: 1px solid #e0e0e0;
    }

    .table tbody {
        border-top: none !important;
    }

.table-bordered > :not(caption) > * {
    border-width: 0;
}

    .table-bordered > :not(caption) > * > * {
        border-width: 1px;
    }

.table td,
.table th {
    padding-top: 0.2rem !important;
    padding-bottom: 0.2rem !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    line-height: 1.2;
    vertical-align: middle;
}

.table thead th {
    background: linear-gradient(to bottom, #ffffff, #eaf4ff);
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    height: 34px !important;
    font-weight: normal !important;
    position: sticky;
    top: 0;
    z-index: 1;
}

.table th.head, td.head {
    background: #f5f5f5;
    border-right: 1px solid #bdbdbd;
    text-align: left;
}

.table tbody tr {
    height: 30px !important;
    cursor: pointer;
}

/* Hover sobre filas: aplicar a las celdas */
.table tbody tr:hover > * {
    background-color: #fffefe !important;
}

/* Si manejas selección con clase .selected */
.table tbody tr.selected > * {
    background-color: #228ad6 !important;
    color: white !important;
}

#tableDetails_tbody_id tr.selected {
    background-color: #228ad6 !important;
    color: white !important;
}

/* Fila bloqueada - siempre en gris claro */
.table tbody tr.locked > * {
    background-color: #efefef !important;
    cursor: default !important;
}

.table tbody tr.locked:hover > * {
    background-color: #efefef !important;
}

/* icono de eliminar en cada fila */
.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #808080;
    font-size: 15px;
}

/* cuando se ponga el cursor sobre el icono, este se pone de color rojo */
.icon-btn:hover {
    color: #dc3545;
}
