/* Reset Password Page - hérite des styles signin.css */

.form-hint {
  font-size: 0.75rem;
  color: #6B7280;
  margin-top: 0.25rem;
  display: block;
  transition: color 0.2s ease;
}

/* Modal Styles for Forgot Password */
.forgot-password-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.forgot-password-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1A202C;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6B7280;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #F3F4F6;
  color: #1A202C;
}

.modal-body {
  margin-bottom: 1.5rem;
}

.modal-description {
  font-size: 0.9375rem;
  color: #4C5A6E;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-form-group {
  margin-bottom: 1rem;
}

.modal-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.modal-form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  font-size: 1rem;
  color: #1A202C;
  background: #F9FAFB;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.modal-form-input:focus {
  outline: none;
  border-color: #0A58A5;
  background: white;
  box-shadow: 0 0 0 3px rgba(10, 88, 165, 0.1);
}

.modal-form-input.error {
  border-color: #EF4444;
  background: #FEF2F2;
}

.modal-footer {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.modal-button {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.modal-button-secondary {
  background: #F3F4F6;
  color: #374151;
}

.modal-button-secondary:hover {
  background: #E5E7EB;
}

.modal-button-primary {
  background: linear-gradient(97deg, #0A58A5 -8.25%, #161921 134.93%);
  color: white;
  box-shadow: 0 4px 12px rgba(10, 88, 165, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 88, 165, 0.4);
}

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

.modal-success {
  display: none;
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  color: #166534;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.modal-success.active {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-error {
  display: none;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.modal-error.active {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 600px) {
  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }
  
  .modal-title {
    font-size: 1.25rem;
  }
  
  .modal-footer {
    flex-direction: column;
  }
  
  .modal-button {
    width: 100%;
  }
}

