/* stylelint-disable indentation */
#overlay {
  position: fixed;
  opacity: 0;
  transition: 0.5s ease-in-out;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 7;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

#overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: 0.5s ease-in-out;
  display: flex;
  padding: 16px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  border: 1px solid #dfe1e6;
  background: #fff;
  z-index: 10;
  min-width: 90vw;
  min-height: 90vh;
}

.modal.active {
  transform: translate(-50%, -50%) scale(0.96, 0.9);
}
