.porCobrarResultadosVN {
    max-height: 68vh;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: left;
    padding-right: 8px;
}

.porCobrarResultadosVN .panel-heading {
    overflow: hidden;
}

.porCobrarResultadosVN .well:last-child {
    margin-bottom: 0;
}

/* =========================================================
   VISOR EXCEL TINGLE VN
   ========================================================= */

.modal-excel-viewer-vn {
    z-index: 30000 !important;
}


/* Caja principal */

.modal-excel-viewer-vn .tingle-modal-box {
    width: 83vw;
    max-width: 95vw;
    height: 92vh;

    margin: auto;

    border-radius: 12px;
    overflow: hidden;
}


/* Quitamos padding propio de Tingle */

.modal-excel-viewer-vn .tingle-modal-box__content {
    padding: 0;
    height: 100%;
}


/* Estructura */

.modal-excel-vn-shell {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 92vh;

    background: #ffffff;
}


/* =========================================================
   HEADER
   ========================================================= */

.modal-excel-vn-header {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 64px;

    padding: 12px 18px 12px 22px;

    background: #008000;

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}


/* Nombre del archivo */

.modal-excel-vn-title {
    min-width: 0;
    flex: 1;

    padding-right: 20px;

    color: #ffffff;

    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Botón cerrar */

.modal-excel-vn-close {
    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    padding: 0;

    border: 0;
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.15);

    color: #ffffff;

    font-size: 30px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.modal-excel-vn-close:hover {
    background: rgba(255, 255, 255, 0.28);
}


.modal-excel-vn-close:active {
    transform: scale(0.94);
}


/* =========================================================
   VISOR
   ========================================================= */

.modal-excel-vn-content {
    flex: 1;

    min-height: 0;
    width: 100%;

    overflow: hidden;

    background: #f5f6f8;
}


.modal-excel-vn-iframe {
    display: block;

    width: 100% !important;
    height: 100% !important;

    border: 0;

    background: #ffffff;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .modal-excel-viewer-vn .tingle-modal-box {
        width: 83vw;
        max-width: 98vw;
        height: 95vh;
    }

    .modal-excel-vn-shell {
        height: 95vh;
    }

    .modal-excel-vn-header {
        min-height: 58px;

        padding: 10px 12px 10px 15px;
    }

    .modal-excel-vn-title {
        font-size: 16px;
    }

    .modal-excel-vn-close {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
}