.formPopup {
  display: none;
  position: fixed;
  left: 30%;
  top: 3%;
  z-index: 2;
  width: 40%;
  opacity: 1;
  transition: opacity 2s linear;
  animation: openPopupAnimation 1s ease;
  /* Adjust the duration for the desired motion effect */
}

.formContainer {
  background-color: #fff;
  border-radius: .25rem;
}

/* .formContainer input[type=password] {
  width: 100%;
  padding: 15px;
  margin: 17px 0 15px 0;
  font-size: 1.2rem;
} */

.formContainer input[type=text]:focus {
  background-color: #ddd;
  outline: none;
}

.text-box {
  width: 100%;
  border-radius: .25rem;
  border: 1px solid #ced4da;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  height: 39px;
  padding: 0.375rem 0.75rem;
}

.modal-body {
  padding: 1.5rem;
  height: 70vh;
  overflow: auto;
}

.modal-header {
  background: var(--popup-header-background-color);
  display: flex;
  padding: 1rem 1rem;
  border-bottom: 1px solid #e9ecef;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
  justify-content: space-between;
  align-items: center;
}

.reg-button {
  border: none;
  background-color: var(--popup-header-background-color);
  color: white;
  padding: .3rem 1rem;
  display: block;
  width: 50%;
  margin: .6rem auto;
  border-radius: 5px;
  font-size: 1.1rem;
}

h5 {
  font-size: 1.25rem;
}

.pop-up-close-icon {
  font-size: 1.9rem;
  font-weight: 700;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
  background-color: transparent;
  border: 0;
}

.pop-up-close-icon:not(:disabled):not(.disabled) {
  cursor: pointer;
}

label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 17px;
}

.modal-footer {
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  padding: 1rem;
  border-top: 1px solid #e9ecef;
  border-bottom-right-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem;
  justify-content: flex-end;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

textarea.form-control {
  height: auto;
}

.form-control {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0.375rem 0.75rem;
  font-size: 1.2rem;
  color: #495057;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  margin: 15px 0px;
}

.form-group {
  padding-bottom: 15px;
}

.modal-title {
  font-size: 20px;
  color: white;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}

.error-message {
  color: red;
  font-size: 11px;
}

.modal-backdrop.show {
  opacity: .5;
}

.list {
  font-size: 17px;
}

@keyframes openPopupAnimation {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 600px) {
  .formPopup {
    top: 0;
    width: 100%;
    left: 0;
  }

  .form-control {
    height: 55px;
    margin: 10px 0px;
  }

  label {
    font-size: 20px;
    margin-bottom: 0px;
  }

  .btn-secondary {
    display: none;
  }

  .modal-footer {
    padding: 0;
    position: fixed;
    width: 100%;
    bottom: 0;
  }

  .btn-primary {
    width: 100%;
    border-radius: unset;
  }

  .btn {
    margin: 0;
    font-size: 25px;
  }

  .modal-body {
    height: 88vh;
    overflow: scroll;
  }
}