.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 20px;
  justify-content: center;
  align-items: center;
}

.modal-open {
  overflow: hidden;
}

.modal__content {
  margin: auto;
  background-color: #fff;
  margin: 5% auto;
  padding: 60px 20px;
  width: 100%;
  max-width: 640px;
  border-radius: 20px;
  color: #000;
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.modal__close {
  position: absolute;
  right: 16px;
  top: 16px;

  svg path {
    transition: stroke ease .3s;
  }

  &:hover {
    svg path {
      stroke: var(--hover-pink);
    }
  }
}

.modal__close:hover,
.modal__close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal__title {
  text-align: center;
  color: #000;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.modal__file-select {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: var(--color-pink);
  padding: 14px 26px;
  margin-top: 16px;
  transition: background ease .3s;

  &:hover {
    background: var(--hover-pink);
  }
}

.modal__file-select.disabled {
  background: #9f9f9f;
  cursor: default;
}

.modal__input {
  display: none;
}
