.confirm-modal {
  box-sizing: border-box;
  height: auto;
  top: 28rem;
  transform: translate(-50%, 0);
}
/* #payment-confirm-modal {
  position: relative;
} */
#payment-confirm-modal h3 {
  margin-top: 0;
}
#payment-confirm-modal .modal-bottom-bar {
  margin-bottom: 0;
  margin-top: 5px;
}

#pay-success-modal,
#pay-status-modal,
#pay-fail-modal
{
  height: auto;
}
#pay-fail-modal::before {
  content: '';
  width: 100vw;
  height: 100vh;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}
.message-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
}
.message-content span {
  color: #fe7a1f
}
.message-content span.err {
  color: #e60012
}
.message-content a {
  display: inline;
  background: linear-gradient(90deg, #FE676E 0%, #FD8F52 95.31%);
  color: white;
  border-radius: 5px;
  padding: 0 12px;
  line-height: 36px;
  text-decoration: none;
  font-size: 14px;
  margin-top: 24px;
  width: 200px;
  text-decoration: none;
  text-align: center;
}
.message-content a:active {
  opacity: .75;
}

#payment-cancel, #payment-ok {
  font-size: 16px;
  font-weight: 500;
}

#payment-cancel {
  background-color: transparent;
  border: 1px solid #5c4d44;
  color: #5c4d44;
}
#payment-ok {
  background: linear-gradient(90deg, #FE676E 0%, #FD8F52 95.31%)
}

.payment-cancel-wrap {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
}

.payment-cancel-wrap>a {
  width: 100%;
  height: 100%;
  display: block;
  background: url(https://elifelimo.s3.us-east-2.amazonaws.com/art/home/v2/images/close_icon.png) no-repeat center;
  background-size: 16px 16px;
  cursor: pointer;
}

@media screen and (min-width: 320px) and (max-width: 767.9px) {
  .confirm-modal {
    width: 92%;
    top: 22rem;
  }
  #payment-cancel, #payment-ok {
    height: 44px;
  }
}
