.forgot-password-page {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f5f5 60%, #e3f0ff 100%);
  font-family: 'Tajawal', Arial, sans-serif;
  padding: 1rem;
  box-sizing: border-box;
}

.forgot-password-container {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 32px rgba(0, 51, 102, 0.10);
  padding: 2.7rem 2.2rem 2.2rem;
  max-width: 450px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}

.forgot-password-container::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 130px;
  height: 130px;
  background: linear-gradient(135deg, #2176ff 0%, #1e5bb8 100%);
  opacity: 0.08;
  border-radius: 50%;
  z-index: 0;
}

.forgot-password-container::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, #2176ff 0%, #1e5bb8 100%);
  opacity: 0.06;
  border-radius: 50%;
  z-index: 0;
}

.forgot-password-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2176ff 0%, #1e5bb8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.forgot-password-icon i {
  font-size: 1.8rem;
  color: #fff;
}

.forgot-password-container h2 {
  font-size: 1.6rem;
  font-weight: bold;
  background: linear-gradient(135deg, #2176ff 0%, #1e5bb8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  z-index: 1;
}

.forgot-password-container p {
  color: #666;
  text-align: center;
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
  z-index: 1;
}

.forgot-password-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1;
}

.forgot-password-form label {
  font-weight: 600;
  color: #2176ff;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  display: block;
}

.input-group {
  width: 100%;
}

.forgot-password-form input {
  padding: 0.85rem 1rem;
  border: 1.5px solid #e0e5ec;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  font-family: 'Tajawal', sans-serif;
  background: #fafbfc;
  width: 100%;
  box-sizing: border-box;
}

.forgot-password-form input:focus {
  border-color: #2176ff;
  box-shadow: 0 0 0 3px rgba(33, 118, 255, 0.1);
}

.send-reset-btn {
  background: linear-gradient(135deg, #2176ff 0%, #1e5bb8 100%);
  color: white;
  border: none;
  padding: 0.95rem 2rem;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.5rem;
  font-family: 'Tajawal', sans-serif;
}

.send-reset-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(33, 118, 255, 0.3);
}

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

.forgot-password-footer {
  text-align: center;
  z-index: 1;
}

.forgot-password-footer a {
  color: #2176ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.forgot-password-footer a:hover {
  color: #1e5bb8;
  text-decoration: underline;
}

/* Alerts */
.alert {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  width: 100%;
  z-index: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  box-sizing: border-box;
}

.alert i {
  margin-left: 0.3rem;
}

.alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
}

/* Responsive */
@media (max-width: 600px) {
  .forgot-password-container {
    margin: 0.5rem;
    padding: 2rem 1.5rem;
    max-width: 100%;
  }

  .forgot-password-container h2 {
    font-size: 1.4rem;
  }
}

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