.forgot-password-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 100px);
  padding: 20px;
  background: linear-gradient(to bottom, #f4f7fa 0%, #e8ecf1 100%);
}
.forgot-password-card {
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  max-width: 480px;
  width: 100%;
  padding: 40px 35px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.forgot-password-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e8ecf1;
}

.forgot-password-title {
  font-size: 22px;
  font-weight: 500;
  color: #1e3a5f;
  margin: 0 0 12px 0;
}

.forgot-password-subtitle {
  font-size: 14px;
  color: #5a6c7d;
  margin: 0;
  line-height: 1.5;
}

.forgot-password-form {
  margin-top: 20px;
}

.forgot-password-field {
  margin-bottom: 15px;
}

.forgot-password-label {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #393a3f;
  margin-bottom: 6px;
}

.forgot-password-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #a8a7a5;
  border-radius: 0;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  background-color: #fff;
  color: #231f20;
}

.forgot-password-input:focus {
  outline: none;
  border-color: #3d70b2;
}

.forgot-password-input::placeholder {
  color: #757575;
}

.forgot-password-input:read-only {
  background-color: #f4f4f4;
  cursor: not-allowed;
  color: #5a5a5a;
}

.forgot-password-input.input-error {
  border-color: #da1e28;
  background-color: #fff1f1;
}

.forgot-password-input.input-error:focus {
  border-color: #da1e28;
  outline: 2px solid rgba(218, 30, 40, 0.2);
}

.field-error {
  color: #da1e28;
  font-size: 12px;
  margin-top: 4px;
  display: block;
  line-height: 1.4;
}

.password-input-wrapper {
  position: relative;
}

.forgot-password-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.forgot-password-btn {
  flex: 1;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  height: 40px;
  line-height: 20px;
}

.forgot-password-btn-primary {
  background-color: #3d70b2;
  color: white;
  transition: background-color 0.15s ease;
}

.forgot-password-btn-primary:hover:not(:disabled) {
  background-color: #2c5a8f;
}

.forgot-password-btn-primary:active:not(:disabled) {
  background-color: #2c5a8f;
}

.forgot-password-btn-primary:disabled {
  background: #e0e0e0;
  color: #a8a8a8;
  cursor: not-allowed;
  box-shadow: none;
}

.forgot-password-btn-secondary {
  background-color: transparent;
  color: #605f5c;
  border: 1px solid #adbfc4;
}

.forgot-password-btn-secondary:hover {
  background-color: #f4f4f4;
}

.forgot-password-info {
  background: linear-gradient(to right, #e3f2fd 0%, #f0f7ff 100%);
  border-left: 3px solid #3d70b2;
  border-radius: 3px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #2c5282;
  line-height: 1.6;
  box-shadow: 0 1px 3px rgba(61, 112, 178, 0.1);
}

.forgot-password-back-link {
  text-align: center;
  margin-top: 20px;
}

.forgot-password-back-link a {
  color: #3d70b2;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
}

.forgot-password-back-link a:hover {
  text-decoration: underline;
}

.forgot-password-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e8ecf1;
}

.forgot-password-step {
  display: flex;
  align-items: center;
  gap: 6px;
}

.forgot-password-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid;
}

.forgot-password-step-circle.active {
  background: linear-gradient(135deg, #4178be 0%, #3d70b2 100%);
  color: white;
  border-color: #3d70b2;
  box-shadow: 0 2px 6px rgba(61, 112, 178, 0.3);
}

.forgot-password-step-circle.completed {
  background: linear-gradient(135deg, #6fdc8c 0%, #5aa700 100%);
  color: white;
  border-color: #5aa700;
  box-shadow: 0 2px 6px rgba(90, 167, 0, 0.3);
}

.forgot-password-step-circle.pending {
  background: #f8f9fa;
  color: #9ca3af;
  border-color: #d1d5db;
}

.forgot-password-step-label {
  font-size: 12px;
  color: #5a6c7d;
  font-weight: 400;
}

.forgot-password-step-arrow {
  color: #d1d5db;
  font-size: 16px;
  margin: 0 4px;
}

@media (max-width: 600px) {
  .forgot-password-container {
    padding: 10px;
  }

  .forgot-password-card {
    padding: 25px 20px;
  }

  .forgot-password-title {
    font-size: 18px;
  }

  .forgot-password-actions {
    flex-direction: column;
  }

  .forgot-password-steps {
    flex-wrap: wrap;
    gap: 6px;
  }

  .forgot-password-step-label {
    display: none;
  }
}

.forgot-password-container .alert {
  margin-bottom: 15px;
  padding: 10px 12px;
  border-radius: 2px;
  font-size: 13px;
  border: 1px solid;
}

.forgot-password-container .alert-success {
  background: #e5f5e5;
  border-color: #5aa700;
  color: #2d5016;
}

.forgot-password-container .alert-error {
  background: #fff0f0;
  border-color: #da1e28;
  color: #5a1a1a;
}

.forgot-password-container .alert pre {
  margin: 0;
  font-family: inherit;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.forgot-password-btn.fp-submitting {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.forgot-password-input:focus-visible,
.forgot-password-btn:focus-visible,
.forgot-password-back-link a:focus-visible {
  outline: 2px solid #3d70b2;
  outline-offset: 2px;
}
