/* FIX DEFINITIVO MODALES BOOTSTRAP */

.modal {
  text-align: center;
}

.modal-dialog {
  display: inline-block !important;
  text-align: left;
  max-width: 800px;
  width: 100%;

  /* CENTRADO VERTICAL REAL */
  margin: 0;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

/* Neutralizamos Bootstrap */
.modal-dialog-centered {
  align-items: unset !important;
  justify-content: unset !important;
}
/* === CENTRADO VERTICAL REAL SIN ROMPER ANCHO === */

.modal.show {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Evita que inline-block rompa el flex */
.modal.show .modal-dialog {
  margin: 0 !important;
}


