.modal {
  background: rgba(85, 84, 85, 0.8);
  height: 100dvh;
  position: fixed;
  left: 0;
  top: 0;
  /* margin-inline: 50%; */
  /* overflow: scroll; */
  /* -webkit-transform: translate(-50%);
  transform: translate(-50%); */
  width: 100vw;
  z-index: 2000;
}

.hidden {
  height: 0;
  visibility: hidden;
}

.modal-content {
  position: absolute;
  background: #fff;
  width: 100%;
  max-width: 375px;
  max-height: calc(100vh - 200px);
  overflow: scroll;
  top: 50%;
  left: 50%;
  z-index: 3;
  border-radius: 16px;
  padding: 64px 24px 16px;
  transform: translate(-50%, -50%);
}

.modal-content::-webkit-scrollbar {
  width: 0;
}

.modal-close-btn {
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 20px;
  height: 20px;
  aspect-ratio: 1 / 1;
  padding: 0;
  left: 15px;
  top: 16px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  background-image: url(./close.svg);
  z-index: 4;
}

.modal .main-btn {
  font-size: 14px;
  font-weight: 400;
  height: 48px;
  line-height: 18px;
  margin-top: 16px;
  max-width: 100%;
  min-height: 48px;
  width: 100%;
}

.modal .main-btn:disabled {
  color: #121620;
  background: #c7c7c7;
  cursor: not-allowed;
  opacity: 100%;
}

.modal .main-btn svg {
  margin-right: 12px;
  fill: #fff;
}

.modal .main-btn:disabled svg {
  fill: #121620;
}
