.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.modal.is-active {
  display: block;
}

.modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  /* position: relative; */
  /* max-width: 100%; */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 100dvh;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.modal-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3000;
  padding: 0;
  transition: all 0.4s;
}

.modal-close:hover {
  opacity: 0.8;
}

.modal-close-normal {
  width: 138px;
}

@media screen and (max-width: 767px) {
  .modal-close-normal {
    width: 63px;
  }
}
