/* Add this to login.css or in the page directly */
.container.fade-in {
  animation: fadeIn 0.7s ease-in-out;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 35px;
  max-width: 420px;
  margin: 80px auto;
  text-align: center;
}

.container h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #333;
}

form input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

form input[type="email"]:focus {
  border-color: #3f51b5;
  box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.1);
  outline: none;
}

form button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #3f51b5, #5c6bc0);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: linear-gradient(135deg, #3949ab, #3f51b5);
}

/* Success and Error Boxes */
.success, .error {
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 18px;
  font-size: 14px;
  animation: fadeIn 0.5s ease;
}

.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

/* Link styling inside success message */
.success a {
  color: #2e7d32;
  font-weight: bold;
  text-decoration: underline;
}

/* Fade-in animation keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
