/* Styles for Forgot Password page */

body {
  margin: 0;
  background: url('../images/background.webp') center/cover no-repeat fixed;
  position: relative;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #111;
}

/* dim overlay */
body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.forgot-password-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.forgot-password-form {
  width: 100%;
  max-width: 420px;
  padding: 40px 32px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.forgot-password-container h1 {
  margin-bottom: 24px;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccd6e0;
  border-radius: 6px;
  font-size: 15px;
  transition: border 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #4c8dff;
  box-shadow: 0 0 0 3px rgba(76, 141, 255, 0.2);
}

.error-text {
  color: #d93025;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.hidden {
  display: none;
}

.btn-primary {
  width: 100%;
  padding: 12px 18px;
  background: linear-gradient(135deg, #4c8dff 0%, #527bff 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(76, 141, 255, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(76, 141, 255, 0.25);
}

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

.back-to-login {
  margin-top: 1.25rem;
  text-align: center;
}

.back-to-login a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 600;
}

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