main {
  width: 100%;
  height: 60vh;
  border: 1px solid black;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* If email does not exist as an account error messgage container*/
.errorMessage {
  display: flex;
  gap: 5px;
}

.messageText,
.messageTextOTPError {
  font-size: 0.9rem;
  font-style: italic;
  color: red;
  text-decoration: underline;
  transition: all 0.2s ease;
}
.errorMessage a {
  color: goldenrod;
  text-decoration: underline;
  cursor: pointer;
  transition: all 0.2s ease;
}
.errorMessage a:hover {
  transform: scale(0.9);
}
.hideError {
  display: none;
}
.resetForm {
  position: relative;
  border: 1px solid black;
  box-shadow: 3px 3px 12px black;
  width: 400px;
  height: 270px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.resetForm .OTPEmail,
.verifiyResetOTP,
.newPassword {
  width: 80%;
  height: 60%;
  padding: 5px;
}
.newPassword .resetOtpBTN {
  margin-top: 10px;
}
.newPassword .resetOtpBTN .changePassword {
  width: 70%;
}
.newPassword .resetOtpBTN .changeCancel {
  width: 28%;
}
.hideForm {
  display: none;
}
.resetForm input {
  width: 100%;
  padding: 3px;
}
.resetForm p {
  margin: 15px 0px;
  line-height: 1;
}
.resetForm button {
  width: 49%;
  padding: 5px;
  border: none;
  font-size: 1.2rem;
  font-weight: bolder;
  font-family: "Courier New", Courier, monospace;
  cursor: pointer;
}
.resetForm .buttonsReset {
  background-color: goldenrod;
  color: white;
  transition: all 0.2s linear;
  &:hover {
    scale: 0.95;
    border: 1px solid white;
  }
}
.resetForm .cancelReset {
  color: darkblue;
  transition: all 0.2s linear;
  &:hover {
    scale: 0.95;
  }
}
/*the back button in the user creation form ends here*/
.eye {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-10%);
  cursor: pointer;
}
.enterPassword,
.reEnterPassword {
  position: relative;
}
.eye img {
  width: 30px;
  height: 30px;
}
.hidePW,
.hideCPW {
  visibility: hidden;
}
.showBTNHide {
  visibility: visible;
}
.hideeye {
  scale: 0;
}

.messageReset {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: goldenrod;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 5px solid black;
}
.hidemessage {
  display: none;
}
.messageReset p {
  font-size: 1.2rem;
}
.loaderReset {
  border: 8px solid #f3f3f3;
  border-radius: 50%;
  border-top: 8px solid goldenrod;
  width: 60px;
  height: 60px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.backBTN {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid goldenrod;
  box-shadow: -2px -2px 0px goldenrod inset;
  cursor: pointer;
  transition: all 0.2s ease;
  &:hover {
    scale: 0.92;
  }
}
.backBTN img {
  width: 100%;
  height: 100%;
  filter: invert(1);
}
