.merchant-modal-opened {
  overflow: hidden;
}

.merchant-modal {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 25px;
  visibility: hidden;
  opacity: 0;
  z-index: 99999;
  -webkit-transition: ease opacity 300ms;
  transition: ease opacity 300ms;
}
.merchant-modal:before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}
.merchant-modal.show {
  opacity: 1;
  visibility: visible;
}
.merchant-modal .merchant-modal-body {
  position: relative;
  width: 100%;
  max-width: 600px;
  background-color: #FFF;
  padding: 25px;
  border-radius: 4px;
}

[data-merchant-modal-close] {
  position: absolute;
  z-index: 1;
  right: 25px;
  top: 25px;
  width: 17px;
  height: 17px;
  font-size: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  opacity: 0.6;
  -webkit-transition: ease opacity 300ms;
  transition: ease opacity 300ms;
}
[data-merchant-modal-close] svg {
  width: 1em;
  height: 1em;
  fill: #212121;
}
[data-merchant-modal-close]:hover {
  opacity: 1;
}