a.forgot:link,
a.forgot:visited {
  text-decoration: none;
  color: #8ABE53;
  margin-top: 32px;
}

a.forgot:hover {
  text-decoration: underline;
}

button.forgot {
  position: relative;
  background-color: #7a7a7a;
  border-radius: 6px;
  height: 40px;
  width: 340px;
  color: white;
  margin-top: 32px;
  font-size: 16px;
  line-height: 1;
  /* font-weight: 600; */
  transition: all 0.2s ease-in-out;
}

button.forgot:hover {
  cursor: not-allowed;
}

button.forgot-enabled {
  background-color: black;
}

button.forgot-enabled:hover {
  color: #8ABE53;
  cursor: pointer;
}

div.forgot {
  border-radius: 6px;
  background-color: white;
  width: 668px;
  height: fit-content;
  padding: 32px 64px;  
}

div.forgot-err {
  margin: 4px 0px;
  min-height: 28px;
  color: red;
  font-size: 14px;
}

form.forgot {
  width: 100%;
}

input.forgot {
  padding: 0;
  margin: 32px 0px 0px 0px;
  width: 340px;
  height: 40px;
  border: 2px solid black;
  border-radius: 20px;
  padding-left: 24px;
  font-size: 16px;
  transition: background-color 0.3s ease-in-out, border 0.3s ease-in-out;
}

input.forgot:hover {
  background-color: rgb(245, 245, 245);
}

input.forgot:focus {
  border: 2px solid #096a2e;
  background-color: rgb(245, 245, 245);
}

input.forgot:focus + label.forgot,
input.forgot:not(:placeholder-shown) + label.forgot {
  left: 44px;
  color: black;
  font-weight: 600;
}

label.forgot {
  position: absolute;
  top: 40px;
  left: 124px;
  color: #7a7a7a;
  font-size: 18px;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
}

#mail-ico {
  position: absolute;
  left: 62px;
  fill: white;
  transition: all 0.1s ease-in-out;
}
/* Responsive styles for forgot password */
@media (max-width: 768px) {
  div.forgot {
    width: 90%;
    max-width: 500px;
    padding: 24px 32px;
  }

  button.forgot,
  input.forgot {
    width: 100%;
    max-width: 340px;
  }

  label.forgot {
    left: 24px;
  }

  input.forgot:focus + label.forgot,
  input.forgot:not(:placeholder-shown) + label.forgot {
    left: 24px;
  }
}

@media (max-width: 480px) {
  div.forgot {
    width: 95%;
    padding: 20px 24px;
  }

  button.forgot,
  input.forgot {
    width: 100%;
    font-size: 15px;
  }

  label.forgot {
    font-size: 16px;
    left: 44px;
  }

  input.forgot:focus + label.forgot,
  input.forgot:not(:placeholder-shown) + label.forgot {
    font-size: 14px;
  }
}
