body {
    display: flex;
    flex-direction: column;
    overflow-x: hidden !important;
    min-height: 100vh;
}

footer {
    margin-top: auto;
}

.color-corporativo {
    background-color: #198754;
}

.file-container .div-file {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-container .div-file::before {
    background-color: #449D44;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    content: 'Seleccionar Archivo';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    font-size: 14px;
}

.file-container span {
    display: inline-block;
    white-space: normal;       /* permite saltos de línea */
    overflow-wrap: break-word; /* fuerza saltos si una palabra es muy larga */
    word-break: break-all;     /* opcional: rompe palabras muy largas */
    color: #555;
    margin-top: 4px;
    font-size: 13px;
}

.file {
    opacity: 0;
    height: 32px;
    display: inline-block;
}

.loadingIndicator{
    display: none;
    text-align: center;
    margin-top: 20px;
}

.loadingIndicator > img{
    width: 100px;
    height: 100px;
}

.f14 {
    font-size: 14px;
    font-weight: bold;
}

.btn-circle {
    padding-left: 0.3rem !important;
    padding-right: 0.3rem !important;
    padding-top: 0.0rem !important;
    padding-bottom: 0.0rem !important;
}

/* ========================================= */
/* ========================================= */
/* ========================================= */

/* INICIO Estilos DataTables */

/* Contenedor principal */
.dataTables_wrapper {
    width: 100%;
    margin: 0 auto;
}

/* Configuración de la tabla */
table.dataTable {
    width: 100% !important;
}

/* Configuración de celdas */
table.dataTable thead th,
table.dataTable tbody td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Contenedor de scroll */
.table-responsive {
    overflow-x: auto !important;
    margin-bottom: 1rem;
}

/* Botones - top */
.top {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Selector de registros y buscador */
.dataTables_length {
    float: left !important;
    width: 50% !important;
}

.dataTables_filter {
    float: right !important;
    width: 50% !important;
    text-align: right !important;
}

.dataTables_length label,
.dataTables_filter label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 400;
}

.dataTables_length select {
    margin: 0 0.5rem;
    padding: 0.2rem 0.6rem 0.2rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.dataTables_filter input {
    margin-left: 0.5rem;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

/* Botones de DataTables */
div.dt-buttons {
    float: none !important;
    display: block !important;
    margin-bottom: 1.5rem;
    z-index: 1;
    position: relative;
}

.dt-buttons .dt-button {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 50rem;
}

div.dt-buttons>.dt-button:first-child {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

div.dt-buttons>.dt-button:last-child {
    color: #fff;
    background-color: #198754;
    border-color: #198754;
}

.dt-button:hover {
    opacity: 0.85;
}

/* Información y paginación juntos */
.bottom-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
}

.dataTables_info {
    float: left !important;
    width: 50% !important;
    margin: 0;
    padding: 0;
    display: flex !important;
    align-items: center !important;
    min-height: 38px !important;
}

.dataTables_paginate {
    float: right !important;
    width: 50% !important;
    margin: 0;
    text-align: right !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-height: 38px !important;
}

.dataTables_paginate .paginate_button {
    margin: 0;
    border: 1px solid #dee2e6;
    background-color: #fff;
    color: #0d6efd;
    cursor: pointer;
    border-radius: 0;
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
}

.dataTables_paginate .paginate_button.previous {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.dataTables_paginate .paginate_button.next {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.dataTables_paginate .paginate_button.current {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    z-index: 1;
}

.dataTables_paginate .paginate_button:hover:not(.current):not(.disabled) {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #0a58ca;
    z-index: 2;
}

.dataTables_paginate .paginate_button.disabled {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

/* Eliminar margen negativo entre botones de paginación */
.dataTables_paginate .paginate_button + .paginate_button {
    margin-left: -1px;
}

/* Tabla */
.dataTables_scroll {
    clear: both;
    margin-bottom: 1rem;
}




/* FIN Estilos DataTables */

/* ========================================= */
/* ========================================= */
/* ========================================= */


.hover-li:hover {
    background-color: #337AB7;
}

/* ========================================= */
/* INICIO Media Query TopMenu */

@media (max-width: 992px) {
    .navbar .row {
        width: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .navbar-toggler {
        width: 40%;
        margin-left: auto !important;
        margin-right: auto !important;
        color: #fff;
    }

    .navbar-toggler-icon {
        color: #fff;
    }

    .menu-container {
        order: 1 !important;
        display: flex;
        flex-direction: column;
        padding-left: 0;
        padding-right: 0;
        justify-content: center;
        position: relative;
    }

    #navbarNavDropdown {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1050;
        background-color: #198754 !important;
        width: 100vw !important;
        padding-left: 1rem !important;
        margin-top: 0.5rem !important;
    }

    .logo-container {
        order: 2 !important;
        padding-left: 0;
        padding-right: 0;
    }

    .logo-container a {
        display: flex;
        justify-content: center;
    }

    .logo-container a img{
        width: 40% !important;
        height: 40% !important;
    }

    .logout_container {
        order: 3 !important;
        display: flex;
        justify-content: center;
        padding-top: 0.3rem;
    }
}

/* FIN Media Query TopMenu */
/* ========================================= */



