/* Modal de dispensación con visor de receta */
#dispensarYFirmarWindow {
    overflow: hidden;
    padding: 0;
}

.dispensacion-modal-layout {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.dispensacion-pdf-panel {
    position: relative;
    flex: 0 0 65%;
    min-width: 0;
    height: 100%;
    border-right: 1px solid #ddd;
    background-color: #f5f5f5;
}

#dispensacionPdfViewer {
    width: 100%;
    height: 100%;
}

.dispensacion-pdf-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.92);
    color: #555;
}

.dispensacion-form-panel {
    flex: 1 1 35%;
    min-width: 0;
    height: 100%;
    overflow-y: auto;
}

@media (max-width: 991.98px) {
    .dispensacion-pdf-panel {
        display: none;
    }

    .dispensacion-form-panel {
        flex-basis: 100%;
        width: 100%;
    }
}
