.Modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.Modal::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background: rgba(0, 0, 0, 0.6);
}

.Modal__title {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
  text-align: center;
}

.Modal__description {
  padding-bottom: 32px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-gray);
  text-align: center;
}

.Modal__box {
  position: relative;
  z-index: 151;
  display: flex;
  flex-direction: column;
  max-width: calc(100% - 30px);
  min-height: 537px;
  max-height: calc(var(--vh, 1vh) * 100 - 30px);
  background: var(--white);
  border: 1px solid var(--light-2-blue);
  border-radius: 6px;
}

.Modal__box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 0;
}

.Modal__box-center {
  overflow: auto;
}

.Modal__box-center::-webkit-scrollbar {
  width: 8px;
}

.Modal__box-center::-webkit-scrollbar-track {
  background-color: var(--white);
}

.Modal__box-center::-webkit-scrollbar-thumb {
  background-color: var(--light-5-gray);
  border-radius: 10px;
}

.Modal__box-content {
  margin: 0 auto 37px;
}

.Modal__box-content--top,
.Modal__box-content--main {
  max-width: 470px;
  padding: 0 16px;
  margin: 0 auto;
}

.Modal__box-content--main {
  max-width: 540px;
}

.Modal__box-footer {
  padding: 16px;
  margin-top: auto;
  border-top: 1px solid var(--light-2-blue);
}

.Modal__box-footer--content {
  max-width: 470px;
  margin: auto;
}

.Modal__btn-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  color: var(--text-color);
  cursor: pointer;
  background: transparent;
  border: 0;
  transition: scale 300ms;
}

.Modal__btn-close:hover {
  scale: 1.1;
}

@media (min-width: 1170px) {
  .Modal__box {
    min-width: 670px;
    max-height: calc(100% - 30px);
  }

  .Modal__box-content--top,
  .Modal__box-content--main {
    padding: 0;
  }
}

@media (max-width: 599px) {
  .Modal__box {
    width: 100%;
    max-width: unset;
    height: 100%;
    max-height: unset;
    border-radius: 0;
  }
}

.Modal__box--small {
  width: calc(100% - 32px);
  min-width: unset;
  max-width: 573px;
  min-height: unset;
}

@media (max-width: 599px) {
  .Modal__box--small {
    width: auto;
    max-width: unset;
  }
}

.TransactionsModal__content {
  max-width: 470px;
  padding-bottom: 30px;
  margin: 0 auto;
}

.TransactionsModal__label {
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-gray);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.TransactionsModal__box:not(:last-of-type) {
  margin-bottom: 24px;
}

.Steps__list {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  list-style: none;
}

.Steps__list li:not(:last-of-type) {
  margin-right: 4px;
}

.Steps__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--text-color);
  text-align: center;
  background-color: var(--light-2-blue);
  border-radius: 50%;
}

.Steps__item--completed,
.Steps__item--active {
  color: var(--white);
  background-color: var(--text-color);
}

.Steps__item-icon {
  width: 10px;
}
