#signup-code-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  padding-top: 0;
  padding: 0 20px;
}

#signup-code-modal .modal-content {
  position: relative;
  margin: 5% auto 15% auto;
  background: #0b1821;
  box-shadow: 0px 4px 40px rgba(173, 228, 255, 0.3);
  border-radius: 40px;
  width: 360px;
  padding: 20px 40px;
  /* Could be more or less, depending on screen size */
  top: 20%;
}

#signup-code-modal .modal-content__wrapper {
  display: flex;
  flex-direction: column;
}

#signup-code-modal .modal-content__wrapper h3 {
  color: #fff;
  font-size: 20px;
  text-align: center;
}

#signup-code-modal .modal-content__wrapper .main-text {
  color: #fff;
  font-size: 16px;
  text-align: center;
  margin-bottom: 20px;
}

#signup-code-modal .modal-content__wrapper .main-text input {
  border: none;
  background: transparent;
  border-bottom: 1px solid var(--cst-blue);
  padding: 20px 0 4px 0;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #fff;
}

#signup-code-modal .modal-content__wrapper .main-text input:focus {
  outline: none;
}

#signup-code-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

#signup-code-buttons button {
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
  min-width: 230px;
  min-height: 40px;
  padding: 8px 0;
}

#request_error {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
    #signup-code-modal {
        padding: 0 5px;
    }
    #signup-code-modal .modal-content {
      padding: 20px;
    }
  }

@media (max-width: 425px) {
  #signup-code-modal .modal-content {
    width: 100%;
    padding: 20px 5px;
  }
}
