/* Forgot Password Page Styles */
.forgot-password-page {
  background-color: #f8f9fa;
  min-height: 100vh;
}

.forgot-password-container {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 500px;
  width: 100%;
  margin: 40px auto;
  
}

.forgot-password-header {
  text-align: center;
  margin-bottom: 30px;
}

.forgot-password-header h1 {
  font-size: 28px;
  color: #333;
  margin-bottom: 8px;
}

.forgot-password-header p {
  color: #666;
  font-size: 16px;
}

.reset-step {
  margin-bottom: 30px;
}

.step-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.step-header h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 8px;
}

.step-header p {
  color: #666;
  font-size: 14px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.form-group input:focus {
  border-color: #4f46e5;
  outline: none;
}

.reset-btn {
  width: 100%;
  padding: 12px;
  background-color: #4f46e5;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-bottom: 10px;
}

.reset-btn:hover {
  background-color: #4338ca;
}

.reset-btn:disabled {
  background-color: #a5a5a5;
  cursor: not-allowed;
}

.reset-btn.secondary {
  background-color: #6c757d;
}

.reset-btn.secondary:hover {
  background-color: #545b62;
}

.countdown {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #dc3545;
  margin-bottom: 15px;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 5px;
  border: 1px solid #dee2e6;
}

.success-message {
  color: #28a745;
  text-align: center;
  margin-bottom: 15px;
  padding: 10px;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  display: none;
}

.error-message {
  color: #dc3545;
  text-align: center;
  margin-bottom: 15px;
  padding: 10px;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  display: none;
}

.back-to-login {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #666;
}

.back-to-login a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 500;
}

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

/* Progress indicator */
.progress-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.progress-step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 10px;
  position: relative;
}

.progress-step.active {
  background-color: #4f46e5;
  color: white;
}

.progress-step.completed {
  background-color: #28a745;
  color: white;
}

.progress-step::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 20px;
  height: 2px;
  background-color: #e9ecef;
  transform: translateY(-50%);
}

.progress-step:last-child::after {
  display: none;
}

.progress-step.completed::after {
  background-color: #28a745;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reset-step {
  animation: fadeIn 0.3s ease;
}

/* Responsive styles */
@media (max-width: 576px) {
  .forgot-password-container {
    padding: 30px 20px;
    margin: 20px auto;
  }

  .forgot-password-header h1 {
    font-size: 24px;
  }

  .step-header h3 {
    font-size: 18px;
  }

  .progress-step {
    width: 25px;
    height: 25px;
    font-size: 12px;
    margin: 0 5px;
  }

  .progress-step::after {
    width: 10px;
  }
}
