body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: url('/Pictures/ABG.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Profile icon */
.user-icon {
  width: 80px;
  margin-bottom: 20px;
}

/* Form container */
.container {
  width: 100%;
  max-width: 500px;
  padding: 20px;
}
.container h2 {
    text-align: center;
}
/* Login box with blur */
.forgotForm {
  background: rgba(18, 92, 0, 0.6); /* translucent green */
  border: 1px solid white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 8px 30px rgba(1, 1, 1, 0.5);
  color: #fff;
  text-align: center;
}
/* Input fields */
.forgotForm input[type="text"],
.forgotForm input[type="email"],
.forgotForm input[type="password"]{
  width: 90%;
  padding: 12px 15px;
  margin: 10px 0;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  color: black;
  font-size: 16px;
}
.forgotForm input::placeholder {
  color: white;
}

button {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background-color: #96ffa7;
}
.popup {
  width: 90%;
  padding: 12px 15px;
  margin: 10px 0;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 1);
  color: black;
  font-size: 16px;
  transition: opacity 1s ease-out;  /* Add transition for fade effect */
}

.popup.error {
  background-color: #f2dede;
  color: #a94442;
  border-color: #ebccd1;
}

.popup.fade {
  opacity: 0; /* Hide the popup after fading out */
}
.reset-btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #4CAF50;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  box-sizing: border-box;
}
.message{
    justify-content: center;
}
@media (max-width: 768px) {
    body {
        width: 100%;
        height: 100%;
        overflow-x: hidden;
        margin-top: -100px;
        justify-content: center;
    }
    .message {
        width: 100%;
        align-self: center;
        box-sizing: border-box;
        
    }
  .container {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  .forgotForm {
    padding: 30px 20px;
    border-radius: 15px;
  }

  .user-icon {
    width: 60px;
  }

  .forgotForm h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .forgotForm input[type="text"],
  .forgotForm input[type="email"],
  .forgotForm input[type="password"] {
    width: 90%;
    padding: 10px 12px;
    font-size: 14px;
  }
  
  button {
    width: 100%;
    padding: 10px;
    font-size: 15px;
  }

  .popup {
    font-size: 14px;
    padding: 10px 12px;
    width: 90%;
  }
    .reset-btn {
    font-size: 4vw;
    padding: 10px 5vw;
    max-width: 90%;
    width: 100%;
  }
}