* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Questrial", sans-serif;
  background: #f5f5f5;
  color: #222;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.forgot-password-section {
  padding: 80px 0;
  min-height: calc(100vh - 400px);
  display: flex;
  align-items: center;
}

.forgot-password-container {
  max-width: 550px;
  margin: 0 auto;
  width: 100%;
}

.forgot-password-form {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 50px;
}

.form-icon {
  width: 80px;
  height: 80px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.form-icon i {
  font-size: 36px;
  color: #666;
}

.form-title {
  font-size: 28px;
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  text-transform: lowercase;
  margin-bottom: 15px;
  text-align: center;
}

.form-description {
  text-align: center;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 35px;
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: lowercase;
  margin-bottom: 8px;
  color: #222;
}

.form-input {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #e5e5e5;
  border-radius: 5px;
  font-size: 14px;
  font-family: "Questrial", sans-serif;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: #222;
}

.form-input.error {
  border-color: #e74c3c;
}

.form-input.success {
  border-color: #27ae60;
}

.btn {
  width: 100%;
  padding: 18px 30px;
  border: none;
  font-size: 14px;
  text-transform: lowercase;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s;
  font-family: "Questrial", sans-serif;
  font-weight: 600;
  margin-bottom: 15px;
}

.btn-primary {
  background: #222;
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: #fff;
  color: #222;
  border: 2px solid #222;
  padding: 16px 28px;
}

.btn-secondary:hover {
  background: #222;
  color: #fff;
}

.error-message {
  background: #fee;
  border: 1px solid #fcc;
  color: #c33;
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 13px;
  text-align: center;
  display: none;
}

.error-message.active {
  display: block;
  animation: fadeIn 0.3s;
}

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

.success-message {
  background: #efe;
  border: 1px solid #cfc;
  color: #363;
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 13px;
  text-align: center;
  display: none;
}

.success-message.active {
  display: block;
  animation: fadeIn 0.3s;
}

.back-to-login {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: #666;
}

.back-to-login a {
  color: #222;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

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

.info-box {
  background: #f9f9f9;
  border-left: 4px solid #666;
  padding: 15px 20px;
  margin-top: 25px;
  border-radius: 5px;
}

.info-box p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.info-box i {
  margin-right: 8px;
  color: #666;
}

@media (max-width: 768px) {
  .header-contact {
    display: none;
  }

  nav ul {
    display: none;
  }

  .forgot-password-form {
    padding: 40px 30px;
  }

  .form-title {
    font-size: 24px;
  }
}
