

body {
  margin: 0;
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  font-family: Arial, sans-serif;

  background:
    linear-gradient(
      135deg,
      #f4f6ff,
      #e9e9f5
    );

  color: #263238;
}



.forgot-password-page {
  width: 100%;
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px;
  box-sizing: border-box;
}




.forgot-password-card {
  width: 100%;
  max-width: 480px;

  padding: 42px;

  background: rgba(
    255,
    255,
    255,
    0.85
  );

  border: 1px solid #e2e2e8;

  border-radius: 20px;

  box-shadow:
    0 20px 50px
    rgba(0, 0, 0, 0.08);
}




.forgot-password-card h1 {
  margin: 0 0 12px;

  font-size: 36px;

  font-weight: 700;

  color: #2d3748;
}


.forgot-password-card h2 {
  margin: 0 0 30px;

  font-size: 16px;

  font-weight: 400;

  line-height: 1.6;

  color: #64748b;
}




#forgotPasswordForm {
  display: flex;
  flex-direction: column;

  gap: 18px;
}




#forgotPasswordForm input {
  width: 100%;

  padding: 15px 16px;

  box-sizing: border-box;

  font-size: 15px;

  border: 1px solid #d6d9e0;

  border-radius: 12px;

  outline: none;

  background: #ffffff;

  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}


#forgotPasswordForm input:focus {
  border-color: #5b4fcf;

  box-shadow:
    0 0 0 3px
    rgba(91, 79, 207, 0.15);
}




#forgotPasswordForm button {
  width: 100%;

  padding: 15px;

  border: none;

  border-radius: 12px;

  font-size: 16px;

  font-weight: 600;

  color: white;

  background:
    linear-gradient(
      135deg,
      #6254d6,
      #4338b7
    );

  cursor: pointer;

  transition:
    transform 0.2s,
    opacity 0.2s;
}


#forgotPasswordForm button:hover {
  transform: translateY(-2px);

  opacity: 0.95;
}


#forgotPasswordForm button:active {
  transform: translateY(0);
}


#forgotPasswordForm button:disabled {
  cursor: not-allowed;

  opacity: 0.6;
}




#message {
  min-height: 20px;

  margin: 18px 0 0;

  text-align: center;

  font-size: 16px;
  color: red;
}




.back-to-login {
  margin-top: 25px;

  text-align: center;

  font-size: 15px;

  color: #64748b;
}


.back-to-login a {
  color: #5145b9;

  font-weight: 600;

  text-decoration: none;
}


.back-to-login a:hover {
  text-decoration: underline;
}




@media (
  max-width: 600px
) {

  .forgot-password-card {
    padding: 30px 22px;

    border-radius: 16px;
  }


  .forgot-password-card h1 {
    font-size: 30px;
  }

}