/* Base para stacking de modales */
.modal-stack {
  z-index: 1050; /* base de Bootstrap */
}

/* Backdrop personalizado para stacking */
.modal-backdrop.stack-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}
/* preview component */
#previewContainer .preview-image { transition: transform .18s ease; cursor: zoom-in; }
#previewContainer .preview-image.zoomed { transform: scale(1.0); cursor: zoom-out; max-width:none; max-height:none; }
#previewContainer iframe, #previewContainer video, #previewContainer audio { width:100%; height:70vh; }
#previewSpinner { padding: 2rem; }
