:root { 
    --tblr-font-sans-serif: 'Inter Var', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif; 
}

body { 
    font-feature-settings: "cv03", "cv04", "cv11"; 
}

th {
    user-select: none;
    padding-top: .7rem !important;
    padding-bottom: .7rem !important;
}

button {
    border: none; 
    background-color: transparent; 
    padding: 0; 
    margin: 0;
}

button:active,
button:focus,
button:hover {
    outline: none !important;
    box-shadow: none !important;
}

a,
a:hover,
a:focus,
a:active {
    text-decoration: none !important;
}

button:focus {
    outline: none;
}

input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
    -webkit-appearance: none; /* Chrome, Safari, Edge */
    appearance: none; /* Estándar */
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none; /* Eliminar botones en WebKit */
    margin: 0;
}

.navbar-dark {
    border: none !important;
    --tblr-navbar-border-color: transparent;
}

i {
    /* font-size: .94rem !important; */
    font-size: .96rem !important;
}

/* estilos del dropdown */

.table-responsive .dropdown,
.table-responsive .btn-group,
.table-responsive .btn-group-vertical {
    position: static !important;
}

.dropdown,
.btn-group,
.btn-group-vertical {
    position: static !important;
}

/* estilos de la tabla - bootstrap-table */

.fixed-table-body { 
    overflow-x: auto !important; 
    -webkit-overflow-scrolling: touch !important; 
}

.datatable tbody tr:first-child th,
.datatable tbody tr:first-child td {
    border-top: none;
}

.datatable tbody tr:last-child td {
    border-bottom: none;
}

.datatable tbody td:first-child,
.datatable thead th:first-child {
    border-left: none;
}

.datatable tbody td:last-child,
.datatable thead th:last-child {
    border-right: none;
}

.datatable .table {
    margin-bottom: 0;
}

.datatable .table-hover > tbody > tr:hover > * {
    --tblr-table-accent-bg: rgba(0, 0, 0, 0.035);
    --tblr-table-accent-bg: #f7f7f7 !important;
}

.datatable ul.pagination { 
    margin-bottom: 0 !important; 
}

.datatable .pagination-info { 
    color: var(--tblr-secondary) !important; 
    margin: 0 !important; 
    --tblr-text-opacity: 1;
    font-size: .76rem;
}

.datatable .fixed-table-pagination { 
    padding: .5rem !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: space-between !important; 
}

.datatable .page-list {
    display: none;
}

.datatable .page-next {
    width: auto !important;
    flex: 1 !important;
    text-align: center !important;
}

.datatable td {
    padding-top: .6rem !important;
    padding-bottom: .6rem !important;
}

/* Estilo del sortable - bootstrap-table */

.bootstrap-table .fixed-table-container .table tfoot th .sortable,
.bootstrap-table .fixed-table-container .table thead th .sortable {
     cursor: pointer;
     background-position: right;
     background-repeat: no-repeat;
     padding-right: 30px !important;
}

.bootstrap-table .fixed-table-container .table tfoot th .sortable.sortable-center,
.bootstrap-table .fixed-table-container .table thead th .sortable.sortable-center {
     padding-left: 20px !important;
     padding-right: 20px !important;
}

.bootstrap-table .fixed-table-container .table tfoot th .both,
.bootstrap-table .fixed-table-container .table thead th .both {
     background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" fill="%23dcdcdc"><path d="m103.05877,41.4c9.37707,-12.5 24.60541,-12.5 33.98248,0l96.02113,128c6.90152,9.2 8.92696,22.9 5.17614,34.9s-12.45274,19.8 -22.20489,19.8l-192.04225,-0.1c-9.67713,0 -18.45406,-7.8 -22.20489,-19.8s-1.65036,-25.7 5.17614,-34.9l96.02113,-128l0.07501,0.1zm0,429.3l-96.02113,-128c-6.90152,-9.2 -8.92696,-22.9 -5.17614,-34.9s12.45274,-19.8 22.20489,-19.8l192.04225,0c9.67713,0 18.45406,7.8 22.20489,19.8s1.65036,25.7 -5.17614,34.9l-96.02113,128c-9.37707,12.5 -24.60541,12.5 -33.98248,0l-0.07501,0z"/></svg>');
     background-size: 16px 16px;
     background-position: center right 2px;
}

.bootstrap-table .fixed-table-container .table tfoot th .asc,
.bootstrap-table .fixed-table-container .table thead th .asc {
     background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" fill="%23222831"><path d="m136.9496,41.4c-9.3763,-12.5 -24.60342,-12.5 -33.97972,0l-96.01334,128c-6.90096,9.2 -8.92624,22.9 -5.17572,34.9s12.45173,19.8 22.20309,19.8l192.02668,0c9.67634,0 18.45256,-7.8 22.20309,-19.8s1.65023,-25.7 -5.17572,-34.9l-96.01334,-128l-0.07501,0z"/></svg>');
}

.bootstrap-table .fixed-table-container .table tfoot th .desc,
.bootstrap-table .fixed-table-container .table thead th .desc {
     background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" fill="%23222831"><path d="m136.94959,471.6c-9.3763,12.5 -24.60342,12.5 -33.97972,0l-96.01334,-128c-6.90096,-9.2 -8.92624,-22.9 -5.17572,-34.9s12.45173,-19.8 22.20308,-19.8l192.02667,0c9.67634,0 18.45256,7.8 22.20308,19.8s1.65023,25.7 -5.17572,34.9l-96.01334,128l-0.07501,0z"/></svg>');
}

/* estilos del loading - bootstrap-table */

.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: absolute;
    width: auto;
    height: 2.4rem !important;
    left: 50%; /* Centramos el contenedor horizontalmente */
    transform: translateX(-50%) translateY(3px); /* Aseguramos que esté centrado */
    z-index: 1000;
    transition: visibility 0s, opacity .15s ease-in-out;
    opacity: 0;
    visibility: hidden;
    border-radius: .2rem; /* Bordes redondeados */
    border: solid 1px #ccc;
    padding: 0 !important;
    margin: 0 !important;
}

.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.open {
    visibility: visible;
    opacity: 1;
}

.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .loading-text {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    padding: 0 1rem;
}

.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    display: none;
}

/* para el build de tabler.io */

.navbar-vertical.navbar-expand-lg .navbar-collapse .dropdown-menu .dropdown-item:hover {
    color: #ffffff;
    background: transparent;
}

.navbar-vertical.navbar-expand-lg .navbar-collapse .dropdown-menu .dropdown-item.active:hover {
    background: var(--tblr-navbar-active-bg);
}

.navbar-vertical.navbar-expand-lg .navbar-collapse .dropdown-menu .dropdown-item:active {
    background: transparent;
}

.nav-link.dropdown-toggle.show {
    background-color: #222831 !important;
}

.list-group-item:hover {
    background-color: transparent;
}

.form-label {
    font-size: 13.28px;
}

.form-check-input,
.form-check {
    cursor: pointer;
}

input.form-control:disabled {
    color: #434343;
    background-color: #f9f9f9;
}

.input-group-text {
    background-color: #f9f9f9;
}

.btn-icon i {
    font-size: 1rem !important;
}

.nav-link > i {
    font-size: 1.02rem !important;
}

#sidebar-menu .nav-link {
    padding: .65rem .8rem !important;
}

#sidebar-menu .nav-item .dropdown-item {
    padding-top: .65rem !important;
    padding-bottom: .65rem !important;
}

@media (min-width: 992px) {
    .navbar-vertical.navbar-expand-lg {
        width: 13.5rem !important;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg.navbar-vertical~.navbar, .navbar-expand-lg.navbar-vertical~.page-wrapper {
        margin-left: 13.5rem;
    }
}

/* 
.btn-group-sm > .btn, .btn-sm {
    --tblr-btn-padding-y: 0.3875rem;
    --tblr-btn-padding-x: 0.5rem;
    --tblr-btn-font-size: 0.75rem;
    --tblr-btn-border-radius: 3px;
} 
*/

table.table-no-line > tbody > tr td {
    border: none !important;
}

table.table-no-line input,
table.table-no-line select {
    border: none !important;
    background-color: transparent !important;
}

li.nav-item.dropdown > a.nav-link.dropdown-toggle {
    color: rgba(255, 255, 255, .7) !important;
}

li.nav-item.dropdown > a.nav-link.dropdown-toggle.show {
    color: #ffffff !important;
    background-color: transparent !important;
}

.datatable .fixed-table-pagination:empty {
    padding: 0 !important;
}
