/* body {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  min-height: 100vh;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
} */

.containerdiv {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  margin-top: 3%;
  margin-bottom: 3%;
}

.forgot-password-container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(25, 118, 210, 0.15);
  padding: 2rem 1.5rem;
  max-width: 500px;
  width: 100%;
  position: relative;
  display: grid; 
  justify-content: center;
  align-items: center;
}

.forgot-password-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
  border-radius: 20px 20px 0 0;
}

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.form-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 8px 25px rgba(25, 118, 210, 0.3);
}

.form-avatar svg {
  width: 40px;
  height: 40px;
  fill: #fff;
}

.form-header h2 {
  color: #1976d2;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.form-header p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgb(92, 80, 80);
  border-radius: 12px;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #1976d2;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
  border: none;
}

.form-error {
  color: #e53935;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  display: none;
  font-weight: 500;
}

.form-error.active {
  display: block;
}

.form-success {
  color: #4caf50;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #e8f5e9;
  border-radius: 8px;
  display: none;
}

.form-success.active {
  display: block;
}

.btn-primary-fg {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
  margin-top: 1rem;
}

.btn-primary-fg:hover {
  background: #1976d2;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.back-link {
    margin-top: 2rem;
    text-align: center;
    width: 100%;
}

.back-link a {
  width: 100%;
    display: inline-block;
    text-decoration: none;
    color: #fff;            
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 24px;
    border: 1px solid #ddd; 
    border-radius: 12px;  
    background-color: #e53935;
    transition: all 0.3s ease;
}

.back-link a:hover {
    background-color: #e85a57; 
    color: #fff;            
    border-color: #e85a57;
    transform: translateY(-2px); 
    box-shadow: #e85a57;
}

.info-box {
  background: #f8fbff;
  border: 2px solid rgb(252, 10, 10); 
    border-left: 4px solid #1976d2;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.info-box p {
  margin: 0;
  color: #666;
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .forgot-password-container {
    padding: 2rem 1.5rem;
  }

  .form-header h2 {
    font-size: 1.5rem;
  }
}
