body.icef-rebuy-cooldown-modal-open {
  overflow: hidden;
}

.icef-rebuy-cooldown-modal[aria-hidden="true"] {
  display: none;
}

.icef-rebuy-cooldown-modal[aria-hidden="false"] {
  display: block;
}

.icef-rebuy-cooldown-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.icef-rebuy-cooldown-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
}

.icef-rebuy-cooldown-modal__dialog {
  position: relative;
  width: min(680px, calc(100vw - 32px));
  margin: 8vh auto 0;
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  max-height: 84vh;
  overflow: auto;
}

.icef-rebuy-cooldown-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.icef-rebuy-cooldown-modal__content p:first-child {
  margin-top: 0;
}

.icef-rebuy-cooldown-modal__content a,
.icef-rebuy-cooldown-modal__content a:hover,
.icef-rebuy-cooldown-modal__content a:active,
.icef-rebuy-cooldown-modal__content a:focus {
  color: #f59d1b;
  font-weight: bold;
}
