/* Editor reutilizado sobre la pantalla de origen. Véase docs/STYLEGUIDE.md. */
.cp-oferta-editor {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.cp-oferta-editor::backdrop {
  background: rgba(0, 0, 0, .5);
}

.cp-oferta-editor iframe {
  width: 100%;
  height: 100%;
  border: 0;
  visibility: hidden;
}

.cp-oferta-editor__espera {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90%, 420px);
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

html.cp-oferta-editor-integrado,
.cp-oferta-editor-integrado body {
  background: transparent !important;
}

.cp-oferta-editor-integrado body > :not(#modalEditarOferta):not(.swal2-container):not(script):not(style):not(link) {
  display: none !important;
}

.cp-oferta-editor-integrado .modal-backdrop {
  display: none !important;
}
