/* forgot-password.css */

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f6fa;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.forgot-container {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  text-align: center;
}

h2 {
  margin-bottom: 1.5rem;
  color: #007bff;
  font-size: 1.6rem;
}

label {
  display: block;
  text-align: left;
  margin-bottom: 0.3rem;
  font-weight: 600;
  font-size: 1rem;
}

input[type="email"] {
  width: 100%;
  padding: 0.9rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

button {
  width: 100%;
  padding: 0.9rem;
  font-size: 1.1rem;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #0056b3;
}

.back-link {
  display: inline-block;
  margin-top: 1rem;
  color: #007bff;
  text-decoration: none;
  font-size: 0.95rem;
}

.back-link:hover {
  text-decoration: underline;
}

.success {
  color: green;
  font-weight: bold;
  margin-bottom: 1rem;
}

.error {
  color: red;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 500px) {
  .forgot-container {
    margin: 1rem;
    padding: 1.5rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  input,
  button {
    font-size: 1.05rem;
  }
}
