.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__container {
  background-color: #fff;
  padding: 3rem;
  max-width: 70rem;
  max-height: 100vh;
  border-radius: 0.4rem;
  overflow-y: auto;
  box-sizing: border-box;
  /* background-image: url(https://i.imgur.com/nwTm66v.jpeg); */
  border-radius: 8px;
  border: 2px solid #e500c4;
  color: #e500c4;
  background-color: #0c0c0ca3;
  border: #d5399d 3px solid;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal__title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0070ec;
  box-sizing: border-box;
}

.modal__close {
  background: transparent;
  border: 0;
}

.modal__header .modal__close:before {
  content: "\2715";
}

.modal__content {
  margin-top: 2rem;
  margin-bottom: 2rem;
  line-height: 1;
  line-height: 1.4;
  /* color: rgb(78, 73, 73); */
}

.white-text {
  color: #fff !important;
}

.modal__close:hover {
  cursor: pointer;
}

.modal__btn {
  font-size: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  background-color: #1771af;
  color: #fff !important;
  border-radius: 0.25rem;
  border-style: none;
  border-width: 0;
  cursor: pointer;
  -webkit-appearance: button;
  text-transform: none;
  overflow: visible;
  line-height: 1.15;
  margin: 0;
  will-change: transform;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: -webkit-transform 0.25s ease-out;
  transition: transform 0.25s ease-out;
  transition: transform 0.25s ease-out, -webkit-transform 0.25s ease-out;
}

.modal__btn:focus,
.modal__btn:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.modal__btn-primary {
  background-color: #00449e;
  color: #fff;
}

.modal__buy__form {
  display: inline-block;
}
.modal__buy__form__quantity {
  position: relative;
}
.modal__buy__form input[type="number"]::-webkit-inner-spin-button,
.modal__buy__form input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.modal__buy__form input[type="number"] {
  -moz-appearance: textfield;
}
.modal__buy__form__quantity input {
  font-family: "Roboto", sans-serif;
  font-size: 2.4rem;
  width: 20rem;
  height: 7rem;
  line-height: 1.65;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  padding-left: 20px;
  border: 1px solid #eee;
}
.modal__buy__form__quantity input:focus {
  outline: 0;
}
.modal__buy__form__quantity .quantity-nav {
  float: left;
  position: relative;
  height: 7rem;
}
.modal__buy__form__quantity .quantity-button {
  position: relative;
  cursor: pointer;
  border-left: 1px solid #eee;
  width: 4.5rem;
  text-align: center;
  font-size: 2.4rem;
  line-height: 1;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.modal__buy__form__quantity .quantity-button.quantity-up {
  position: absolute;
  height: 50%;
  top: 0;
  border-bottom: 1px solid #eee;
}
.modal__buy__form__quantity .quantity-button.quantity-down {
  position: absolute;
  bottom: -1px;
  height: 50%;
}

.modal__content__buy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal__buy__check {
  margin: 4rem;
}

@keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes mmslideIn {
  from {
    transform: translateY(15%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes mmslideOut {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10%);
  }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}

.dark-modal {
  background-color: #303133;
}

.modal-header-text {
  font-size: 28px;
  font-weight: 400;
}

.modal-subheader-text {
  font-size: 18px;
  font-weight: 300;
  margin-top: 10px;
  margin-bottom: 14px;
}

.modal-subheader-text-nmb {
  margin-bottom: 5px;
}

.modal-error-text {
  font-size: 18px;
  font-weight: 400;
  margin-top: 14px;
  color: rgb(255 96 96);
}

.modal-text {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 14px;
}

.modal-text.w-limited {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.modal-dark {
  background: #303133;
}

.modal-dark.transparent {
  background: #171d3f00;
}

.modal-blue {
  background: #33439c;
  background: #33439c;
  background: linear-gradient(69deg, #262c50 53%, rgb(33 55 114 / 85%) 100%);
  background: linear-gradient(69deg, #ff493c 53%, rgb(203 104 104 / 88%) 100%);
  /* background: linear-gradient( 
      69deg, #c1c1c1 53%, rgb(251 250 250 / 63%) 100% ); */
  color: #303133;
  min-height: 300px;
  position: relative;
  overflow-y: hidden;
}

.modal-purple {
  background: #8d45f6;
  background: #8d45f6;
  background: linear-gradient(
    69deg,
    #8d45f6 53%,
    rgba(167, 104, 203, 0.88) 100%
  );
  /* background: linear-gradient( 
      69deg, #c1c1c1 53%, rgb(251 250 250 / 63%) 100% ); */
  color: #303133;
  min-height: 300px;
  position: relative;
  overflow-y: hidden;
}

.modal-yellow {
  min-height: 300px;
  position: relative;
  overflow-y: hidden;
  background: #ffff00;
  background: linear-gradient(69deg, #ffff00 53%, #ffff00de 100%);
  color: #303133;
}

.modal-yellow .many-modal-title {
  color: #000;
}

.modal-yellow .many-modal-mm-text {
  color: #000;
}

.modal-yellow .many-modal-mm-text.green {
  color: #000;
}

.modal-yellow .many-modal-mm-text.red {
  color: #000;
}

.modal-yellow .many-modal-tx-link {
  color: #043aff;
}

.many-modal-title {
  color: #ffffff;
}

.many-modal-mm-text {
  font-size: 18px;
  padding-top: 87px;
  color: #ffffff;
}

.many-modal-mm-text.green {
  color: #5dd048;
  color: #fff;
}

.many-modal-mm-text.red {
  color: #ffffff;
  /* background-color: #ffffff;
      padding: 8px;
      padding-left: 12px;
      padding-right: 12px;
      width:fit-content;
      margin: auto; */
}

.many-modal-footer {
  position: absolute;
  bottom: 10px;
  text-align: center;
  width: 100%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.pw-modal {
  position: relative;
}

.pw-modal-img {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  text-align: center;
}

.pw-modal-img.logo {
  width: 300px;
}

.many-modal-img {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  text-align: center;
}

.many-modal-img-2 {
  margin: auto;
  text-align: center;
}

.many-modal-img.logo {
  top: 58px;
  top: 38px;
  width: 300px;
}

.many-modal-loading-gif {
  padding-top: 9px;
  width: 80px;
  margin: auto;
  text-align: center;
}

.many-modal-confirmed-msg {
  font-size: 14px;
  font-weight: 400;
  z-index: 100;
  position: absolute;
  bottom: 112px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  text-align: center;
  width: 300px;
  margin: auto;
}

.many-modal-center-logo {
  text-align: center;
  margin: auto;
  position: absolute;
  width: 50px;
  z-index: 99;
  top: 9px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.many-modal-close-btn {
  font-size: 22px;
  cursor: pointer;
  z-index: 100;
  position: absolute;
  top: 2px;
  right: 16px;
  text-align: center;
  transition: all 0.5s;
  color: #ff6a5f;
  color: #fff;
}

.modal-white .many-modal-close-btn {
  color: rgb(173 173 173);
}

.many-modal-close-btn:hover {
  color: #d82939;
}

.many-modal-tx-link {
  z-index: 100;
  font-size: 18px;
  color: #ffffff;
  color: #fff700;
}

.modal-dark-content {
  padding: 12px;
}

.modal-dark-content.alt {
  padding: 0;
  padding-top: 12px;
}

.modal-nodereg {
  width: 95%;
  max-width: 1000px;
  text-align: center;
  padding: 0;
  overflow-x: hidden;
}

.modal-nodereg.slim {
  max-width: 500px;
}
