.forget_page {
  padding: 1px;
  position: relative;
}
.background {
  position: absolute;
  width: 100%;
  left: 0;
  z-index: -3;
  top: 0;
  height: 40%;
}

.forget_text {
  background-color: var(--b-g);
  padding: 10px;
  border-radius: 10px;
  height: fit-content;
  box-sizing: border-box;
  margin-top: 50px;
}
.forget {
  height: fit-content;
  margin-top: 30px;
}
.forget_text > p {
  color: var(--text-color);
  text-align: start;
  margin-top: 2px;
}
.forget {
  display: grid;
  grid-template-columns: 40% 45%;
  justify-content: space-between;
  width: 80%;
  margin-left: 10%;
  height: fit-content;
  /* align-items: center; */
}
.forget img {
  width: 100%;
  height: 70%;
  object-fit: contain;
}

form {
  margin-top: 20px;
}
.forget_text .password,
.forget_text .password div {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  background-color: white;
  padding: 0px 8px !important;
  border-radius: 10px;
  width: 80%;
  margin-left: 10%;
  margin-top: 10px;
}
.forget_text .password {
  justify-content: space-between;
}
.forget_text .password div {
  width: 90%;
  margin-left: 0;
}
.forget_text,
.new_pass {
  margin-top: 60px !important;
}
.new_pass {
  height: fit-content;
  padding-bottom: 50px;
}
form > div a {
  color: var(--text-color);
  margin-top: 20px;
  display: block;
  font-weight: 400;
  font-size: 12px;
}
form .password div {
  padding: 0;
  width: 90%;
  margin: 0;
}
form div input {
  outline: none;
  border: none;
  text-align: end;
  margin-right: 5px;
  width: 100%;
}
form .log_button {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
form .log_button button {
  cursor: pointer;
  outline: none;
  border: none;
  padding: 16px;
  border-radius: 12px;
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(51, 51, 51, 1);
  color: white;
  font-weight: 700;
  font-family: var(--main-font);
}
form .log_button button:hover {
  background-color: #0b0909;
}
.forget_text .diff_p {
  margin-top: 20px;
  text-align: center;
  position: relative;
}
.forget_text .diff_p::before {
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
  position: absolute;
  content: '';
  width: 30%;
  height: 1px;
  background-color: var(--text-color);
  top: 70%;
  left: -20px;
}
.forget_text .diff_p::after {
  width: 80%;
  margin-left: 10%;
  position: absolute;
  content: '';
  width: 30%;
  height: 1px;
  background-color: var(--text-color);
  top: 70%;
  left: 56%;
}
.diff_forget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  /* margin-left: 10%;
    margin-right: 10%; */
}
.diff_forget a {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}
.diff_forget i {
  margin-left: 10px;
}
.forget_text .return_log {
  text-align: end;

  width: 80%;
  margin-left: 10%;
}
@media (max-width: 1050px) {
  .diff_forget {
    flex-direction: column;
  }
  .reg_button {
    width: 90%;
    margin-left: 5%;
    box-sizing: border-box;
  }
  .forget img {
    height: 100%;
    width: 95%;
    margin-left: 5%;
  }
  .background {
    height: 55%;
  }
}
@media (max-width: 950px) {
  .forget {
    display: flex;
    flex-direction: column;
  }
  .forget img {
    width: 85%;
  }
  form .password,
  form .input {
    width: 90%;
    margin-left: 5%;
    box-sizing: border-box;
    justify-content: space-around;
  }
  .forget_text,
  .new_pass {
    margin-top: 0 !important;
    padding-bottom: 20px;
  }
}
@media (max-width: 600px) {
  .background {
    height: 50%;
  }
  .forget_text {
    width: 100%;
  }
  .forget {
    width: 100%;
    margin-left: 0;
  }
}
