/* busqueda_avanzada.css */
#tblBusAva th {
    white-space: nowrap;
    background: #f8f9fa;
    z-index: 2;
    font-size: 13px;
    padding: 4px 8px !important;
    vertical-align: middle;
}

#tblBusAva td {
    background: #fff;
    font-size: 13px;
    padding: 4px 8px !important;
    vertical-align: middle;
}

#tblBusAva .thead-header th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #f8f9fa;
    font-size: 14px;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

#tblBusAva .thead-filter th {
    position: sticky;
    top: 34px; /* Ajusta según el alto real de la cabecera */
    z-index: 2;
    background: #f8f9fa;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

.table-container {
    overflow-y: auto;
    overflow-x: auto;
    max-height: 70vh;
    margin-top: 5px;
    margin-bottom: 5px;
}

.form-control-xs {
    height: 22px !important;
    padding: 2px 4px !important;
    font-size: 12px !important;
}

.btn-xs, .btn-group-xs > .btn {
    padding: .15rem .4rem;
    font-size: .75rem;
    line-height: 1.2;
    border-radius: .2rem;
}

.pagination-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 38px;
}

.pagination {
    float: none !important;
    margin-bottom: 0;
    margin-top: 0;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-item a, .pagination .page-item span {
    position: relative;
    display: block;
    padding: .35rem .65rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
    font-size: 13px;
}

.pagination .page-item.active a, .pagination .page-item.active span {
    z-index: 1;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.pagination .page-item:first-child a, .pagination .page-item:first-child span {
    margin-left: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.pagination .page-item:last-child a, .pagination .page-item:last-child span {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

.site-section-container {
    min-height: 400px !important;
}

.hidden {
    display: none;
}

#modalImprimir .modal-content {
    height: 90vh;
}

#modalImprimir .modal-body {
    height: 100vh;
    overflow-y: scroll;
}
