.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  display: none;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  max-width: 350px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  background-color: white;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;

  > span {
    text-align: center;
    color: coral;
    font-weight: bold;
  }

  > div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;

    > div {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
  }

  > .input-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }
}
